RobWorkProject
24.8.23-
|
Interface for savers of the task format. More...
#include <TaskSaver.hpp>
Inherited by DOMTaskSaver, and XMLTaskSaver.
Classes | |
class | Factory |
A factory for TaskSaver. This factory also defines an extension point for task savers. More... | |
Public Types | |
typedef rw::core::Ptr< TaskSaver > | Ptr |
Smart pointer type for a TaskSaver. | |
Public Member Functions | |
TaskSaver () | |
Constructor. | |
virtual | ~TaskSaver () |
Destructor. | |
virtual bool | save (rwlibs::task::QTask::Ptr task, std::ostream &outstream)=0 |
Save task to output stream. More... | |
virtual bool | save (rwlibs::task::CartesianTask::Ptr task, std::ostream &outstream)=0 |
Save task to output stream. More... | |
virtual bool | save (rwlibs::task::QTask::Ptr task, const std::string &filename)=0 |
Save task to file. More... | |
virtual bool | save (rwlibs::task::CartesianTask::Ptr task, const std::string &filename)=0 |
Save task to file. More... | |
Interface for savers of the task format.
|
pure virtual |
Save task to file.
task | [in] the task to save. |
filename | [in] the filename to save to. |
Implemented in XMLTaskSaver, DOMTaskSaver, XMLTaskSaver, and DOMTaskSaver.
|
pure virtual |
Save task to output stream.
task | [in] the task to write. |
outstream | [out] the stream to write to. |
Implemented in XMLTaskSaver, DOMTaskSaver, XMLTaskSaver, and DOMTaskSaver.
|
pure virtual |
Save task to file.
task | [in] the task to save. |
filename | [in] the filename to save to. |
Implemented in XMLTaskSaver, DOMTaskSaver, XMLTaskSaver, and DOMTaskSaver.
|
pure virtual |
Save task to output stream.
task | [in] the task to write. |
outstream | [out] the stream to write to. |
Implemented in XMLTaskSaver, DOMTaskSaver, XMLTaskSaver, and DOMTaskSaver.