Classes | Public Member Functions | Public Attributes | Private Attributes | List of all members
yocs_cmd_vel_mux::CmdVelSubscribers Class Reference

#include <cmd_vel_subscribers.hpp>


class  CmdVelSubs

Public Member Functions

 CmdVelSubscribers ()
void configure (const YAML::Node &node)
 Configures the subscribers from a yaml file. More...
std::shared_ptr< CmdVelSubs > & operator[] (unsigned int idx)
std::vector< std::shared_ptr< CmdVelSubs > >::size_type size ()
 ~CmdVelSubscribers ()

Public Attributes

unsigned int allowed

Private Attributes

std::vector< std::shared_ptr< CmdVelSubs > > list

Detailed Description

Pool of cmd_vel topics subscribers

Definition at line 50 of file cmd_vel_subscribers.hpp.

Constructor & Destructor Documentation

yocs_cmd_vel_mux::CmdVelSubscribers::CmdVelSubscribers ( )

Definition at line 77 of file cmd_vel_subscribers.hpp.

yocs_cmd_vel_mux::CmdVelSubscribers::~CmdVelSubscribers ( )

Definition at line 78 of file cmd_vel_subscribers.hpp.

Member Function Documentation

void yocs_cmd_vel_mux::CmdVelSubscribers::configure ( const YAML::Node &  node)

Configures the subscribers from a yaml file.

FileNotFoundException: yaml file not found
YamlException: problem parsing the yaml
EmptyCfgException: empty configuration file
node: node holding all the subscriber configuration

Definition at line 61 of file cmd_vel_subscribers.cpp.

std::shared_ptr<CmdVelSubs>& yocs_cmd_vel_mux::CmdVelSubscribers::operator[] ( unsigned int  idx)

Definition at line 81 of file cmd_vel_subscribers.hpp.

std::vector<std::shared_ptr<CmdVelSubs> >::size_type yocs_cmd_vel_mux::CmdVelSubscribers::size ( )

Definition at line 80 of file cmd_vel_subscribers.hpp.

Member Data Documentation

unsigned int yocs_cmd_vel_mux::CmdVelSubscribers::allowed

Definition at line 93 of file cmd_vel_subscribers.hpp.

std::vector<std::shared_ptr<CmdVelSubs> > yocs_cmd_vel_mux::CmdVelSubscribers::list

Definition at line 96 of file cmd_vel_subscribers.hpp.

The documentation for this class was generated from the following files:

Author(s): Jorge Santos Simon
autogenerated on Mon Jun 10 2019 15:53:29