Public Member Functions | Static Public Attributes | Protected Attributes

XnVSessionMessage Class Reference

#include <XnVSessionMessage.h>

Inheritance diagram for XnVSessionMessage:
Inheritance graph
[legend]
Collaboration diagram for XnVSessionMessage:
Collaboration graph
[legend]

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)

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

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

Parameters:
[in] bStart Indication of session start/stop
[in] ptFocus The 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)

Returns:
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: