RobWorkProject
23.9.11-
|
Interface for loaders of the task format. More...
#include <TaskLoader.hpp>
Inherited by DOMTaskLoader, and XMLTaskLoader.
Classes | |
class | Factory |
A factory for TaskLoader. This factory also defines an extension point for task loaders. More... | |
Public Types | |
typedef rw::core::Ptr< TaskLoader > | Ptr |
Smart pointer type for a TaskLoader. | |
Public Member Functions | |
TaskLoader () | |
Constructor. | |
virtual | ~TaskLoader () |
Destructor. | |
virtual void | load (const std::string &filename, const std::string &schemaFileName="")=0 |
Load a task from a file. More... | |
virtual void | load (std::istream &instream, const std::string &schemaFileName="")=0 |
Load a task from an input stream. More... | |
virtual rwlibs::task::QTask::Ptr | getQTask ()=0 |
Get an already loaded QTask. More... | |
virtual rwlibs::task::CartesianTask::Ptr | getCartesianTask ()=0 |
Get an already loaded CartesianTask. More... | |
virtual rwlibs::task::TaskBase::Ptr | getTask ()=0 |
Get an already loaded Task. More... | |
virtual TaskLoader::Ptr | clone () const =0 |
Clone the TaskLoader. More... | |
Interface for loaders of the task format.
|
pure virtual |
Clone the TaskLoader.
Implemented in XMLTaskLoader, and DOMTaskLoader.
|
pure virtual |
Get an already loaded CartesianTask.
Implemented in XMLTaskLoader, and DOMTaskLoader.
|
pure virtual |
Get an already loaded QTask.
Implemented in XMLTaskLoader, and DOMTaskLoader.
|
pure virtual |
Get an already loaded Task.
Implemented in XMLTaskLoader, and DOMTaskLoader.
|
pure virtual |
Load a task from a file.
filename | [in] the filename. |
schemaFileName | [in] (optional) a schema describing the layout. |
Implemented in XMLTaskLoader, and DOMTaskLoader.
|
pure virtual |
Load a task from an input stream.
instream | [in] the stream to load from. |
schemaFileName | [in] (optional) a schema describing the layout. |
Implemented in XMLTaskLoader, and DOMTaskLoader.