|
MIRA
|
Python wrapper for MIRA units. More...
#include <Python.h>#include <python/BoostPythonWrapper.h>#include <transform/Pose.h>#include <fw/Unit.h>#include <python/PythonSet.h>#include <python/PythonException.h>#include <python/PythonInterpreter.h>#include <python/ReflectorWrapper.h>#include <python/ScopedGIL.h>

Go to the source code of this file.
Classes | |
| class | PyUnit |
| class | PyUnitWrapperBase |
| class | PyUnitWrapper |
| class | PyUnitWrapper::BaseCallback |
| class | PyUnitWrapper::Callback< T > |
| class | PyUnitWrapper::CallbackInterval< T > |
| struct | ChannelAccessWrapper< T > |
| struct | ChannelWaitWrapper< T > |
| struct | ChannelReadWrapperBase< T > |
| struct | ChannelReadWrapper< T > |
| struct | ChannelReadIntervalWrapper< T > |
| Also wrap ChannelReadInterval<T>::begin and ChannelReadInterval<T>::end to return the ChannelReadInterval<T>::IntervalList::const_iterator instead of the ChannelReadInterval<T>::const_iterator. More... | |
Namespaces | |
| mira | |
| mira::python | |
Macros | |
| #define | MIRA_PYTHON_COMMA_HELPER , |
| #define | MIRA_PYTHONCONNECTOR_ALL_TYPES(MACRO) |
| #define | MIRA_PYTHONCONNECTOR_ALL_TYPES_2_HELPER(MACRO, TYPE, PREFIX) |
| #define | MIRA_PYTHONCONNECTOR_ALL_TYPES_2(MACRO) |
| #define | MIRA_PYTHONCONNECTOR_NAMED_TYPE_FOOTER(type, name) |
| #define | MIRA_PYTHONCONNECTOR_TYPE_FOOTER(type) MIRA_PYTHONCONNECTOR_NAMED_TYPE_FOOTER(type,#type) |
| #define | MIRA_PYTHONCONNECTOR_PRIMITIVE_CHANNEL_WRAPPER(type, name) |
| #define | MIRA_PYTHONCONNECTOR_PRIMITIVE_VECTOR_CHANNEL_WRAPPER(type, name) |
| #define | MIRA_PYTHONCONNECTOR_PRIMITIVE_SET_CHANNEL_WRAPPER(type, name) |
| #define | MIRA_PYTHONCONNECTOR_PRIMITIVE_MAP_CHANNEL_WRAPPER(type1, type2, name1, name2) |
| #define | MIRA_PYTHONCONNECTOR_PRIMITIVE_MAP_CHANNEL_WRAPPER_STRING(type1, type2, name1, name2) |
| #define | MIRA_PYTHONCONNECTOR_PRIMITIVE_MAP_OF_VECTORS_CHANNEL_WRAPPER(type1, type2, name1, name2) |
| #define | MIRA_PYTHONCONNECTOR_PRIMITIVE_MAP_OF_VECTORS_CHANNEL_WRAPPER_STRING(type1, type2, name1, name2) |
Functions | |
| template<typename T > | |
| Channel< T > | subscribe (PyUnitWrapper &unit, const std::string &channelID) |
| Typed subscribe method every wrapped type must contain. More... | |
| template<typename T > | |
| Channel< T > | subscribeCb (PyUnitWrapper &unit, const std::string &channelID, boost::python::object callable) |
| Typed subscribe method every wrapped type must contain. More... | |
| template<typename T > | |
| Channel< T > | subscribeIntervalCb (PyUnitWrapper &unit, const std::string &channelID, boost::python::object callable, const Duration &storageDuration) |
| Typed subscribe method every wrapped type must contain. More... | |
| template<typename T > | |
| void | unsubscribe (PyUnitWrapper &unit, const std::string &channelID) |
| Typed unsubscribe method every wrapped type must contain. More... | |
| template<typename T > | |
| Channel< T > | publish (PyUnitWrapper &unit, const std::string &channelID) |
| Typed publish method every wrapped type must contain. More... | |
| template<typename T > | |
| boost::python::object | convertJSONtoObject (const json::Value &value) |
| Create an object instance from JSON data MIRA's JSON deserialization capabilities. More... | |
| template<typename T > | |
| json::Value | convertObjectToJSON (const T &obj) |
| Generate a JSON representation using MIRA's JSON serialization capabilities. More... | |
Python wrapper for MIRA units.
| #define MIRA_PYTHON_COMMA_HELPER , |
| #define MIRA_PYTHONCONNECTOR_ALL_TYPES | ( | MACRO | ) |
| #define MIRA_PYTHONCONNECTOR_ALL_TYPES_2_HELPER | ( | MACRO, | |
| TYPE, | |||
| PREFIX | |||
| ) |
| #define MIRA_PYTHONCONNECTOR_ALL_TYPES_2 | ( | MACRO | ) |
| #define MIRA_PYTHONCONNECTOR_NAMED_TYPE_FOOTER | ( | type, | |
| name | |||
| ) |
| #define MIRA_PYTHONCONNECTOR_TYPE_FOOTER | ( | type | ) | MIRA_PYTHONCONNECTOR_NAMED_TYPE_FOOTER(type,#type) |
| #define MIRA_PYTHONCONNECTOR_PRIMITIVE_CHANNEL_WRAPPER | ( | type, | |
| name | |||
| ) |
| #define MIRA_PYTHONCONNECTOR_PRIMITIVE_VECTOR_CHANNEL_WRAPPER | ( | type, | |
| name | |||
| ) |
| #define MIRA_PYTHONCONNECTOR_PRIMITIVE_SET_CHANNEL_WRAPPER | ( | type, | |
| name | |||
| ) |
| #define MIRA_PYTHONCONNECTOR_PRIMITIVE_MAP_CHANNEL_WRAPPER | ( | type1, | |
| type2, | |||
| name1, | |||
| name2 | |||
| ) |
| #define MIRA_PYTHONCONNECTOR_PRIMITIVE_MAP_CHANNEL_WRAPPER_STRING | ( | type1, | |
| type2, | |||
| name1, | |||
| name2 | |||
| ) |
| #define MIRA_PYTHONCONNECTOR_PRIMITIVE_MAP_OF_VECTORS_CHANNEL_WRAPPER | ( | type1, | |
| type2, | |||
| name1, | |||
| name2 | |||
| ) |
| #define MIRA_PYTHONCONNECTOR_PRIMITIVE_MAP_OF_VECTORS_CHANNEL_WRAPPER_STRING | ( | type1, | |
| type2, | |||
| name1, | |||
| name2 | |||
| ) |
1.8.14