File pybind11_helper.hpp

namespace o80

Typedefs

typedef std::integral_constant<int, 0> NO_STATES
typedef std::integral_constant<int, 1> NO_STATE
typedef std::integral_constant<int, 2> NO_OBSERVATION
typedef std::integral_constant<int, 3> NO_SERIALIZER
typedef std::integral_constant<int, 4> NO_EXTENDED_STATE
typedef std::integral_constant<int, 5> NO_FRONTEND
typedef std::integral_constant<int, 6> NO_BACKEND

Functions

template<int QUEUE_SIZE, int NB_ACTUATORS, class o80_STATE, class o80_EXTENDED_STATE, typename ...EXCLUDED_CLASSES>
void create_python_bindings(pybind11::module &m, std::string prefix = std::string(""))

! Creates in python module m python bindings for the classes States, State, ExtendedState, Observation, FrontEnd and Backend.

template<class RobotStandalone, typename ...EXCLUDED_CLASSES>
void create_python_bindings(pybind11::module &m, std::string prefix = std::string(""))

! Creates in python module m python bindings for the classes States, State, ExtendedState, Observation, FrontEnd and Backend.

template<class RobotDriver, class RobotStandalone, typename ...DriverArgs>
void create_standalone_python_bindings(pybind11::module &m, std::string prefix = std::string(""))

! Creates the python bindings for the classes States, State, ExtendedState, Observation, FrontEnd and Backend (except of the one inhibited by the configuration), as well as to the class Standalone and of the functions start_standalone, stop_standalone, standalone_is_running and please_stop.

Template Parameters
  • DriverArgs: : argument list required to instantiate RobotDriver.