superclass for callback/observer methods More...
#include <gdcmEvent.h>
Public Member Functions | |
Event () | |
Event (const Event &) | |
virtual | ~Event () |
virtual bool | CheckEvent (const Event *) const =0 |
virtual const char * | GetEventName (void) const =0 |
virtual Event * | MakeObject () const =0 |
virtual void | Print (std::ostream &os) const |
superclass for callback/observer methods
gdcm::Event::Event | ( | ) |
gdcm::Event::Event | ( | const Event & | ) |
virtual gdcm::Event::~Event | ( | ) | [virtual] |
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::ProgressEvent, and gdcm::AnonymizeEvent.
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::ProgressEvent, and gdcm::AnonymizeEvent.
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<<().