Public Member Functions | Public Attributes
XnModuleGeneratorInterface Struct Reference

#include <XnModuleInterface.h>

List of all members.

Public Member Functions

 void (XN_CALLBACK_TYPE *StopGenerating)(XnModuleNodeHandle hGenerator)
 void (XN_CALLBACK_TYPE *UnregisterFromGenerationRunningChange)(XnModuleNodeHandle hGenerator
 void (XN_CALLBACK_TYPE *UnregisterFromNewDataAvailable)(XnModuleNodeHandle hGenerator
 XnBool (XN_CALLBACK_TYPE *IsGenerating)(XnModuleNodeHandle hGenerator)
 XnBool (XN_CALLBACK_TYPE *IsNewDataAvailable)(XnModuleNodeHandle hGenerator
 XnStatus (XN_CALLBACK_TYPE *StartGenerating)(XnModuleNodeHandle hGenerator)
 XnStatus (XN_CALLBACK_TYPE *RegisterToGenerationRunningChange)(XnModuleNodeHandle hGenerator
 XnStatus (XN_CALLBACK_TYPE *RegisterToNewDataAvailable)(XnModuleNodeHandle hGenerator
 XnStatus (XN_CALLBACK_TYPE *UpdateData)(XnModuleNodeHandle hGenerator)
 XnUInt32 (XN_CALLBACK_TYPE *GetDataSize)(XnModuleNodeHandle hGenerator)
 XnUInt32 (XN_CALLBACK_TYPE *GetFrameID)(XnModuleNodeHandle hGenerator)
 XnUInt64 (XN_CALLBACK_TYPE *GetTimestamp)(XnModuleNodeHandle hGenerator)

Public Attributes

XnModuleStateChangedHandler handler
XnCallbackHandle hCallback
XnModuleAlternativeViewPointInterfacepAlternativeViewPointInterface
XnModuleStateChangedHandler voidpCookie
XnModuleFrameSyncInterfacepFrameSyncInterface
XnModuleStateChangedHandler
void XnCallbackHandle
phCallback
XnModuleMirrorInterfacepMirrorInterface
XnUInt64pnTimestamp
XnModuleProductionNodeInterfacepProductionNodeInterface
XnModuleSeekingInterfacepSeekingInterface

Detailed Description

The interface of a generator.

Definition at line 458 of file XnModuleInterface.h.


Member Function Documentation

Stops generation of the output.

Parameters:
hGenerator[in] A handle to the instance to stop generating.
XnModuleGeneratorInterface::void ( XN_CALLBACK_TYPE UnregisterFromGenerationRunningChange)

Unregisters a callback function which was registered using RegisterToGenerationRunningChange().

Parameters:
hGenerator[in] A handle to the instance.
hCallback[in] The handle to the callback returned from RegisterToGenerationRunningChange().
XnModuleGeneratorInterface::void ( XN_CALLBACK_TYPE UnregisterFromNewDataAvailable)

Unregisters a callback function which was registered using RegisterToNewDataAvailable().

Parameters:
hGenerator[in] A handle to the instance.
hCallback[in] The handle to the callback returned from RegisterToNewDataAvailable().

Checks if the generator is currently generating.

Parameters:
hGenerator[in] A handle to the instance.

Checks whether this node has new data (and so a call to xn::Generator::WaitAndUpdateData() will not block).

Parameters:
hGenerator[in] A handle to the instance to be updated.
pnTimestamp[out] If new data is available, the timestamp of that data.

Starts generation of the output.

Parameters:
hGenerator[in] A handle to the instance to start generating.
XnModuleGeneratorInterface::XnStatus ( XN_CALLBACK_TYPE RegisterToGenerationRunningChange)

Registers a callback function to be called when generation starts or stops.

Parameters:
hGenerator[in] A handle to the instance.
handler[in] A pointer to a function that will be called when generation starts/stops.
pCookie[in] A user cookie that will be passed to the callback function.
phCallback[out] Optional. Will be filled with a handle to be passed to UnregisterFromGenerationRunningChange().
XnModuleGeneratorInterface::XnStatus ( XN_CALLBACK_TYPE RegisterToNewDataAvailable)

Registers a callback function to be called when new data is available.

Parameters:
handler[in] A pointer to a function that will be called when new data is available.
pCookie[in] A user cookie that will be passed to the callback function.
phCallback[out] Optional. Will be filled with a handle to be passed to UnregisterFromNewDataAvailable().

Updates the data to the latest available one. This function will only be called AFTER the node notified OpenNI it has new data available.

Parameters:
hGenerator[in] A handle to the instance to be updated.

Gets the size of current data, in bytes.

Parameters:
hGenerator[in] A handle to the instance.

Gets the frame ID of current data.

Parameters:
hGenerator[in] A handle to the instance.

Gets the timestamp of current data, in microseconds.

Parameters:
hGenerator[in] A handle to the instance.

Member Data Documentation

Definition at line 498 of file XnModuleInterface.h.

Definition at line 508 of file XnModuleInterface.h.

Definition at line 570 of file XnModuleInterface.h.

Definition at line 498 of file XnModuleInterface.h.

Definition at line 572 of file XnModuleInterface.h.

Definition at line 498 of file XnModuleInterface.h.

Definition at line 569 of file XnModuleInterface.h.

Definition at line 537 of file XnModuleInterface.h.

Contains production node interface.

Definition at line 463 of file XnModuleInterface.h.

Definition at line 571 of file XnModuleInterface.h.


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


nao_openni
Author(s): Bener SUAY
autogenerated on Mon Jan 6 2014 11:27:52