LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::LimboComRing Class Reference

Simple helper class for the limbo state. More...

#include <comring.h>

+ Inheritance diagram for lwpp::LimboComRing:
+ Collaboration diagram for lwpp::LimboComRing:

List of all members.

Public Member Functions

 LimboComRing ()
 ~LimboComRing ()

Private Member Functions

bool _acquireGlobal ()
virtual bool available () const
 Check if the global is available.
virtual LWComRing * getGlobal ()
 Get the pointer to the global.
LWComRing * operator-> ()
 Get the pointer to the global.
bool ringAttach (const char *topic)
 Attach to a ComRing to receive messages.
void ringDetach (const char *topic)
 Detach from a comring to stop receiving messages.
virtual void RingEvent (void *portData, int eventCode, void *eventData)
 Receive an event in the ComRing.
void ringMessage (const char *topic, int eventCode, void *eventData=0)
 Send a message to a ComRing.

Static Private Member Functions

static void RingEventCB (void *clientData, void *portData, int eventCode, void *eventData)
 The static callback for LightWave.

Static Private Attributes

static LWComRing * globPtr
 Pointer to the global functions.

Detailed Description

Simple helper class for the limbo state.

Construct the class before requiring a limbo state, the destructor will automatically clear the state again.

The limbo state mainly pauses VPR.


Constructor & Destructor Documentation

lwpp::LimboComRing::LimboComRing ( )
inline
lwpp::LimboComRing::~LimboComRing ( )
inline

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