GDCM
2.2.6
|
Command superclass for callback/observer methods. More...
#include <gdcmCommand.h>
Public Member Functions | |
virtual void | Execute (Subject *caller, const Event &event)=0 |
Abstract method that defines the action to be taken by the command. More... | |
virtual void | Execute (const Subject *caller, const Event &event)=0 |
![]() | |
Subject () | |
~Subject () | |
unsigned long | AddObserver (const Event &event, Command *) |
unsigned long | AddObserver (const Event &event, Command *) const |
Command * | GetCommand (unsigned long tag) |
bool | HasObserver (const Event &event) const |
void | InvokeEvent (const Event &) |
void | InvokeEvent (const Event &) const |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
![]() | |
Object () | |
Object (const Object &) | |
Special requirement for copy/cstor, assigment operator. More... | |
virtual | ~Object () |
void | operator= (const Object &) |
virtual void | Print (std::ostream &) const |
Protected Member Functions | |
Command () | |
~Command () | |
![]() | |
void | Register () |
void | UnRegister () |
|
protected |
|
protected |
Abstract method that defines the action to be taken by the command.
Implemented in gdcm::SimpleMemberCommand< T >, and gdcm::MemberCommand< T >.
Abstract method that defines the action to be taken by the command. This variant is expected to be used when requests comes from a const Object
Implemented in gdcm::SimpleMemberCommand< T >, and gdcm::MemberCommand< T >.