#include <XnVCCMessage.h>
Public Member Functions | |
XnVCCMessage (const XnChar *strType, XnBool bValue) | |
~XnVCCMessage () | |
XnVMessage * | Clone () const |
XnBool | GetValue () const |
Static Public Member Functions | |
static XnStatus | GetValue (XnVMessage *pMessage, const XnChar *strType, XnBool &bValue) |
Protected Attributes | |
XnBool | m_bValue |
A generic Message holding a single boolean value, basically for command and control (CC)
Definition at line 17 of file XnVCCMessage.h.
XnVCCMessage::XnVCCMessage | ( | const XnChar * | strType, | |
XnBool | bValue | |||
) |
Constructor. Create a CC Message with a boolean and a specific type
[in] | strType | The type of the C&C Message |
[in] | bValue | The internal value |
XnVCCMessage::~XnVCCMessage | ( | ) |
XnVMessage* XnVCCMessage::Clone | ( | ) | const [virtual] |
Create a new Message of the same type (CC Message), with a clone of the same data (the same boolean value)
Implements XnVMessage.
Reimplemented in XnVSessionMessage.
static XnStatus XnVCCMessage::GetValue | ( | XnVMessage * | pMessage, | |
const XnChar * | strType, | |||
XnBool & | bValue | |||
) | [static] |
XnBool XnVCCMessage::GetValue | ( | ) | const |
Get the internal value
XnBool XnVCCMessage::m_bValue [protected] |
Definition at line 46 of file XnVCCMessage.h.