RobWorkProject  23.9.11-
Classes | Public Member Functions | List of all members
LogValuesWidget Class Reference

Graphical representation of the rwsim::log::LogValues log entry. More...

#include <LogValuesWidget.hpp>

Inherits SimulatorLogEntryWidget.

Classes

class  Dispatcher
 Dispatchers are responsible for creating new widgets of type SimulatorLogEntryWidget. More...
 

Public Member Functions

 LogValuesWidget (rw::core::Ptr< const rwsim::log::LogValues > entry, QWidget *parent=0)
 Construct new widget for a log entry. More...
 
virtual ~LogValuesWidget ()
 Destructor.
 
virtual void setDWC (rw::core::Ptr< const rwsim::dynamics::DynamicWorkCell > dwc)
 Set the dynamic workcell for visualisation of the log information. More...
 
virtual void setEntry (rw::core::Ptr< const rwsim::log::SimulatorLog > entry)
 Set the log entity to show. More...
 
virtual rw::core::Ptr< const rwsim::log::SimulatorLoggetEntry () const
 Get the current log entity. More...
 
virtual void updateEntryWidget ()
 Re-read logging data and update widget. More...
 
virtual void showGraphics (rw::core::Ptr< rw::graphics::GroupNode > root, rw::core::Ptr< rw::graphics::SceneGraph > graph)
 Add graphics as drawables to a scene-graph. More...
 
virtual std::string getName () const
 Get the name of the widget (will be used as the name on tabs). More...
 
- Public Member Functions inherited from SimulatorLogEntryWidget
 SimulatorLogEntryWidget (QWidget *parent=0)
 Construct new widget for a log entry. More...
 
virtual ~SimulatorLogEntryWidget ()
 Destructor.
 
virtual void setProperties (rw::core::Ptr< rw::core::PropertyMap > properties)
 Set properties for widget. More...
 

Additional Inherited Members

- Signals inherited from SimulatorLogEntryWidget
void graphicsUpdated ()
 Signal is emitted if the graphics is updated.
 
- Protected Attributes inherited from SimulatorLogEntryWidget
rw::core::Ptr< rw::core::PropertyMap_properties
 Widget properties.
 

Detailed Description

Graphical representation of the rwsim::log::LogValues log entry.

Constructor & Destructor Documentation

◆ LogValuesWidget()

LogValuesWidget ( rw::core::Ptr< const rwsim::log::LogValues entry,
QWidget *  parent = 0 
)

Construct new widget for a log entry.

Parameters
entry[in] a values entry.
parent[in] (optional) the parent Qt widget. Ownership is shared by the caller and the parent widget if given.

Member Function Documentation

◆ getEntry()

virtual rw::core::Ptr<const rwsim::log::SimulatorLog> getEntry ( ) const
virtual

Get the current log entity.

Returns
the log entity.

Implements SimulatorLogEntryWidget.

◆ getName()

virtual std::string getName ( ) const
virtual

Get the name of the widget (will be used as the name on tabs).

Returns
the name.

Implements SimulatorLogEntryWidget.

◆ setDWC()

virtual void setDWC ( rw::core::Ptr< const rwsim::dynamics::DynamicWorkCell dwc)
virtual

Set the dynamic workcell for visualisation of the log information.

Parameters
dwc[in] the dynamic workcell.

Implements SimulatorLogEntryWidget.

◆ setEntry()

virtual void setEntry ( rw::core::Ptr< const rwsim::log::SimulatorLog entry)
virtual

Set the log entity to show.

Parameters
entry[in] the log entity.

Implements SimulatorLogEntryWidget.

◆ showGraphics()

virtual void showGraphics ( rw::core::Ptr< rw::graphics::GroupNode root,
rw::core::Ptr< rw::graphics::SceneGraph graph 
)
virtual

Add graphics as drawables to a scene-graph.

Parameters
root[in] the node to add drawables to.
graph[in] the scene graph.

Implements SimulatorLogEntryWidget.

◆ updateEntryWidget()

virtual void updateEntryWidget ( )
virtual

Re-read logging data and update widget.

Implements SimulatorLogEntryWidget.


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