#include <XnVMessageMux.h>
List of all members.
Detailed Description
A XnVMessageMux is a Filter which created Complex Messages from multiple other Messages
Definition at line 20 of file XnVMessageMux.h.
Member Enumeration Documentation
The Message Mux can run in several different modes
- Enumerator:
| XNV_MUX_MODE_ANY |
Send a Message anytime any Message is received
|
| XNV_MUX_MODE_ALL |
Send a Message only when all Messages are received
|
| XNV_MUX_MODE_SPECIFIC |
Send a Message when a specific type is received
|
| XNV_MUX_MODE_LAST |
Illegal
|
Definition at line 27 of file XnVMessageMux.h.
Constructor & Destructor Documentation
| XnVMessageMux::XnVMessageMux |
( |
const XnChar * |
strName = "XnVMessageMux" |
) |
|
Constructor. Default mode is XNV_MUX_MODE_ANY
- Parameters:
-
| [in] | strName | Name of the control, for log purposes. |
| XnVMessageMux::~XnVMessageMux |
( |
|
) |
|
Member Function Documentation
| void XnVMessageMux::AddType |
( |
const XnChar * |
strType |
) |
|
Expect another type
- Parameters:
-
| [in] | strType | The type to be expected |
| void XnVMessageMux::HandleSingleMessage |
( |
XnVMessage * |
pMessage |
) |
[protected] |
| void XnVMessageMux::SetMode |
( |
const XnChar * |
strType |
) |
|
Change the mode to a specific type
- Parameters:
-
| [in] | strType | The type to use |
Change the mode
- Parameters:
-
| void XnVMessageMux::Update |
( |
XnVMessage * |
pMessage |
) |
|
Handle a Message. Add it to a Complex Message, and decide whether or not to send that Message
- Parameters:
-
| [in] | pMessage | The new Message |
Member Data Documentation
The documentation for this class was generated from the following file: