RobWorkProject
Static Public Member Functions | List of all members
SimulatorLogEntryWidget::Factory Class Reference

A factory for a SimulatorLogEntryWidget. This factory also defines an extension point for SimulatorLogEntryWidget::Dispatcher. More...

#include <SimulatorLogEntryWidget.hpp>

Inherits ExtensionPoint< SimulatorLogEntryWidget::Dispatcher >.

Static Public Member Functions

static std::list< SimulatorLogEntryWidget::Dispatcher::PtrgetWidgetDispatchers (rw::common::Ptr< const rwsim::log::SimulatorLog > entry)
 Get a list of widget dispatchers that accepts the given entry. More...
 
static std::list< SimulatorLogEntryWidget * > makeWidgets (rw::common::Ptr< const rwsim::log::SimulatorLog > entry, QWidget *parent=0)
 Create widget(s) for the given entry. More...
 

Additional Inherited Members

- Public Types inherited from ExtensionPoint< SimulatorLogEntryWidget::Dispatcher >
typedef rw::common::Ptr< ExtensionPointPtr
 smart pointer type of ExtensionPoint
 
- Public Member Functions inherited from ExtensionPoint< SimulatorLogEntryWidget::Dispatcher >
 ExtensionPoint (const std::string &id, const std::string &name, Plugin *plugin=NULL)
 Constructor. More...
 
const std::string & getId () const
 get unique identifier of this extensionpoint
 
const std::string & getName () const
 get human readable name of this extension point
 
const rw::common::PropertyMapgetSchema () const
 the schema describe the possible properties/configurations elements which is used in the PropertyMap. It contain examples of all possible configuration options. This can be used to configure any extensions that needs to attach to this extension point.
 
std::vector< Extension::DescriptorgetExtensionDescriptors () const
 get all extension descriptions of this extension point
 
std::vector< rw::common::Ptr< Extension > > getExtensions () const
 get all extensions of this extension point
 
- Protected Member Functions inherited from ExtensionPoint< SimulatorLogEntryWidget::Dispatcher >
rw::common::PropertyMapgetSchema ()
 the schema describe the possible properties/configurations elements which is used in the PropertyMap. The schema property map should just be loaded with all possible configuration options which the extension might use. More...
 

Detailed Description

A factory for a SimulatorLogEntryWidget. This factory also defines an extension point for SimulatorLogEntryWidget::Dispatcher.

Member Function Documentation

◆ getWidgetDispatchers()

static std::list<SimulatorLogEntryWidget::Dispatcher::Ptr> getWidgetDispatchers ( rw::common::Ptr< const rwsim::log::SimulatorLog entry)
static

Get a list of widget dispatchers that accepts the given entry.

Parameters
entry[in] the entry to match.
Returns
the list of dispatchers.

◆ makeWidgets()

static std::list<SimulatorLogEntryWidget*> makeWidgets ( rw::common::Ptr< const rwsim::log::SimulatorLog entry,
QWidget *  parent = 0 
)
static

Create widget(s) for the given entry.

Parameters
entry[in] the entry to match.
parent[in] the parent Qt widget (optional).
Returns
a list of new widgets - ownership is shared by the caller and the parent widget if given.

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