#include <joint_feedback_ex.h>
Public Member Functions | |
unsigned int | byteLength () |
void | copyFrom (JointFeedbackEx &src) |
Copies the passed in value. | |
industrial::shared_types::shared_int | getGroupsNumber () |
Gets groups_number Gets the number of groups currently running on the controller. | |
std::vector < industrial::joint_feedback_message::JointFeedbackMessage > | getJointMessages () |
void | init () |
Initializes a empty joint feedback ex. | |
void | init (industrial::shared_types::shared_int groups_number, std::vector< industrial::joint_feedback_message::JointFeedbackMessage > joints_feedback_points) |
Initializes a complete joint feedback ex. | |
JointFeedbackEx (void) | |
Default constructor. | |
bool | load (industrial::byte_array::ByteArray *buffer) |
check the validity state for a given field | |
bool | operator== (JointFeedbackEx &rhs) |
== operator implementation | |
void | setGroupsNumber (industrial::shared_types::shared_int groups_number) |
Sets groups_number_ Numbers of group, this sets the amount of control groups connected to the controller. | |
void | setJointMessages (std::vector< industrial::joint_feedback_message::JointFeedbackMessage > joint_feedback_messages) |
bool | unload (industrial::byte_array::ByteArray *buffer) |
~JointFeedbackEx (void) | |
Destructor. | |
Private Attributes | |
industrial::shared_types::shared_int | groups_number_ |
Number of groups attached to the controller. | |
std::vector < industrial::joint_feedback_message::JointFeedbackMessage > | joint_feedback_messages_ |
industrial::joint_data::JointData | positions_ |
Static Private Attributes | |
static const industrial::shared_types::shared_int | MAX_NUM_GROUPS = 4 |
Definition at line 60 of file joint_feedback_ex.h.
Default constructor.
This method creates empty data.
Definition at line 54 of file joint_feedback_ex.cpp.
Destructor.
Definition at line 58 of file joint_feedback_ex.cpp.
unsigned int industrial::joint_feedback_ex::JointFeedbackEx::byteLength | ( | ) | [inline, virtual] |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 144 of file joint_feedback_ex.h.
Copies the passed in value.
src | (value to copy) |
Definition at line 74 of file joint_feedback_ex.cpp.
industrial::shared_types::shared_int industrial::joint_feedback_ex::JointFeedbackEx::getGroupsNumber | ( | ) | [inline] |
Gets groups_number Gets the number of groups currently running on the controller.
Definition at line 116 of file joint_feedback_ex.h.
std::vector<industrial::joint_feedback_message::JointFeedbackMessage> industrial::joint_feedback_ex::JointFeedbackEx::getJointMessages | ( | ) | [inline] |
Definition at line 105 of file joint_feedback_ex.h.
Initializes a empty joint feedback ex.
Definition at line 62 of file joint_feedback_ex.cpp.
void industrial::joint_feedback_ex::JointFeedbackEx::init | ( | industrial::shared_types::shared_int | groups_number, |
std::vector< industrial::joint_feedback_message::JointFeedbackMessage > | joints_feedback_points | ||
) |
Initializes a complete joint feedback ex.
bool industrial::joint_feedback_ex::JointFeedbackEx::load | ( | industrial::byte_array::ByteArray * | buffer | ) | [virtual] |
check the validity state for a given field
field | field to check |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 85 of file joint_feedback_ex.cpp.
bool industrial::joint_feedback_ex::JointFeedbackEx::operator== | ( | JointFeedbackEx & | rhs | ) |
== operator implementation
Definition at line 80 of file joint_feedback_ex.cpp.
void industrial::joint_feedback_ex::JointFeedbackEx::setGroupsNumber | ( | industrial::shared_types::shared_int | groups_number | ) | [inline] |
Sets groups_number_ Numbers of group, this sets the amount of control groups connected to the controller.
groups_number | new groups_number value |
Definition at line 95 of file joint_feedback_ex.h.
void industrial::joint_feedback_ex::JointFeedbackEx::setJointMessages | ( | std::vector< industrial::joint_feedback_message::JointFeedbackMessage > | joint_feedback_messages | ) | [inline] |
Definition at line 100 of file joint_feedback_ex.h.
bool industrial::joint_feedback_ex::JointFeedbackEx::unload | ( | industrial::byte_array::ByteArray * | buffer | ) | [virtual] |
Implements industrial::simple_serialize::SimpleSerialize.
Definition at line 110 of file joint_feedback_ex.cpp.
industrial::shared_types::shared_int industrial::joint_feedback_ex::JointFeedbackEx::groups_number_ [private] |
Number of groups attached to the controller.
Definition at line 154 of file joint_feedback_ex.h.
std::vector<industrial::joint_feedback_message::JointFeedbackMessage> industrial::joint_feedback_ex::JointFeedbackEx::joint_feedback_messages_ [private] |
Definition at line 156 of file joint_feedback_ex.h.
const industrial::shared_types::shared_int industrial::joint_feedback_ex::JointFeedbackEx::MAX_NUM_GROUPS = 4 [static, private] |
Definition at line 160 of file joint_feedback_ex.h.
industrial::joint_data::JointData industrial::joint_feedback_ex::JointFeedbackEx::positions_ [private] |
Definition at line 158 of file joint_feedback_ex.h.