The job class encapsulates a trajectory as defined by a motoman job file (*.JBI). This class makes certain assumptions about the job file structure and is not meant to be a generic implementation of a job class (but could be extended if the need arises) More...
#include <trajectory_job.h>
Public Member Functions | |
char * | getName () |
Returns job name. | |
char * | getName () |
Returns job name. | |
bool | init (const char *name) |
Class initializer. | |
bool | init (const char *name) |
Class initializer. | |
bool | toJobString (industrial::joint_traj::JointTraj &trajectory, char *str_buffer, size_t buffer_size) |
Generates a job string that can be written to a file. | |
bool | toJobString (industrial::joint_traj::JointTraj &trajectory, char *str_buffer, size_t buffer_size) |
Generates a job string that can be written to a file. | |
TrajectoryJob () | |
Constructor. | |
TrajectoryJob () | |
Constructor. | |
~TrajectoryJob () | |
Destructor. | |
~TrajectoryJob () | |
Destructor. | |
Private Attributes | |
char | line_buffer_ [LINE_BUFFER_SIZE_+1] |
Temporary line buffer used when generating a job file test string. | |
char | name_ [NAME_BUFFER_SIZE_+1] |
Name of the job file. |
The job class encapsulates a trajectory as defined by a motoman job file (*.JBI). This class makes certain assumptions about the job file structure and is not meant to be a generic implementation of a job class (but could be extended if the need arises)
THIS CLASS IS NOT THREAD-SAFE
Definition at line 76 of file include/dx100/trajectory_job.h.
Constructor.
Definition at line 103 of file trajectory_job.cpp.
Destructor.
Definition at line 106 of file trajectory_job.cpp.
Constructor.
Destructor.
char* motoman::trajectory_job::TrajectoryJob::getName | ( | void | ) | [inline] |
Returns job name.
Definition at line 119 of file include/dx100/trajectory_job.h.
char* motoman::trajectory_job::TrajectoryJob::getName | ( | void | ) | [inline] |
Returns job name.
Definition at line 119 of file motoplus/motoros_lib/output/trajectory_job.h.
bool motoman::trajectory_job::TrajectoryJob::init | ( | const char * | name | ) |
Class initializer.
job | name |
joint | trajectory |
bool motoman::trajectory_job::TrajectoryJob::init | ( | const char * | name | ) |
Class initializer.
job | name |
joint | trajectory |
Definition at line 110 of file trajectory_job.cpp.
bool motoman::trajectory_job::TrajectoryJob::toJobString | ( | industrial::joint_traj::JointTraj & | trajectory, |
char * | str_buffer, | ||
size_t | buffer_size | ||
) |
Generates a job string that can be written to a file.
str_buffer | |
buffer_size |
Definition at line 130 of file trajectory_job.cpp.
bool motoman::trajectory_job::TrajectoryJob::toJobString | ( | industrial::joint_traj::JointTraj & | trajectory, |
char * | str_buffer, | ||
size_t | buffer_size | ||
) |
Generates a job string that can be written to a file.
str_buffer | |
buffer_size |
char motoman::trajectory_job::TrajectoryJob::line_buffer_ [private] |
Temporary line buffer used when generating a job file test string.
Definition at line 119 of file include/dx100/trajectory_job.h.
char motoman::trajectory_job::TrajectoryJob::name_ [private] |
Name of the job file.
Definition at line 135 of file include/dx100/trajectory_job.h.