GDCM
2.2.3
|
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. | |
virtual void | Execute (const Subject *caller, const Event &event)=0 |
Protected Member Functions | |
Command () | |
~Command () |
gdcm::Command::Command | ( | ) | [protected] |
gdcm::Command::~Command | ( | ) | [protected] |
virtual void gdcm::Command::Execute | ( | Subject * | caller, |
const Event & | event | ||
) | [pure virtual] |
Abstract method that defines the action to be taken by the command.
Implemented in gdcm::SimpleMemberCommand< T >, and gdcm::MemberCommand< T >.
virtual void gdcm::Command::Execute | ( | const Subject * | caller, |
const Event & | event | ||
) | [pure virtual] |
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 >.