Public Member Functions | Protected Attributes | List of all members
JobReader Class Reference

Job reader. More...

#include <job_reader.h>

Inheritance diagram for JobReader:
Inheritance graph
[legend]

Public Member Functions

 JobReader (std::shared_ptr< ros::NodeHandle > const &d)
 Job reader constructor. More...
 
void read () override
 read implementation More...
 
boost::circular_buffer< std::pair< std::string, job_data > > & robotData ()
 Get Job_data. More...
 
void setJobData (boost::circular_buffer< std::pair< std::string, job_data >> &robot_data)
 Set Job_data. More...
 
- Public Member Functions inherited from AbstractParamReader
 AbstractParamReader (std::shared_ptr< ros::NodeHandle > const &d)
 AbstractParamReader constructor. More...
 
float floatOf (XmlRpc::XmlRpcValue &val)
 Xmlrpc parser. More...
 

Protected Attributes

boost::circular_buffer< std::pair< std::string, job_data > > job_data_
 FIFO job information. More...
 
- Protected Attributes inherited from AbstractParamReader
std::shared_ptr< ros::NodeHandle > nh_
 ROS Nodehandle. More...
 

Detailed Description

Job reader.

Reader which returns job data liked to robot

Definition at line 16 of file job_reader.h.

Constructor & Destructor Documentation

◆ JobReader()

JobReader::JobReader ( std::shared_ptr< ros::NodeHandle > const &  d)
inline

Job reader constructor.

Calls read() implementation

Parameters
dROS Nodehandle

Definition at line 26 of file job_reader.h.

Member Function Documentation

◆ read()

void JobReader::read ( )
overridevirtual

read implementation

Implements AbstractParamReader.

Definition at line 5 of file job_reader.cpp.

◆ robotData()

boost::circular_buffer<std::pair<std::string, job_data> >& JobReader::robotData ( )
inline

Get Job_data.

Returns
FIFO job information

Definition at line 41 of file job_reader.h.

◆ setJobData()

void JobReader::setJobData ( boost::circular_buffer< std::pair< std::string, job_data >> &  robot_data)
inline

Set Job_data.

Calls pure virtual read() methode

Parameters
robot_dataFIFO job information

Definition at line 35 of file job_reader.h.

Member Data Documentation

◆ job_data_

boost::circular_buffer<std::pair<std::string, job_data> > JobReader::job_data_
protected

FIFO job information.

Definition at line 18 of file job_reader.h.


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


multi_cell_builder
Author(s): Matteo Anedda
autogenerated on Sun Apr 9 2023 23:59:51