GDCM  2.4.5
Public Member Functions | List of all members
gdcm::Event Class Referenceabstract

superclass for callback/observer methods More...

#include <gdcmEvent.h>

Inheritance diagram for gdcm::Event:
Inheritance graph
[legend]

Public Member Functions

 Event ()
 
 Event (const Event &)
 
virtual ~Event ()
 
virtual bool CheckEvent (const Event *) const =0
 
virtual const char * GetEventName (void) const =0
 
virtual EventMakeObject () const =0
 
virtual void Print (std::ostream &os) const
 

Detailed Description

superclass for callback/observer methods

See also
Command Subject
Examples:
SimpleScanner.cxx.

Constructor & Destructor Documentation

gdcm::Event::Event ( )
gdcm::Event::Event ( const Event )
virtual gdcm::Event::~Event ( )
virtual

Member Function Documentation

virtual bool gdcm::Event::CheckEvent ( const Event ) const
pure virtual

Check if given event matches or derives from this event.

virtual const char* gdcm::Event::GetEventName ( void  ) const
pure virtual

Return the StringName associated with the event.

Implemented in gdcm::FileNameEvent, gdcm::ProgressEvent, gdcm::DataSetEvent, gdcm::AnonymizeEvent, and gdcm::DataEvent.

virtual Event* gdcm::Event::MakeObject ( ) const
pure virtual

Create an Event of this type This method work as a Factory for creating events of each particular type.

Implemented in gdcm::FileNameEvent, gdcm::ProgressEvent, gdcm::DataSetEvent, gdcm::AnonymizeEvent, and gdcm::DataEvent.

virtual void gdcm::Event::Print ( std::ostream &  os) const
virtual

Print Event information. This method can be overridden by specific Event subtypes. The default is to print out the type of the event.

Referenced by gdcm::operator<<().


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

Generated on Fri Sep 25 2015 17:58:30 for GDCM by doxygen 1.8.9.1
SourceForge.net Logo