Class swarm_manager_adaptor

Inheritance Relationships

Base Types

Class Documentation

class swarm_manager_adaptor : public cosm::pal::base_swarm_manager, public rer::client<swarm_manager_adaptor>

Adaptor for base_swarm_manager to provide an interface for managing swarms within ROS.

Public Functions

swarm_manager_adaptor(const swarm_manager_adaptor&) = delete
explicit swarm_manager_adaptor(size_t n_robots)
~swarm_manager_adaptor(void) override = default
inline virtual void destroy(void) override
virtual bool experiment_finished(void) const = 0

Is it time for the experiment to end?

inline virtual void init(ticpp::Element&) override
const swarm_manager_adaptor &operator=(const swarm_manager_adaptor&) = delete
inline virtual void post_step(void) override
inline virtual void pre_step(void) override
inline virtual void reset(void) override

Protected Functions

inline virtual void mdc_ts_update(void) const final override

Set the timestamp MDC for the swarm manager.

inline virtual void ndc_uuid_pop(void) const final override

Pop the last UUID NDC off the stack.

inline virtual void ndc_uuid_push(void) const final override

Push the UUID of the swarm manager onto the NDC stack.

inline size_t swarm_size(void) const