RobWorkProject  24.5.15-
Classes | Public Member Functions | List of all members
DOMTaskSaver Class Reference

Saver for the RobWork task format, using the DOMParser. More...

#include <DOMTaskSaver.hpp>

Inherits TaskSaver.

Classes

class  Initializer
 Utility class which initializes local static variables. More...
 

Public Member Functions

 DOMTaskSaver ()
 Constructor.
 
virtual ~DOMTaskSaver ()
 Destructor.
 
bool save (rwlibs::task::QTask::Ptr task, std::ostream &outstream)
 Save task to output stream. More...
 
bool save (rwlibs::task::CartesianTask::Ptr task, std::ostream &outstream)
 Save task to output stream. More...
 
bool save (rwlibs::task::QTask::Ptr task, const std::string &filename)
 Save task to file. More...
 
bool save (rwlibs::task::CartesianTask::Ptr task, const std::string &filename)
 Save task to file. More...
 
- Public Member Functions inherited from TaskSaver
 TaskSaver ()
 Constructor.
 
virtual ~TaskSaver ()
 Destructor.
 

Additional Inherited Members

- Public Types inherited from TaskSaver
typedef rw::core::Ptr< TaskSaverPtr
 Smart pointer type for a TaskSaver.
 

Detailed Description

Saver for the RobWork task format, using the DOMParser.

Member Function Documentation

◆ save() [1/4]

bool save ( rwlibs::task::CartesianTask::Ptr  task,
const std::string &  filename 
)
virtual

Save task to file.

Parameters
task[in] the task to save.
filename[in] the filename to save to.
Returns
true if file was written successfully.

Implements TaskSaver.

◆ save() [2/4]

bool save ( rwlibs::task::CartesianTask::Ptr  task,
std::ostream &  outstream 
)
virtual

Save task to output stream.

Parameters
task[in] the task to write.
outstream[out] the stream to write to.
Returns
true if write was successful.

Implements TaskSaver.

◆ save() [3/4]

bool save ( rwlibs::task::QTask::Ptr  task,
const std::string &  filename 
)
virtual

Save task to file.

Parameters
task[in] the task to save.
filename[in] the filename to save to.
Returns
true if file was written successfully.

Implements TaskSaver.

◆ save() [4/4]

bool save ( rwlibs::task::QTask::Ptr  task,
std::ostream &  outstream 
)
virtual

Save task to output stream.

Parameters
task[in] the task to write.
outstream[out] the stream to write to.
Returns
true if write was successful.

Implements TaskSaver.


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