CLAM::CascadingTypedInControl< TypedControlData, ProcObj > Class Template Reference

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>

List of all members.

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 ()


Detailed Description

template<class TypedControlData, class ProcObj>
class CLAM::CascadingTypedInControl< TypedControlData, ProcObj >

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.


Member Typedef Documentation

template<class TypedControlData , class ProcObj >
typedef int(ProcObj::* CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::TPtrMemberFunc)(TypedControlData)

Definition at line 104 of file TypedInControl.hxx.

template<class TypedControlData , class ProcObj >
typedef int(ProcObj::* CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::TPtrMemberFuncId)(int, TypedControlData)

Definition at line 105 of file TypedInControl.hxx.


Constructor & Destructor Documentation

template<class TypedControlData , class ProcObj >
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.

Parameters:
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.

template<class TypedControlData , class ProcObj >
CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::CascadingTypedInControl ( int  id,
const std::string &  name,
ProcObj *  processing,
TPtrMemberFuncId  f 
) [inline]

Definition at line 137 of file TypedInControl.hxx.

template<class TypedControlData , class ProcObj >
CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::~CascadingTypedInControl (  )  [inline]

Definition at line 146 of file TypedInControl.hxx.


Member Function Documentation

template<class TypedControlData , class ProcObj >
void CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::DoControl ( const TypedControlData &  val  )  [inline]

Reimplemented from CLAM::TypedInControl< TypedControlData >.

Definition at line 154 of file TypedInControl.hxx.

template<class TypedControlData , class ProcObj >
bool CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::ExistMemberFunc (  )  [inline]

Definition at line 117 of file TypedInControl.hxx.

template<class TypedControlData , class ProcObj >
int CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::GetId ( void   )  const [inline]

Definition at line 120 of file TypedInControl.hxx.

template<class TypedControlData , class ProcObj >
void CLAM::CascadingTypedInControl< TypedControlData, ProcObj >::SetMemberFunc ( TPtrMemberFunc  f  )  [inline]

Definition at line 118 of file TypedInControl.hxx.


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

Generated on Tue Feb 22 09:53:28 2011 for CLAM-Development by  doxygen 1.5.9