37#include <boost/python/suite/indexing/map_indexing_suite.hpp>
48 for (
auto &iter : movement->GetInterfaces())
50 py::tuple key = py::make_tuple(iter.first.first, iter.first.second);
58 return std::make_shared<Movement>();
64 py::class_<std::map<int, ZoneBaseShPtr>>(
"ZoneMap").def(
65 py::map_indexing_suite<std::map<int, ZoneBaseShPtr>,
true>());
67 py::class_<Movement, std::shared_ptr<Movement>>(
"Movement", py::no_init)
70 .def(
"GetZones", &Movement::GetZones,
71 py::return_value_policy<py::copy_const_reference>())
72 .def(
"PerformMovement", &Movement::PerformMovement)
73 .def(
"AddZone", &Movement::AddZone)
74 .def(
"AddInterface", &Movement::AddInterface);
py::dict GetInterfaces_wrapper(MovementSharedPtr movement)
MovementSharedPtr Movement_Init()
std::shared_ptr< Movement > MovementSharedPtr
std::vector< double > d(NPUPPER *NPUPPER)