Class encapsulated joint feedback message generation methods (either to or from a industrial::simple_message::SimpleMessage type. More...
#include <joint_feedback_message.h>
Public Member Functions | |
unsigned int | byteLength () |
Virtual method returns the object size when packed into a ByteArray. | |
bool | getAccelerations (industrial::joint_data::JointData &dest) |
bool | getPositions (industrial::joint_data::JointData &dest) |
industrial::shared_types::shared_int | getRobotID () |
bool | getTime (industrial::shared_types::shared_real &time) |
bool | getVelocities (industrial::joint_data::JointData &dest) |
bool | init (industrial::simple_message::SimpleMessage &msg) |
Initializes message from a simple message. | |
void | init (industrial::joint_feedback::JointFeedback &data) |
Initializes message from a joint feedback structure. | |
void | init () |
Initializes a new message. | |
JointFeedbackMessage (void) | |
Default constructor. | |
bool | load (industrial::byte_array::ByteArray *buffer) |
Virtual method for loading an object into a ByteArray. | |
bool | unload (industrial::byte_array::ByteArray *buffer) |
Virtual method for unloading an object from a ByteArray. | |
~JointFeedbackMessage (void) | |
Destructor. | |
Private Attributes | |
industrial::joint_feedback::JointFeedback | data_ |
Class encapsulated joint feedback message generation methods (either to or from a industrial::simple_message::SimpleMessage type.
This message simply wraps the industrial::joint_feedback::JointFeedback data type. The data portion of this typed message matches JointFeedback.
THIS CLASS IS NOT THREAD-SAFE
Definition at line 65 of file joint_feedback_message.h.
Default constructor.
This method creates an empty message.
Definition at line 53 of file joint_feedback_message.cpp.
Destructor.
Definition at line 58 of file joint_feedback_message.cpp.
unsigned int industrial::joint_feedback_message::JointFeedbackMessage::byteLength | ( | ) | [inline, virtual] |
Virtual method returns the object size when packed into a ByteArray.
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 108 of file joint_feedback_message.h.
bool industrial::joint_feedback_message::JointFeedbackMessage::getAccelerations | ( | industrial::joint_data::JointData & | dest | ) | [inline] |
Definition at line 133 of file joint_feedback_message.h.
bool industrial::joint_feedback_message::JointFeedbackMessage::getPositions | ( | industrial::joint_data::JointData & | dest | ) | [inline] |
Definition at line 123 of file joint_feedback_message.h.
industrial::shared_types::shared_int industrial::joint_feedback_message::JointFeedbackMessage::getRobotID | ( | ) | [inline] |
Definition at line 113 of file joint_feedback_message.h.
bool industrial::joint_feedback_message::JointFeedbackMessage::getTime | ( | industrial::shared_types::shared_real & | time | ) | [inline] |
Definition at line 118 of file joint_feedback_message.h.
bool industrial::joint_feedback_message::JointFeedbackMessage::getVelocities | ( | industrial::joint_data::JointData & | dest | ) | [inline] |
Definition at line 128 of file joint_feedback_message.h.
bool industrial::joint_feedback_message::JointFeedbackMessage::init | ( | industrial::simple_message::SimpleMessage & | msg | ) | [virtual] |
Initializes message from a simple message.
simple | message to construct from |
Implements industrial::typed_message::TypedMessage.
Definition at line 63 of file joint_feedback_message.cpp.
void industrial::joint_feedback_message::JointFeedbackMessage::init | ( | industrial::joint_feedback::JointFeedback & | data | ) |
Initializes message from a joint feedback structure.
joint | feedback data structure |
Definition at line 80 of file joint_feedback_message.cpp.
void industrial::joint_feedback_message::JointFeedbackMessage::init | ( | ) | [virtual] |
Initializes a new message.
Implements industrial::typed_message::TypedMessage.
Definition at line 86 of file joint_feedback_message.cpp.
bool industrial::joint_feedback_message::JointFeedbackMessage::load | ( | industrial::byte_array::ByteArray * | buffer | ) | [virtual] |
Virtual method for loading an object into a ByteArray.
This method should load all the required data to reconstruct the class object into the buffer
buffer | pointer to ByteArray |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 92 of file joint_feedback_message.cpp.
bool industrial::joint_feedback_message::JointFeedbackMessage::unload | ( | industrial::byte_array::ByteArray * | buffer | ) | [virtual] |
Virtual method for unloading an object from a ByteArray.
This method should unload all the required data to reconstruct the class object (in place)
buffer | pointer to ByteArray |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 108 of file joint_feedback_message.cpp.
industrial::joint_feedback::JointFeedback industrial::joint_feedback_message::JointFeedbackMessage::data_ [private] |
Definition at line 140 of file joint_feedback_message.h.