NITE 1.5.1 - API Reference

XnVSessionMessage Class Reference

#include <XnVSessionMessage.h>

Inheritance diagram for XnVSessionMessage:
Collaboration diagram for XnVSessionMessage:

List of all members.

Public Member Functions

 XnVSessionMessage (XnBool bStart)
 XnVSessionMessage (XnBool bStart, const XnPoint3D &ptFocus)
 ~XnVSessionMessage ()
XnVMessageClone () const
const XnPoint3D & GetFocusPoint ()

Static Public Attributes

static const XnChar * ms_strType

Protected Attributes

XnPoint3D m_ptFocus

Detailed Description

A XnVSessionMessage is a Message holding a boolean value, indicating session start/stop

Definition at line 17 of file XnVSessionMessage.h.

Constructor & Destructor Documentation

XnVSessionMessage::XnVSessionMessage ( XnBool  bStart)

Constructor. Create a Session Message with a boolean. Focus point is (0,0,0)

[in]bStartIndication of session start/stop
XnVSessionMessage::XnVSessionMessage ( XnBool  bStart,
const XnPoint3D &  ptFocus 

Constructor. Create a Session Message with a boolean, and a focus point.

[in]bStartIndication of session start/stop
[in]ptFocusThe focus point
XnVSessionMessage::~XnVSessionMessage ( )

Member Function Documentation

XnVMessage* XnVSessionMessage::Clone ( ) const [virtual]

Create a new Message of the same type (CC Message), with a clone of the same data (the same boolean value)

The new message

Reimplemented from XnVCCMessage.

const XnPoint3D& XnVSessionMessage::GetFocusPoint ( )

Member Data Documentation

XnPoint3D XnVSessionMessage::m_ptFocus [protected]

Definition at line 45 of file XnVSessionMessage.h.

const XnChar* XnVSessionMessage::ms_strType [static]

The default type for Session Messages - "Session"

Definition at line 41 of file XnVSessionMessage.h.

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