Data class storing all information regarding a Sequence command.
More...
#include <sequence.h>
|
void | add (const CmdVariant &cmd, const double blend_radius=0.) |
| Adds a command to the end of the sequence. More...
|
|
template<class T > |
bool | cmdIsOfType (const size_t index_cmd) const |
|
void | erase (const size_t start, const size_t end) |
| Deletes all commands from index 'start' to index 'end'. More...
|
|
double | getBlendRadius (const size_t index_cmd) const |
|
template<class T > |
T & | getCmd (const size_t index_cmd) |
|
template<class T > |
const T & | getCmd (const size_t index_cmd) const |
|
MotionCmd & | getCmd (const size_t index_cmd) |
| Returns the specific command as base class reference. This function allows the user to operate on the sequence without having knowledge of the underlying specific command type. More...
|
|
void | setAllBlendRadiiToZero () |
|
void | setBlendRadius (const size_t index_cmd, const double blend_radius) |
|
size_t | size () const |
| Returns the number of commands. More...
|
|
pilz_msgs::MotionSequenceRequest | toRequest () const |
|
Data class storing all information regarding a Sequence command.
Definition at line 36 of file sequence.h.
void pilz_industrial_motion_testutils::Sequence::add |
( |
const CmdVariant & |
cmd, |
|
|
const double |
blend_radius = 0. |
|
) |
| |
|
inline |
Adds a command to the end of the sequence.
- Parameters
-
cmd | The command which has to be added. |
Definition at line 86 of file sequence.h.
template<class T >
bool pilz_industrial_motion_testutils::Sequence::cmdIsOfType |
( |
const size_t |
index_cmd | ) |
const |
|
inline |
- Returns
- TRUE if the specified command is of the specified type, otherwise FALSE.
Definition at line 124 of file sequence.h.
void pilz_industrial_motion_testutils::Sequence::erase |
( |
const size_t |
start, |
|
|
const size_t |
end |
|
) |
| |
Deletes all commands from index 'start' to index 'end'.
Definition at line 78 of file sequence.cpp.
double pilz_industrial_motion_testutils::Sequence::getBlendRadius |
( |
const size_t |
index_cmd | ) |
const |
|
inline |
template<class T >
T & pilz_industrial_motion_testutils::Sequence::getCmd |
( |
const size_t |
index_cmd | ) |
|
|
inline |
template<class T >
const T & pilz_industrial_motion_testutils::Sequence::getCmd |
( |
const size_t |
index_cmd | ) |
const |
|
inline |
MotionCmd & pilz_industrial_motion_testutils::Sequence::getCmd |
( |
const size_t |
index_cmd | ) |
|
Returns the specific command as base class reference. This function allows the user to operate on the sequence without having knowledge of the underlying specific command type.
Definition at line 98 of file sequence.cpp.
void pilz_industrial_motion_testutils::Sequence::setAllBlendRadiiToZero |
( |
| ) |
|
|
inline |
void pilz_industrial_motion_testutils::Sequence::setBlendRadius |
( |
const size_t |
index_cmd, |
|
|
const double |
blend_radius |
|
) |
| |
|
inline |
size_t pilz_industrial_motion_testutils::Sequence::size |
( |
| ) |
const |
|
inline |
Returns the number of commands.
Definition at line 91 of file sequence.h.
pilz_msgs::MotionSequenceRequest pilz_industrial_motion_testutils::Sequence::toRequest |
( |
| ) |
const |
std::vector<TCmdRadiiPair > pilz_industrial_motion_testutils::Sequence::cmds_ |
|
private |
The documentation for this class was generated from the following files: