Class robot_interfaces::MultiProcessSensorData

template<typename Observation, typename Info = None>
class MultiProcessSensorData : public robot_interfaces::SensorData<Observation, None>, public robot_interfaces::SensorData<Observation, None>

SensorData instance using multi process time series.

Use this class if modules accessing the data are running in separate processes. When all modules run as threads in the same process, this class can be used as well, however, SingleProcessSensorData might be more efficient in that case.

Public Functions

inline MultiProcessSensorData(const std::string &shared_memory_id, bool is_master, size_t history_length = 1000)
inline MultiProcessSensorData(const std::string &shared_memory_id, bool is_master, size_t history_length = 1000)