CLAM-Development
1.1
|
Subclass of TypedInControl that provides the typedincontrol with a callback method The method must be defined inside the parent Processing
class.
More...
#include <TypedInControl.hxx>
Public Types | |
typedef int(ProcObj::* | TPtrMemberFunc )(TypedControlData) |
typedef int(ProcObj::* | TPtrMemberFuncId )(int, TypedControlData) |
Public Member Functions | |
void | DoControl (const TypedControlData &val) |
bool | ExistMemberFunc () |
void | SetMemberFunc (TPtrMemberFunc f) |
int | GetId (void) const |
CascadingTypedInControl (const std::string &name, ProcObj *processing, TPtrMemberFunc f=0) | |
Constructor of the CascadingTypedInControl with a member-service-function associated. | |
CascadingTypedInControl (int id, const std::string &name, ProcObj *processing, TPtrMemberFuncId f) | |
~CascadingTypedInControl () |
Subclass of TypedInControl that provides the typedincontrol with a callback method The method must be defined inside the parent Processing
class.
See the CascadingTypedInControl
constructors for learn how to provide the callback to the CascadingTypedInControl
Definition at line 101 of file TypedInControl.hxx.
typedef int(ProcObj::* CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::TPtrMemberFunc)(TypedControlData) |
Definition at line 104 of file TypedInControl.hxx.
typedef int(ProcObj::* CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::TPtrMemberFuncId)(int, TypedControlData) |
Definition at line 105 of file TypedInControl.hxx.
CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::CascadingTypedInControl | ( | const std::string & | name, |
ProcObj * | processing, | ||
TPtrMemberFunc | f = 0 |
||
) | [inline] |
Constructor of the CascadingTypedInControl with a member-service-function associated.
f | The member function that will act as a service funtion each time the DoControl method is invoqued. The processing object that owns the control object. |
Definition at line 129 of file TypedInControl.hxx.
CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::CascadingTypedInControl | ( | int | id, |
const std::string & | name, | ||
ProcObj * | processing, | ||
TPtrMemberFuncId | f | ||
) | [inline] |
Definition at line 137 of file TypedInControl.hxx.
CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::~CascadingTypedInControl | ( | ) | [inline] |
Definition at line 146 of file TypedInControl.hxx.
void CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::DoControl | ( | const TypedControlData & | val | ) |
Reimplemented from CLAM::TypedInControl< TypedControlData >.
Definition at line 154 of file TypedInControl.hxx.
References CLAM::TypedInControl< TypedControlData >::DoControl().
bool CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::ExistMemberFunc | ( | ) | [inline] |
Definition at line 117 of file TypedInControl.hxx.
int CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::GetId | ( | void | ) | const [inline] |
Definition at line 120 of file TypedInControl.hxx.
void CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::SetMemberFunc | ( | TPtrMemberFunc | f | ) | [inline] |
Definition at line 118 of file TypedInControl.hxx.