1 #ifndef COMRING_COMMUNICATOR_H
2 #define COMRING_COMMUNICATOR_H
17 std::string lastTopic;
23 virtual void RingEvent(
void *portData,
int eventCode,
void *eventData)
28 static void RingEventCB(
void *clientData,
void *portData,
int eventCode,
void *eventData)
33 plugin->
RingEvent(portData, eventCode, eventData);
52 if (!lastTopic.empty())
ringDetach (lastTopic.c_str());
68 globPtr->ringDetach(const_cast<char *>(topic),
this);
72 void ringMessage (
const char *topic,
int eventCode,
void *eventData = 0)
74 if (
globPtr)
globPtr->ringMessage(const_cast<char *>(topic), eventCode, eventData);
78 #ifndef LW_PLUGIN_LIMBO_STATES
79 #define LW_PLUGIN_LIMBO_STATES "LW Plugin Limbo States"
81 #define LW_LIMBO_START 0x00000001
82 #define LW_LIMBO_END 0x00000002
105 #endif // COMRING_COMMUNICATOR_H