vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vrecko::InputPin< _MessageType > Class Template Reference

#include <IOPins.h>

Inheritance diagram for vrecko::InputPin< _MessageType >:
vrecko::InputPinBase vrecko::IOPinBase

Public Types

typedef void(BaseClass::* PROCESSING_METHOD )(_MessageType *message)
 

Public Member Functions

 InputPin (BaseClass *_owner, const char *_inputName, PROCESSING_METHOD _methodForProcessing)
 
 ~InputPin ()
 
virtual VreckoMessagecreateCompatibleMessage ()
 Creates an instance of a message type that is recognized by this input/output. More...
 
virtual void processMessage (VreckoMessage *message)
 Method that is called when the actual message is received. More...
 

Protected Member Functions

void coreInit (BaseClass *_owner, const char *_inputName, PROCESSING_METHOD _methodForProcessing)
 

Protected Attributes

PROCESSING_METHOD methodForProcessing
 

Member Typedef Documentation

template<class _MessageType >
typedef void(BaseClass::* vrecko::InputPin< _MessageType >::PROCESSING_METHOD)(_MessageType *message)

Constructor & Destructor Documentation

template<class _MessageType >
vrecko::InputPin< _MessageType >::InputPin ( BaseClass _owner,
const char *  _inputName,
PROCESSING_METHOD  _methodForProcessing 
)
inline
template<class _MessageType >
vrecko::InputPin< _MessageType >::~InputPin ( )
inline

Member Function Documentation

template<class _MessageType >
void vrecko::InputPin< _MessageType >::coreInit ( BaseClass _owner,
const char *  _inputName,
PROCESSING_METHOD  _methodForProcessing 
)
inlineprotected
template<class _MessageType >
virtual VreckoMessage* vrecko::InputPin< _MessageType >::createCompatibleMessage ( )
inlinevirtual

Creates an instance of a message type that is recognized by this input/output.

If you will create a new descendant class of type XY, this method will generally be:

virtual VreckoMessage* createCompatibleMessage() { return new XY; };

Returns
(VreckoMessage*)

Implements vrecko::IOPinBase.

template<class _MessageType >
virtual void vrecko::InputPin< _MessageType >::processMessage ( VreckoMessage message)
inlinevirtual

Method that is called when the actual message is received.

Parameters
message(VreckoMessage *)
Returns
(void)

Implements vrecko::InputPinBase.

Member Data Documentation

template<class _MessageType >
PROCESSING_METHOD vrecko::InputPin< _MessageType >::methodForProcessing
protected

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