OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Automation abstract base class for command objects. More...
#include <ocf/autodefs.h>
Public Types | |
typedef LPCTSTR(* | TErrorMsgHook) (long errCode) |
typedef bool(* | TCommandHook) (TAutoCommand &cmdObj) |
Public Member Functions | |
TAutoCommand (int attr) | |
virtual | ~TAutoCommand () |
virtual TAutoCommand * | Undo () |
virtual int | Record (TAutoStack &q) |
virtual TAutoCommand & | Invoke () |
virtual bool | Validate () |
virtual void | Execute () |
virtual long | Report () |
virtual void | Return (TAutoVal &v) |
virtual void | Transfer (TAutoTransfer &x) |
void | Fail (TXAuto::TError) |
void | SetFlag (int mask) |
void | ClearFlag (int mask) |
bool | TestFlag (int mask) |
bool | IsPropSet () |
TAutoSymbol * | GetSymbol () |
void | SetSymbol (TAutoSymbol *sym) |
Static Public Member Functions | |
static TErrorMsgHook | SetErrorMsgHook (TErrorMsgHook callback) |
static TCommandHook | SetCommandHook (TCommandHook callback) |
static LPCTSTR | LookupError (long errCode) |
Protected Attributes | |
TAutoSymbol * | Symbol |
int | Attr |
Automation abstract base class for command objects.
Definition at line 846 of file autodefs.h.
typedef bool(* ocf::TAutoCommand::TCommandHook) (TAutoCommand &cmdObj) |
Definition at line 866 of file autodefs.h.
Definition at line 863 of file autodefs.h.
|
inline |
Definition at line 1820 of file autodefs.h.
|
inlinevirtual |
Definition at line 850 of file autodefs.h.
Definition at line 1822 of file autodefs.h.
References Attr.
|
inlinevirtual |
Definition at line 1938 of file autodefs.h.
|
inline |
Definition at line 1927 of file autodefs.h.
|
inline |
Definition at line 1825 of file autodefs.h.
References Symbol.
|
inlinevirtual |
Definition at line 1931 of file autodefs.h.
References Execute().
|
inline |
Definition at line 1824 of file autodefs.h.
References ocf::asSet, and TestFlag().
Definition at line 1827 of file autodefs.h.
|
inlinevirtual |
Definition at line 1958 of file autodefs.h.
|
inlinevirtual |
Definition at line 1942 of file autodefs.h.
Definition at line 1947 of file autodefs.h.
|
inlinestatic |
Definition at line 1968 of file autodefs.h.
|
inlinestatic |
Definition at line 1961 of file autodefs.h.
Definition at line 1821 of file autodefs.h.
References Attr.
|
inline |
Definition at line 1826 of file autodefs.h.
References Symbol.
Definition at line 1823 of file autodefs.h.
References Attr, and owl::ToBool().
|
inlinevirtual |
Definition at line 1952 of file autodefs.h.
|
inlinevirtual |
Definition at line 1956 of file autodefs.h.
|
inlinevirtual |
Definition at line 1929 of file autodefs.h.
|
protected |
Definition at line 881 of file autodefs.h.
|
protected |
Definition at line 880 of file autodefs.h.