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

A factory for engine tests. This factory also defines an ExtensionPoint. More...

#include <EngineTest.hpp>

Inherits ExtensionPoint< EngineTest >.

Static Public Member Functions

static std::vector< std::string > getTests ()
 Get the available tests. More...
 
static bool hasTest (const std::string &test)
 Check if test is available. More...
 
static EngineTest::Ptr getTest (const std::string &test)
 Create a new test. More...
 

Additional Inherited Members

- Public Types inherited from ExtensionPoint< EngineTest >
typedef rw::common::Ptr< ExtensionPointPtr
 smart pointer type of ExtensionPoint
 
- Public Member Functions inherited from ExtensionPoint< EngineTest >
 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< EngineTest >
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 engine tests. This factory also defines an ExtensionPoint.

Member Function Documentation

◆ getTest()

static EngineTest::Ptr getTest ( const std::string &  test)
static

Create a new test.

Parameters
test[in] the name of the test.
Returns
a pointer to a new EngineTest.

◆ getTests()

static std::vector<std::string> getTests ( )
static

Get the available tests.

Returns
a vector of identifiers for tests.

◆ hasTest()

static bool hasTest ( const std::string &  test)
static

Check if test is available.

Parameters
test[in] the name of the test.
Returns
true if available, false otherwise.

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