#include <msg_0xC4.H>
Public Types | |
enum | units_t { UNTIS_CM = 0, UNTIS_MM = 1 } |
Public Member Functions | |
msg_0xC4_t () | |
msg_0xC4_t (msg_t const *msg) | |
unsigned | scan_flags (void) const |
unsigned | num_beams (void) const |
units_t | units (void) const |
unsigned | beam_flags (unsigned b) const |
unsigned | num_reflect_val () const |
unsigned | first_reflect_val () const |
unsigned | last_reflect_val () const |
unsigned | reflectivity (unsigned b) const |
unsigned | scan_index (void) const |
unsigned | dgram_index (void) const |
Static Protected Attributes | |
static unsigned const | SCAN_FLAGS_OFFSET = 5 |
static unsigned const | BEAM_BASE_OFFSET = 7 |
static unsigned const | BEAM_SIZE = 2 |
static unsigned const | REFLECT_SIZE = 1 |
sick::msg_0xC4_t::msg_0xC4_t | ( | ) |
sick::msg_0xC4_t::msg_0xC4_t | ( | msg_t const * | msg | ) | [inline] |
unsigned sick::msg_0xC4_t::beam_flags | ( | unsigned | b | ) | const [inline] |
References BEAM_BASE_OFFSET, BEAM_SIZE, sick::msg_t::m_data, and num_beams().
Referenced by msg_0xC4_printer(), and sick_observer_t::scan().
unsigned sick::msg_0xC4_t::dgram_index | ( | void | ) | const [inline] |
References BEAM_BASE_OFFSET, BEAM_SIZE, sick::msg_t::m_data, num_beams(), num_reflect_val(), and REFLECT_SIZE.
Referenced by msg_0xC4_printer().
unsigned sick::msg_0xC4_t::first_reflect_val | ( | ) | const [inline] |
References BEAM_BASE_OFFSET, BEAM_SIZE, sick::msg_t::m_data, and num_beams().
Referenced by reflectivity().
unsigned sick::msg_0xC4_t::last_reflect_val | ( | ) | const [inline] |
References BEAM_BASE_OFFSET, BEAM_SIZE, sick::msg_t::m_data, and num_beams().
Referenced by reflectivity().
unsigned sick::msg_0xC4_t::num_beams | ( | void | ) | const [inline] |
References scan_flags().
Referenced by beam_flags(), dgram_index(), first_reflect_val(), last_reflect_val(), msg_0xC4_printer(), num_reflect_val(), reflectivity(), sick_observer_t::scan(), and scan_index().
unsigned sick::msg_0xC4_t::num_reflect_val | ( | ) | const [inline] |
References BEAM_BASE_OFFSET, BEAM_SIZE, sick::msg_t::m_data, and num_beams().
Referenced by dgram_index(), msg_0xC4_printer(), and scan_index().
unsigned sick::msg_0xC4_t::reflectivity | ( | unsigned | b | ) | const [inline] |
References BEAM_BASE_OFFSET, BEAM_SIZE, first_reflect_val(), last_reflect_val(), sick::msg_t::m_data, num_beams(), and REFLECT_SIZE.
Referenced by sick_observer_t::scan().
unsigned sick::msg_0xC4_t::scan_flags | ( | void | ) | const [inline] |
References sick::msg_t::m_data, and SCAN_FLAGS_OFFSET.
Referenced by msg_0xC4_printer(), num_beams(), and units().
unsigned sick::msg_0xC4_t::scan_index | ( | void | ) | const [inline] |
References BEAM_BASE_OFFSET, BEAM_SIZE, sick::msg_t::m_data, num_beams(), num_reflect_val(), and REFLECT_SIZE.
Referenced by msg_0xC4_printer().
units_t sick::msg_0xC4_t::units | ( | void | ) | const [inline] |
References scan_flags().
Referenced by msg_0xC4_printer(), and sick_observer_t::scan().
unsigned const sick::msg_0xC4_t::BEAM_BASE_OFFSET = 7 [static, protected] |
Referenced by beam_flags(), dgram_index(), first_reflect_val(), last_reflect_val(), num_reflect_val(), reflectivity(), and scan_index().
unsigned const sick::msg_0xC4_t::BEAM_SIZE = 2 [static, protected] |
Referenced by beam_flags(), dgram_index(), first_reflect_val(), last_reflect_val(), num_reflect_val(), reflectivity(), and scan_index().
unsigned const sick::msg_0xC4_t::REFLECT_SIZE = 1 [static, protected] |
Referenced by dgram_index(), reflectivity(), and scan_index().
unsigned const sick::msg_0xC4_t::SCAN_FLAGS_OFFSET = 5 [static, protected] |
Referenced by scan_flags().