job_reader.h
Go to the documentation of this file.
1 #ifndef JOB_READER_
2 #define JOB_READER_
3 
4 #include "ros/ros.h"
5 #include <ros/package.h>
6 #include <xmlrpcpp/XmlRpc.h>
7 #include "boost/circular_buffer.hpp"
8 
9 
11 
13 
17  protected:
18  boost::circular_buffer<std::pair<std::string, job_data>> job_data_;
19 
20  public:
22 
26  Job_reader(std::shared_ptr<ros::NodeHandle> const& d)
28  {read();}
29 
31 
35  inline void set_job_data(boost::circular_buffer<std::pair<std::string, job_data>>& robot_data) {job_data_ = robot_data;}
36 
38 
41  inline boost::circular_buffer<std::pair<std::string, job_data>>& robot_data() {return job_data_;}
42 
44  void read() override;
45 };
46 #endif
Job_reader::Job_reader
Job_reader(std::shared_ptr< ros::NodeHandle > const &d)
Job reader constructor.
Definition: job_reader.h:26
Job_reader
Job reader.
Definition: job_reader.h:16
abstract_param_reader.h
Job_reader::job_data_
boost::circular_buffer< std::pair< std::string, job_data > > job_data_
FIFO job information.
Definition: job_reader.h:18
Job_reader::robot_data
boost::circular_buffer< std::pair< std::string, job_data > > & robot_data()
Get Job_data.
Definition: job_reader.h:41
Job_reader::read
void read() override
read implementation
Definition: job_reader.cpp:5
Job_reader::set_job_data
void set_job_data(boost::circular_buffer< std::pair< std::string, job_data >> &robot_data)
Set Job_data.
Definition: job_reader.h:35
Abstract_param_reader
Abstract ROS-Param reader class.
Definition: abstract_param_reader.h:27


multi_cell_builder
Author(s): MA
autogenerated on Thu Jan 12 2023 23:45:43