#include <RosTopicListener.h>
Static Public Member Functions | |
| static void | addTopic (string topicName) |
| static vector< string > | getTopics () |
| static map< string, string > | getTopicsValues () |
| static string | getTopicValue (string topicName) |
| static bool | hasTopicValue (string topicName) |
| static void | removeTopic (string topicName) |
| static void | start () |
| static void | stop () |
Static Private Member Functions | |
| static PyObject * | internalGetTopics (PyObject *self, PyObject *args) |
| static PyObject * | internalInterruptionRequested (PyObject *self, PyObject *args) |
| static PyObject * | internalTopicUpdate (PyObject *self, PyObject *args) |
| static void | listeningThread () |
Static Private Attributes | |
| static set< string > | _activeTopics |
| static boost::mutex | _activeTopicsMutex |
| static boost::thread * | _listeningThread = NULL |
| static bool | _running = false |
| static map< string, string > | _topicValues |
| static PyMethodDef | RosTopicPythonLib [] |
Definition at line 33 of file RosTopicListener.h.
| void RosTopicListener::addTopic | ( | string | topicName | ) | [static] |
Definition at line 88 of file RosTopicListener.cpp.
| vector< string > RosTopicListener::getTopics | ( | ) | [static] |
Definition at line 108 of file RosTopicListener.cpp.
| map< string, string > RosTopicListener::getTopicsValues | ( | ) | [static] |
Definition at line 129 of file RosTopicListener.cpp.
| string RosTopicListener::getTopicValue | ( | string | topicName | ) | [static] |
Definition at line 121 of file RosTopicListener.cpp.
| bool RosTopicListener::hasTopicValue | ( | string | topicName | ) | [static] |
Definition at line 134 of file RosTopicListener.cpp.
| PyObject * RosTopicListener::internalGetTopics | ( | PyObject * | self, |
| PyObject * | args | ||
| ) | [static, private] |
Definition at line 41 of file RosTopicListener.cpp.
| PyObject * RosTopicListener::internalInterruptionRequested | ( | PyObject * | self, |
| PyObject * | args | ||
| ) | [static, private] |
Definition at line 33 of file RosTopicListener.cpp.
| PyObject * RosTopicListener::internalTopicUpdate | ( | PyObject * | self, |
| PyObject * | args | ||
| ) | [static, private] |
Definition at line 23 of file RosTopicListener.cpp.
| void RosTopicListener::listeningThread | ( | ) | [static, private] |
Definition at line 82 of file RosTopicListener.cpp.
| void RosTopicListener::removeTopic | ( | string | topicName | ) | [static] |
Definition at line 98 of file RosTopicListener.cpp.
| void RosTopicListener::start | ( | ) | [static] |
Definition at line 55 of file RosTopicListener.cpp.
| void RosTopicListener::stop | ( | ) | [static] |
Definition at line 69 of file RosTopicListener.cpp.
set< string > RosTopicListener::_activeTopics [static, private] |
Definition at line 50 of file RosTopicListener.h.
boost::mutex RosTopicListener::_activeTopicsMutex [static, private] |
Definition at line 47 of file RosTopicListener.h.
boost::thread * RosTopicListener::_listeningThread = NULL [static, private] |
Definition at line 48 of file RosTopicListener.h.
bool RosTopicListener::_running = false [static, private] |
Definition at line 52 of file RosTopicListener.h.
map< string, string > RosTopicListener::_topicValues [static, private] |
Definition at line 49 of file RosTopicListener.h.
PyMethodDef RosTopicListener::RosTopicPythonLib [static, private] |
{
{"internal_interruption_requested", &RosTopicListener::internalInterruptionRequested, METH_NOARGS, "" },
{"internal_topic_update", &RosTopicListener::internalTopicUpdate, METH_VARARGS, ""},
{"internal_get_topics", &RosTopicListener::internalGetTopics, METH_NOARGS, "" },
{NULL, NULL, 0, NULL}
}
Definition at line 51 of file RosTopicListener.h.