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

#include <cmd_vel_subscribers.hpp>

Classes

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 ( )
inline

Definition at line 77 of file cmd_vel_subscribers.hpp.

yocs_cmd_vel_mux::CmdVelSubscribers::~CmdVelSubscribers ( )
inline

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.

Exceptions
FileNotFoundException: yaml file not found
YamlException: problem parsing the yaml
EmptyCfgException: empty configuration file
Parameters
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)
inline

Definition at line 81 of file cmd_vel_subscribers.hpp.

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

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
private

Definition at line 96 of file cmd_vel_subscribers.hpp.


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


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