Public Member Functions | Private Attributes | List of all members
SaveAsImageEvent Class Reference

A derived class of QCustomEvent to handle saving a PlotterBase object as image file events. More...

#include <SaveAsImageEvent.h>

Inheritance diagram for SaveAsImageEvent:
Inheritance graph
[legend]
Collaboration diagram for SaveAsImageEvent:
Collaboration graph
[legend]

Public Member Functions

 data () const
const std::string & filename () const
 Returns the filename for the image.
PlotterBaseplotter () const
 Returns the PlotterBase object that created the update event.
 SaveAsImageEvent (const PlotterBase *plotter, const std::string &filename)
 The constructor taking the plotter object and image filename as arguments.
 SaveAsImageEvent (const SaveAsImageEvent &)
 The copy constructor.
 setData (void *data)
virtual ~SaveAsImageEvent ()
 The required virtual destructor.

Private Attributes

std::string m_filename
 The filename for the image.

Detailed Description

A derived class of QCustomEvent to handle saving a PlotterBase object as image file events.

A derived class of QCustomEvent to handle saving a PlotterBase object as image file.

Todo:
This class can go away.
Author
Paul F. Kunz Paul_.nosp@m.Kunz.nosp@m.@slac.nosp@m..sta.nosp@m.nford.nosp@m..edu

Definition at line 42 of file SaveAsImageEvent.h.

Constructor & Destructor Documentation

SaveAsImageEvent ( const PlotterBase plotter,
const std::string &  filename 
)

The constructor taking the plotter object and image filename as arguments.

Definition at line 24 of file SaveAsImageEvent.cxx.

SaveAsImageEvent ( const SaveAsImageEvent event)

The copy constructor.

Definition at line 32 of file SaveAsImageEvent.cxx.

~SaveAsImageEvent ( )
virtual

The required virtual destructor.

Definition at line 38 of file SaveAsImageEvent.cxx.

Member Function Documentation

const std::string & filename ( ) const

Returns the filename for the image.

Definition at line 53 of file SaveAsImageEvent.cxx.

References SaveAsImageEvent::m_filename.

PlotterBase * plotter ( ) const

Returns the PlotterBase object that created the update event.

Definition at line 44 of file SaveAsImageEvent.cxx.

References QCustomEvent::data().

Member Data Documentation

std::string m_filename
private

The filename for the image.

Definition at line 49 of file SaveAsImageEvent.h.

Referenced by SaveAsImageEvent::filename().


The documentation for this class was generated from the following files:

Generated for HippoDraw Class Library by doxygen