Logo Search packages:      
Sourcecode: gdcm version File versions  Download package

gdcm::SimpleMemberCommand< T > Class Template Reference

#include <gdcmCommand.h>

Inheritance diagram for gdcm::SimpleMemberCommand< T >:

gdcm::Command gdcm::Subject gdcm::Object

List of all members.

Detailed Description

template<typename T>
class gdcm::SimpleMemberCommand< T >

Command subclass that calls a pointer to a member function.

SimpleMemberCommand calls a pointer to a member function with no arguments.

Definition at line 132 of file gdcmCommand.h.

Public Types

typedef SimpleMemberCommand Self
typedef void(T::* TMemberFunctionPointer )()

Public Member Functions

unsigned long AddObserver (const Event &event, Command *) const
unsigned long AddObserver (const Event &event, Command *)
virtual void Execute (const Subject *, const Event &)
virtual void Execute (Subject *, const Event &)
CommandGetCommand (unsigned long tag)
bool HasObserver (const Event &event) const
void InvokeEvent (const Event &) const
void InvokeEvent (const Event &)
virtual void Print (std::ostream &) const
void RemoveAllObservers ()
void RemoveObserver (unsigned long tag)
void SetCallbackFunction (T *object, TMemberFunctionPointer memberFunction)

Static Public Member Functions

static SmartPointer
< SimpleMemberCommand
New ()

Protected Member Functions

void Register ()
void UnRegister ()

Protected Attributes

TMemberFunctionPointer m_MemberFunction
T * m_This

Private Member Functions

void operator= (const Self &)
 SimpleMemberCommand (const Self &)

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

Generated by  Doxygen 1.6.0   Back to index