Cafer_core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator
List of all members
cafer_core::Manager< Msg, DataContainer > Class Template Reference

#include <manager.hpp>

Inheritance diagram for cafer_core::Manager< Msg, DataContainer >:
cafer_core::ManagerBase< Msg, DataContainer, Manager< Msg, DataContainer > >

Additional Inherited Members

- Public Types inherited from cafer_core::ManagerBase< Msg, DataContainer, Manager< Msg, DataContainer > >
enum  io
 The io enum type of traitement to do with incoming data. More...
 
- Public Member Functions inherited from cafer_core::ManagerBase< Msg, DataContainer, Manager< Msg, DataContainer > >
 ManagerBase (std::string type, std::string name, std::string description="")
 Manager constructor. More...
 
void disconnect_from_ros ()
 
bool is_initialized ()
 
void update ()
 
void add_cb (const shared_ptr< Msg > &msg)
 The callback function used to process messages from the listened topic. More...
 
void listen_to (const std::string &topic, io type_io=ADD)
 Connects to a specific topic and listen to it. More...
 
size_t data_size ()
 Returns the number of elements in the data container. More...
 
- Protected Attributes inherited from cafer_core::ManagerBase< Msg, DataContainer, Manager< Msg, DataContainer > >
DataContainer _data_set
 the data container. All messages are stored in this container. More...
 
long int _id
 
std::string _name
 
std::string _description
 
std::string _type
 
std::unique_ptr< ros::Publisher > _publisher
 
std::unique_ptr< ros::Subscriber > _subcriber
 subscriber to retrieve data More...
 
std::mt19937 _gen
 
std::mutex _container_mutex
 Mutex to protect the _data_set from concurrent access. More...
 

Detailed Description

template<typename Msg, typename DataContainer>
class cafer_core::Manager< Msg, DataContainer >

Definition at line 196 of file manager.hpp.


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