GDCM 3.0.24
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:
[legend]

Public Member Functions

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

Detailed Description

superclass for callback/observer methods

See also
Command Subject
Examples
BasicAnonymizer.cs, Cleaner.cs, ClinicalTrialIdentificationWorkflow.cs, ScanDirectory.cs, and SimpleScanner.cxx.

Constructor & Destructor Documentation

◆ Event() [1/2]

gdcm::Event::Event ( )

◆ ~Event()

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

◆ Event() [2/2]

gdcm::Event::Event ( const Event )

Member Function Documentation

◆ CheckEvent()

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

Check if given event matches or derives from this event.

◆ GetEventName()

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

◆ MakeObject()

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::DataEvent, gdcm::FileNameEvent, gdcm::ProgressEvent, gdcm::DataSetEvent, and gdcm::AnonymizeEvent.

◆ operator=()

void gdcm::Event::operator= ( const Event )
delete

◆ Print()

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: