#include <datastream_ROS.h>
Public Member Functions | |
virtual void | addActionsToParentMenu (QMenu *menu) override |
virtual std::vector< QString > | appendData (PlotDataMapRef &destination) override |
DataStreamROS () | |
virtual bool | isRunning () const override |
virtual const char * | name () const override |
virtual void | shutdown () override |
virtual bool | start (QStringList *selected_datasources) override |
virtual bool | xmlLoadState (const QDomElement &parent_element) override |
virtual bool | xmlSaveState (QDomDocument &doc, QDomElement &parent_element) const override |
virtual | ~DataStreamROS () override |
Public Member Functions inherited from DataStreamer | |
PlotDataMapRef & | dataMap () |
const PlotDataMapRef & | dataMap () const |
DataStreamer () | |
std::mutex & | mutex () |
void | setMaximumRange (double range) |
virtual | ~DataStreamer () |
Public Member Functions inherited from PlotJugglerPlugin | |
virtual bool | isDebugPlugin () |
virtual QWidget * | optionsWidget () |
PlotJugglerPlugin () | |
QDomElement | xmlSaveState (QDomDocument &doc) const |
Private Member Functions | |
void | clockCallback (const rosgraph_msgs::Clock::ConstPtr &msg) |
void | extractInitialSamples () |
void | loadDefaultSettings () |
void | saveDefaultSettings () |
void | subscribe () |
void | timerCallback () |
void | topicCallback (const topic_tools::ShapeShifter::ConstPtr &msg, const std::string &topic_name) |
Static Private Member Functions | |
static void | saveIntoRosbag (const PlotDataMapRef &data) |
Private Attributes | |
QAction * | _action_saveIntoRosbag |
DialogSelectRosTopics::Configuration | _config |
PlotDataMapRef * | _destination_data |
double | _initial_time |
std::map< std::string, int > | _msg_index |
ros::NodeHandlePtr | _node |
QTimer * | _periodic_timer |
std::string | _prefix |
double | _prev_clock_time |
int | _received_msg_count |
RosMessageParser | _ros_parser |
bool | _roscore_disconnection_already_notified |
RosIntrospection::SubstitutionRuleMap | _rules |
bool | _running |
std::shared_ptr< ros::AsyncSpinner > | _spinner |
std::map< std::string, ros::Subscriber > | _subscribers |
Additional Inherited Members | |
Signals inherited from DataStreamer | |
void | clearBuffers () |
void | connectionClosed () |
void | dataUpdated () |
Definition at line 15 of file datastream_ROS.h.
DataStreamROS::DataStreamROS | ( | ) |
Definition at line 27 of file datastream_ROS.cpp.
|
overridevirtual |
Definition at line 402 of file datastream_ROS.cpp.
|
overridevirtual |
Reimplemented from PlotJugglerPlugin.
Definition at line 445 of file datastream_ROS.cpp.
|
inlineoverridevirtual |
Reimplemented from DataStreamer.
Definition at line 41 of file datastream_ROS.h.
|
private |
|
private |
Definition at line 127 of file datastream_ROS.cpp.
|
overridevirtual |
Implements DataStreamer.
Definition at line 383 of file datastream_ROS.cpp.
|
private |
Definition at line 471 of file datastream_ROS.cpp.
|
inlineoverridevirtual |
Implements PlotJugglerPlugin.
Definition at line 33 of file datastream_ROS.h.
|
private |
Definition at line 459 of file datastream_ROS.cpp.
|
staticprivate |
Definition at line 200 of file datastream_ROS.cpp.
|
overridevirtual |
Implements DataStreamer.
Definition at line 385 of file datastream_ROS.cpp.
|
overridevirtual |
Implements DataStreamer.
Definition at line 294 of file datastream_ROS.cpp.
|
private |
Definition at line 266 of file datastream_ROS.cpp.
|
private |
Definition at line 160 of file datastream_ROS.cpp.
|
private |
Definition at line 42 of file datastream_ROS.cpp.
|
overridevirtual |
Reimplemented from PlotJugglerPlugin.
Definition at line 428 of file datastream_ROS.cpp.
|
overridevirtual |
Reimplemented from PlotJugglerPlugin.
Definition at line 407 of file datastream_ROS.cpp.
|
private |
Definition at line 81 of file datastream_ROS.h.
|
private |
Definition at line 85 of file datastream_ROS.h.
|
private |
Definition at line 49 of file datastream_ROS.h.
|
private |
Definition at line 69 of file datastream_ROS.h.
|
private |
Definition at line 83 of file datastream_ROS.h.
|
private |
Definition at line 73 of file datastream_ROS.h.
|
private |
Definition at line 89 of file datastream_ROS.h.
|
private |
Definition at line 71 of file datastream_ROS.h.
|
private |
Definition at line 93 of file datastream_ROS.h.
|
private |
Definition at line 79 of file datastream_ROS.h.
|
private |
Definition at line 87 of file datastream_ROS.h.
|
private |
Definition at line 91 of file datastream_ROS.h.
|
private |
Definition at line 77 of file datastream_ROS.h.
|
private |
Definition at line 65 of file datastream_ROS.h.
|
private |
Definition at line 67 of file datastream_ROS.h.
|
private |
Definition at line 75 of file datastream_ROS.h.