Class encapsulated write single io data. FSRobo-R specific interface to set IO element on the controller. More...
#include <execute_program.h>
Public Member Functions | |
unsigned int | byteLength () |
void | copyFrom (ExecuteProgram &src) |
Copies the passed in value. More... | |
ExecuteProgram (void) | |
Default constructor. More... | |
void | getName (SimpleString &dest) |
Returns a copy of the name data. More... | |
void | getParam (SimpleString &dest) |
Returns a copy of the name data. More... | |
void | init () |
Initializes a empty execute program command. More... | |
void | init (SimpleString &name, SimpleString ¶m) |
Initializes a complete execute program command. More... | |
bool | load (industrial::byte_array::ByteArray *buffer) |
bool | operator== (ExecuteProgram &rhs) |
== operator implementation More... | |
void | setName (SimpleString &name) |
Sets name data. More... | |
void | setParam (SimpleString ¶m) |
Sets param data. More... | |
bool | unload (industrial::byte_array::ByteArray *buffer) |
~ExecuteProgram (void) | |
Destructor. More... | |
Private Attributes | |
SimpleString | name_ |
Value of program name. More... | |
SimpleString | param_ |
Value of program param. More... | |
Class encapsulated write single io data. FSRobo-R specific interface to set IO element on the controller.
The byte representation of a write single IO command is as follows (in order lowest index to highest). The standard sizes are given, but can change based on type sizes:
member: type size address (industrial::shared_types::shared_int) 4 bytes value (industrial::shared_types::shared_int) 4 bytes
THIS CLASS IS NOT THREAD-SAFE
Definition at line 62 of file execute_program.h.
fsrobo_r_driver::simple_message::execute_program::ExecuteProgram::ExecuteProgram | ( | void | ) |
Default constructor.
This method creates empty data.
Definition at line 45 of file execute_program.cpp.
fsrobo_r_driver::simple_message::execute_program::ExecuteProgram::~ExecuteProgram | ( | void | ) |
Destructor.
Definition at line 46 of file execute_program.cpp.
|
inlinevirtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 147 of file execute_program.h.
void fsrobo_r_driver::simple_message::execute_program::ExecuteProgram::copyFrom | ( | ExecuteProgram & | src | ) |
Copies the passed in value.
src | (value to copy) |
Definition at line 56 of file execute_program.cpp.
|
inline |
Returns a copy of the name data.
dest | name |
Definition at line 106 of file execute_program.h.
|
inline |
Returns a copy of the name data.
dest | name |
Definition at line 126 of file execute_program.h.
void fsrobo_r_driver::simple_message::execute_program::ExecuteProgram::init | ( | ) |
Initializes a empty execute program command.
Definition at line 46 of file execute_program.cpp.
void fsrobo_r_driver::simple_message::execute_program::ExecuteProgram::init | ( | SimpleString & | name, |
SimpleString & | param | ||
) |
Initializes a complete execute program command.
Definition at line 50 of file execute_program.cpp.
|
virtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 69 of file execute_program.cpp.
bool fsrobo_r_driver::simple_message::execute_program::ExecuteProgram::operator== | ( | ExecuteProgram & | rhs | ) |
|
inline |
|
inline |
|
virtual |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 90 of file execute_program.cpp.
|
private |
Value of program name.
Definition at line 156 of file execute_program.h.
|
private |
Value of program param.
Definition at line 161 of file execute_program.h.