Go4CommandsBase
Class TGo4CommandInvoker
- class TGo4CommandInvoker
- derived from TObject
Class that knows Command Object; When Client gets the Command it is passed to the Invoker who
sets the CommandClient as receiver and calls its Execute method.
Decouples CommandClient and Command object circular dependencies
fxArray
private static TObjArray* fxArray
fxCommand
private TGo4Command* fxCommand
- link aggregation
fxInstance
private static TGo4CommandInvoker* fxInstance
fxMutex
private static TMutex* fxMutex
TGo4CommandInvoker
protected TGo4CommandInvoker()
~TGo4CommandInvoker
public virtual synchronized ~TGo4CommandInvoker()
Instance
public static TGo4CommandInvoker* Instance()
Invoke
public virtual void Invoke(TGo4Command* com)
Invoke
public virtual void Invoke()
Lookup
protected static TGo4CommandReceiver* Lookup(const char * name)
Register
public static void Register(const char * name, TGo4CommandReceiver* p)
to Class TGo4Command- Type aggregation
to Class TGo4CommandInvoker
to Class TObjArray
to Class TMutex
30-06-2005