$search
Interface for loading and unloading a class to/from a ByteArray. More...
#include <simple_serialize.h>
Public Member Functions | |
virtual unsigned int | byteLength ()=0 |
Virtual method returns the object size when packed into a ByteArray. | |
virtual bool | load (industrial::byte_array::ByteArray *buffer)=0 |
Virtual method for loading an object into a ByteArray. | |
virtual bool | unload (industrial::byte_array::ByteArray *buffer)=0 |
Virtual method for unloading an object from a ByteArray. |
Interface for loading and unloading a class to/from a ByteArray.
Definition at line 58 of file simple_serialize.h.
virtual unsigned int industrial::simple_serialize::SimpleSerialize::byteLength | ( | ) | [pure virtual] |
Virtual method returns the object size when packed into a ByteArray.
Implemented in industrial::joint_data::JointData, industrial::joint_traj::JointTraj, industrial::joint_traj_pt::JointTrajPt, industrial::joint_message::JointMessage, industrial::joint_traj_pt_message::JointTrajPtMessage, and industrial::ping_message::PingMessage.
virtual bool industrial::simple_serialize::SimpleSerialize::load | ( | industrial::byte_array::ByteArray * | buffer | ) | [pure 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 |
Implemented in industrial::joint_data::JointData, industrial::joint_traj::JointTraj, industrial::joint_traj_pt::JointTrajPt, industrial::joint_message::JointMessage, industrial::joint_traj_pt_message::JointTrajPtMessage, and industrial::ping_message::PingMessage.
virtual bool industrial::simple_serialize::SimpleSerialize::unload | ( | industrial::byte_array::ByteArray * | buffer | ) | [pure 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 |
Implemented in industrial::joint_data::JointData, industrial::joint_traj::JointTraj, industrial::joint_traj_pt::JointTrajPt, industrial::joint_message::JointMessage, industrial::joint_traj_pt_message::JointTrajPtMessage, and industrial::ping_message::PingMessage.