#include <XnVMessage.h>

Public Member Functions | |
| XnVMessage (const XnChar *strType, void *pData) | |
| virtual | ~XnVMessage () |
| void * | GetData () |
| virtual XnVMessage * | operator[] (const XnChar *strType) |
| const XnChar * | GetType () const |
| virtual XnVMessage * | Clone () const =0 |
Protected Attributes | |
| XnChar * | m_strType |
| void * | m_pData |
| XnBool | m_bFreeOnDestruction |
A XnVMessage is a general Message that holds some data. It will be sent between Generators and Listeners, thus passing data along the framework
Definition at line 25 of file XnVMessage.h.
| XnVMessage::XnVMessage | ( | const XnChar * | strType, | |
| void * | pData | |||
| ) |
Constructor. Create a new Message, with a specific type and data
| [in] | strType | The type of this Message |
| [in] | pData | the data of this Message |
| virtual XnVMessage::~XnVMessage | ( | ) | [virtual] |
| virtual XnVMessage* XnVMessage::Clone | ( | ) | const [pure virtual] |
Abstract function. Any Message should know how to clone itself, along with its internal data
Implemented in XnVCCMessage, XnVComplexMessage, XnVDepthMessage, XnVContextMessage, XnVImageMessage, XnVPointMessage, and XnVSessionMessage.
| void* XnVMessage::GetData | ( | ) |
Get the inner data
| const XnChar* XnVMessage::GetType | ( | ) | const |
Get the type of this message
| virtual XnVMessage* XnVMessage::operator[] | ( | const XnChar * | strType | ) | [virtual] |
Get the Message of this type that in there. Will generally return itself if the types match
| [in] | strType | The type of the requested Message |
Reimplemented in XnVComplexMessage.
XnBool XnVMessage::m_bFreeOnDestruction [protected] |
Definition at line 70 of file XnVMessage.h.
void* XnVMessage::m_pData [protected] |
Definition at line 68 of file XnVMessage.h.
XnChar* XnVMessage::m_strType [protected] |
Definition at line 67 of file XnVMessage.h.
1.7.1