sick::msg_builder_t Class Reference
#include <sick_msg_builder.H>
List of all members.
Constructor & Destructor Documentation
msg_builder_t::msg_builder_t |
( |
|
) |
|
virtual sick::msg_builder_t::~msg_builder_t |
( |
|
) |
[inline, virtual] |
Member Function Documentation
virtual unsigned sick::msg_builder_t::_build |
( |
void |
|
) |
[protected, pure virtual] |
unsigned msg_builder_t::build |
( |
unsigned |
address, |
|
|
unsigned char * |
data, |
|
|
unsigned |
max_size | |
|
) |
| | |
References _build(), sick::msg_t::ADDRESS_OFFSET, sick::msg_t::calc_crc(), encode(), sick::msg_t::ENVELOPE_SIZE, sick::msg_t::HEADER_SIZE, endian::htole(), m_data, m_max_size, m_offset, sick::msg_t::MSG_ID_OFFSET, sick::msg_t::MSG_LEN_OFFSET, and sick::msg_t::STX.
Referenced by main(), cajun::sick_t::setup(), and setup().
void sick::msg_builder_t::encode |
( |
void * |
data, |
|
|
unsigned |
size | |
|
) |
| | [inline, protected] |
template<typename T >
void sick::msg_builder_t::encode |
( |
T const & |
v |
) |
[inline, protected] |
Member Data Documentation
The documentation for this class was generated from the following files: