Go to the documentation of this file.
25 #ifndef SRC_TASKS_INCLUDE_CORBO_TASKS_ENVIRONMENT_H_
26 #define SRC_TASKS_INCLUDE_CORBO_TASKS_ENVIRONMENT_H_
52 using Ptr = std::shared_ptr<Environment>;
95 bool verify(std::string* msg =
nullptr)
const;
108 #endif // SRC_TASKS_INCLUDE_CORBO_TASKS_ENVIRONMENT_H_
const ObserverInterface::Ptr & getObserver() const
Read access to the underlying observer.
void setPlant(PlantInterface::Ptr plant)
Set plant.
Environment()
Default constructor.
void reset()
Reset environment.
bool hasController() const
Check if a controller has been specified.
ControllerInterface::Ptr _controller
ControllerInterface::Ptr getControllerPtr()
Write access to the underlying controller.
void setController(ControllerInterface::Ptr controller)
Set controller.
PlantInterface::Ptr _plant
const PlantInterface::Ptr & getPlant() const
Read access to the underlying plant.
std::shared_ptr< ObserverInterface > Ptr
std::shared_ptr< Environment > Ptr
ObserverInterface::Ptr _observer
std::shared_ptr< ControllerInterface > Ptr
void setObserver(ObserverInterface::Ptr observer)
Set observer.
bool hasObserver() const
Check if an observer has been specified.
ObserverInterface::Ptr getObserverPtr()
Write access to the underlying observer.
PlantInterface::Ptr getPlantPtr()
Write access to the underlying plant.
const ControllerInterface::Ptr & getController() const
Read access to the underlying controller.
bool hasPlant() const
Check if a plant has been specified.
bool verify(std::string *msg=nullptr) const
Check if the environment satisfies all requirements (dimensions, ...)
std::shared_ptr< PlantInterface > Ptr
control_box_rst
Author(s): Christoph Rösmann
autogenerated on Wed Mar 2 2022 00:05:45