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

#include <IOPins.h>

Inheritance diagram for vrecko::RequestOutputPin< _MessageType, _ReturningMessageType >:
vrecko::RequestOutputPinBase vrecko::IORequestPinBase vrecko::IOPinBase

Public Member Functions

 RequestOutputPin (BaseClass *_owner, const char *_requestOutputName)
 
 ~RequestOutputPin ()
 
virtual VreckoMessagecreateCompatibleMessage ()
 Creates an instance of a message type that is recognized by this input/output. More...
 
virtual VreckoMessagecreateReturningCompatibleMessage ()
 Same as IOPinBase::createCompatibleMessage() but for the returning message type. More...
 
osg::ref_ptr
< _ReturningMessageType > 
request (_MessageType *messageToBeSent)
 

Protected Attributes

std::string senderStringWithOutputName
 

Constructor & Destructor Documentation

template<class _MessageType , class _ReturningMessageType >
vrecko::RequestOutputPin< _MessageType, _ReturningMessageType >::RequestOutputPin ( BaseClass _owner,
const char *  _requestOutputName 
)
inline
template<class _MessageType , class _ReturningMessageType >
vrecko::RequestOutputPin< _MessageType, _ReturningMessageType >::~RequestOutputPin ( )
inline

Member Function Documentation

template<class _MessageType , class _ReturningMessageType >
virtual VreckoMessage* vrecko::RequestOutputPin< _MessageType, _ReturningMessageType >::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 , class _ReturningMessageType >
virtual VreckoMessage* vrecko::RequestOutputPin< _MessageType, _ReturningMessageType >::createReturningCompatibleMessage ( )
inlinevirtual

Same as IOPinBase::createCompatibleMessage() but for the returning message type.

Returns
(VreckoMessage*)

Implements vrecko::IORequestPinBase.

template<class _MessageType , class _ReturningMessageType >
osg::ref_ptr<_ReturningMessageType> vrecko::RequestOutputPin< _MessageType, _ReturningMessageType >::request ( _MessageType *  messageToBeSent)
inline

Member Data Documentation

template<class _MessageType , class _ReturningMessageType >
std::string vrecko::RequestOutputPin< _MessageType, _ReturningMessageType >::senderStringWithOutputName
protected

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