SaveAsImageEvent Class Reference

#include <SaveAsImageEvent.h>

Inheritance diagram for SaveAsImageEvent:

Inheritance graph
QCustomEvent
[legend]
Collaboration diagram for SaveAsImageEvent:

Collaboration graph
QCustomEvent
[legend]
List of all members.

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_Kunz@slac.stanford.edu>

Definition at line 42 of file SaveAsImageEvent.h.

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 SaveAsImageEvent &)
 The copy constructor.
 SaveAsImageEvent (const PlotterBase *plotter, const std::string &filename)
 The constructor taking the plotter object and image filename as arguments.
 setData (void *data)
virtual ~SaveAsImageEvent ()
 The required virtual destructor.

Private Attributes

std::string m_filename
 The filename for the image.


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  ) 

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