|
LightWrap++
AC++wrapperfortheLightWave3DSDK
|
#include <comring.h>
Inheritance diagram for lwpp::comRingCommunicator:
Collaboration diagram for lwpp::comRingCommunicator:Public Member Functions | |
| comRingCommunicator () | |
| comRingCommunicator (const char *topic) | |
| virtual | ~comRingCommunicator () |
| 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. | |
| void | ringMessage (const char *topic, int eventCode, void *eventData=0) |
| Send a message to a ComRing. | |
Protected Member Functions | |
| bool | _acquireGlobal () |
| virtual void | RingEvent (void *portData, int eventCode, void *eventData) |
| Receive an event in the ComRing. | |
Static Protected Member Functions | |
| static void | RingEventCB (void *clientData, void *portData, int eventCode, void *eventData) |
| The static callback for LightWave. | |
Static Protected Attributes | |
| static LWComRing * | globPtr |
| Pointer to the global functions. | |
Class to add support for the Communication Ring to plugins
You must inherit this class in EVERY plugin where you'd want to use a ComRing
|
inline |
|
inline |
| [in] | topic | The name/topic of the ComRing to attach to |
|
inlinevirtual |
|
inlineprotectedinherited |
|
inlinevirtualinherited |
Check if the global is available.
|
inlinevirtualinherited |
Get the pointer to the global.
|
inlineinherited |
Get the pointer to the global.
|
inline |
Attach to a ComRing to receive messages.
|
inline |
Detach from a comring to stop receiving messages.
|
inlineprotectedvirtual |
Receive an event in the ComRing.
This needs to be implemented by the derived class if you want to receive events.
|
inlinestaticprotected |
The static callback for LightWave.
|
inline |
Send a message to a ComRing.
|
staticprotectedinherited |
Pointer to the global functions.