Abstract base monitor class. More...
#include <gazebo_monitor_base_plugin.h>

Public Types | |
| using | ImageDataPtrVector = std::vector< sensors::GvmMulticameraSensor::ImageDataPtr > |
Public Member Functions | |
| GazeboMonitorBasePlugin (const std::string &name) | |
| virtual void | Init () override |
| virtual void | Load (sensors::SensorPtr _sensor, sdf::ElementPtr _sdf) override |
| virtual | ~GazeboMonitorBasePlugin () override |
Protected Member Functions | |
| RefModelConfigConstPtr | getCameraRefConfig (const std::string &name) const |
| void | initialize () |
| virtual void | initRos () |
| virtual void | onNewImages (const ImageDataPtrVector &images)=0 |
Protected Attributes | |
| const std::string | logger_prefix_ |
| ros::NodeHandlePtr | nh_ |
| boost::filesystem::path | save_path_ |
| sdf::ElementPtr | sdf_ |
| sensors::GvmMulticameraSensorPtr | sensor_ |
| ros::ServiceServer | start_recording_service_ |
| ros::ServiceServer | stop_recording_service_ |
| physics::WorldPtr | world_ |
Private Attributes | |
| ros::CallbackQueue | callback_queue_ |
| std::unordered_map< std::string, RefModelConfigConstPtr > | cam_ref_configs_ |
| std::thread | deferred_init_thread_ |
| event::ConnectionPtr | new_images_connection_ |
| ros::AsyncSpinner | spinner_ |
| std::atomic_bool | terminating_ |
Abstract base monitor class.
Hosts common monitor members, and partially initializes the monitor.
Definition at line 46 of file gazebo_monitor_base_plugin.h.
| using gazebo::GazeboMonitorBasePlugin::ImageDataPtrVector = std::vector<sensors::GvmMulticameraSensor::ImageDataPtr> |
Definition at line 49 of file gazebo_monitor_base_plugin.h.
| gazebo::GazeboMonitorBasePlugin::GazeboMonitorBasePlugin | ( | const std::string & | name | ) |
Definition at line 25 of file gazebo_monitor_base_plugin.cpp.
|
overridevirtual |
Definition at line 30 of file gazebo_monitor_base_plugin.cpp.
|
protected |
Definition at line 139 of file gazebo_monitor_base_plugin.cpp.
|
overridevirtual |
Definition at line 82 of file gazebo_monitor_base_plugin.cpp.
|
protected |
Definition at line 96 of file gazebo_monitor_base_plugin.cpp.
|
protectedvirtual |
Reimplemented in gazebo::GazeboMultiCameraMonitorPlugin, gazebo::GazeboMultiViewMonitorPlugin, gazebo::GazeboMultiVideoMonitorPlugin, and gazebo::GazeboVideoMonitorPlugin.
Definition at line 89 of file gazebo_monitor_base_plugin.cpp.
|
overridevirtual |
Reimplemented in gazebo::GazeboMultiCameraMonitorPlugin, gazebo::GazeboMultiViewMonitorPlugin, gazebo::GazeboMultiVideoMonitorPlugin, and gazebo::GazeboVideoMonitorPlugin.
Definition at line 38 of file gazebo_monitor_base_plugin.cpp.
|
protectedpure virtual |
|
private |
Definition at line 82 of file gazebo_monitor_base_plugin.h.
|
private |
Definition at line 75 of file gazebo_monitor_base_plugin.h.
|
private |
Definition at line 77 of file gazebo_monitor_base_plugin.h.
|
protected |
Definition at line 61 of file gazebo_monitor_base_plugin.h.
|
private |
Definition at line 80 of file gazebo_monitor_base_plugin.h.
|
protected |
Definition at line 67 of file gazebo_monitor_base_plugin.h.
|
protected |
Definition at line 72 of file gazebo_monitor_base_plugin.h.
|
protected |
Definition at line 63 of file gazebo_monitor_base_plugin.h.
|
protected |
Definition at line 65 of file gazebo_monitor_base_plugin.h.
|
private |
Definition at line 83 of file gazebo_monitor_base_plugin.h.
|
protected |
Definition at line 69 of file gazebo_monitor_base_plugin.h.
|
protected |
Definition at line 70 of file gazebo_monitor_base_plugin.h.
|
private |
Definition at line 78 of file gazebo_monitor_base_plugin.h.
|
protected |
Definition at line 64 of file gazebo_monitor_base_plugin.h.