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

#include <IOPins.h>

Inheritance diagram for vrecko::OutputPin< _MessageType >:
vrecko::OutputPinBase vrecko::IOPinBase

Public Member Functions

 OutputPin (BaseClass *_owner, const char *_outputName)
 
 ~OutputPin ()
 
virtual VreckoMessagecreateCompatibleMessage ()
 Creates an instance of a message type that is recognized by this input/output. More...
 
bool send (_MessageType *messageToBeSent, EventType eventType=EXPRESS_EVENT)
 

Protected Attributes

std::string senderStringWithOutputName
 

Constructor & Destructor Documentation

template<class _MessageType>
vrecko::OutputPin< _MessageType >::OutputPin ( BaseClass _owner,
const char *  _outputName 
)
inline
template<class _MessageType>
vrecko::OutputPin< _MessageType >::~OutputPin ( )
inline

Member Function Documentation

template<class _MessageType>
virtual VreckoMessage* vrecko::OutputPin< _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>
bool vrecko::OutputPin< _MessageType >::send ( _MessageType *  messageToBeSent,
EventType  eventType = EXPRESS_EVENT 
)
inline

Member Data Documentation

template<class _MessageType>
std::string vrecko::OutputPin< _MessageType >::senderStringWithOutputName
protected

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