Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

simth::ControlInterfaceVoidD< D > Class Template Reference

Control interface to wrap a function with an empty argument list. More...

#include <controlinterface.h>

Inheritance diagram for simth::ControlInterfaceVoidD< D >:

simth::ControlInterfaceVoid simth::ControlInterface List of all members.

Public Types

typedef void(D::* MEM_FUNCTION_VOID )()

Public Member Functions

 ControlInterfaceVoidD (D *dev, MEM_FUNCTION_VOID function)
virtual void callFunc ()

Detailed Description

template<class D>
class simth::ControlInterfaceVoidD< D >

Control interface to wrap a function with an empty argument list.

The template argument D is used to specifiy the device that member function is wrapped by this control interface.


Member Typedef Documentation

template<class D>
typedef void(D::* simth::ControlInterfaceVoidD< D >::MEM_FUNCTION_VOID)()
 

Function pointer to a void member function


Constructor & Destructor Documentation

template<class D>
simth::ControlInterfaceVoidD< D >::ControlInterfaceVoidD D *  dev,
MEM_FUNCTION_VOID  function
 

The class constructor requires as arguments a pointer to the device one of its member function should be wrapped and a function pointer to that member function.


Member Function Documentation

template<class D>
virtual void simth::ControlInterfaceVoidD< D >::callFunc  )  [inline, virtual]
 

This function should invoke the function that is wrapped by this control interface.

Implements simth::ControlInterfaceVoid.


Generated on Mon Apr 24 21:19:19 2006 for simthetic by  doxygen 1.4.1