#include <ibeo_alasca.H>
Classes | |
| class | observer_t |
Public Member Functions | |
| ibeo_alasca_t () | |
| ~ibeo_alasca_t () | |
| int | create_tcp_socket () |
| bool | connect_tcp_interface (int, char *, int) |
| void | handle_input (int fd_) |
| void | debug (bool flag) |
| void | register_observer (observer_t *observer) |
| ibeo_alasca_t () | |
| ~ibeo_alasca_t () | |
| int | create_tcp_socket () |
| bool | connect_tcp_interface (int, char *, int) |
| void | handle_input (int fd_) |
| void | debug (bool flag) |
| void | register_observer (observer_t *observer) |
| bool | decode_message_body (ibeo_message_header_t *) |
Protected Member Functions | |
| bool | decode_msg (msg_t const &msg_) |
Protected Attributes | |
| bool | m_garbage_data |
| input_buffer_t * | m_ib |
| observer_t * | m_observer |
| bool | m_debug |
| object_data_t | m_object_data |
| double | m_sys_tstamp |
| unsigned | m_magic_word |
| unsigned | m_size |
| unsigned | m_msgtype |
| unsigned | m_timestamp |
Static Protected Attributes | |
| static unsigned const | BUFFER_SIZE = 103808 |
| static unsigned const | OBJECT_MESSAGE = 1 |
| static unsigned const | SCAN_MESSAGE = 15 |
| static unsigned const | ALASCA_SCANNER = 2 |
| ibeo_alasca_t::ibeo_alasca_t | ( | ) |
| ibeo_alasca_t::~ibeo_alasca_t | ( | ) |
References m_ib.
| cajun::ibeo_alasca_t::ibeo_alasca_t | ( | ) |
| cajun::ibeo_alasca_t::~ibeo_alasca_t | ( | ) |
| bool cajun::ibeo_alasca_t::connect_tcp_interface | ( | int | , | |
| char * | , | |||
| int | ||||
| ) |
| bool ibeo_alasca_t::connect_tcp_interface | ( | int | socket_fd, | |
| char * | ip_address, | |||
| int | tcp_port | |||
| ) |
References BUFFER_SIZE, and m_ib.
Referenced by main().
| int cajun::ibeo_alasca_t::create_tcp_socket | ( | ) |
| int ibeo_alasca_t::create_tcp_socket | ( | ) |
Referenced by main().
| void cajun::ibeo_alasca_t::debug | ( | bool | flag | ) | [inline] |
References m_debug.
| void cajun::ibeo_alasca_t::debug | ( | bool | flag | ) | [inline] |
References m_debug.
| bool ibeo_alasca_t::decode_message_body | ( | ibeo_message_header_t * | ibeo_message_header_ | ) |
| bool ibeo_alasca_t::decode_msg | ( | msg_t const & | msg_ | ) | [protected] |
References ibeo::msg_t::data(), ibeo::ibeo_object_data_t::decode_format(), ibeo::ibeo_object_data_t::decode_long_format_obj_data(), ibeo::ibeo_object_data_t::decode_short_format_obj_data(), cajun::ibeo_alasca_t::observer_t::ERROR_DECODING_OBJECT_DATA, ibeo::msg_t::HEADER_SIZE, cajun::ibeo_alasca_t::observer_t::ibeo_object(), ibeo::ibeo_object_data_t::LONG_FORMAT, m_object_data, m_observer, cajun::ibeo_alasca_t::observer_t::publish_status(), cajun::ibeo_alasca_t::observer_t::scan(), ibeo::ibeo_object_data_t::SHORT_FORMAT, ibeo::msg_t::size(), ibeo::msg_t::type(), ibeo::msg_t::TYPE_OBJECT, ibeo::msg_t::TYPE_SCAN, and cajun::ibeo_alasca_t::observer_t::UNKNOWN_MESSAGE_FORMAT.
Referenced by handle_input().
| void cajun::ibeo_alasca_t::handle_input | ( | int | fd_ | ) |
| void ibeo_alasca_t::handle_input | ( | int | fd_ | ) |
| void cajun::ibeo_alasca_t::register_observer | ( | observer_t * | observer | ) | [inline] |
References m_observer.
| void cajun::ibeo_alasca_t::register_observer | ( | observer_t * | observer | ) | [inline] |
References m_observer.
Referenced by main().
unsigned const cajun::ibeo_alasca_t::ALASCA_SCANNER = 2 [static, protected] |
static unsigned const cajun::ibeo_alasca_t::BUFFER_SIZE = 103808 [static, protected] |
Referenced by connect_tcp_interface().
bool cajun::ibeo_alasca_t::m_debug [protected] |
Referenced by debug().
bool cajun::ibeo_alasca_t::m_garbage_data [protected] |
Referenced by handle_input().
input_buffer_t * cajun::ibeo_alasca_t::m_ib [protected] |
Referenced by connect_tcp_interface(), handle_input(), and ~ibeo_alasca_t().
unsigned cajun::ibeo_alasca_t::m_magic_word [protected] |
unsigned cajun::ibeo_alasca_t::m_msgtype [protected] |
Referenced by decode_message_body().
object_data_t cajun::ibeo_alasca_t::m_object_data [protected] |
Referenced by decode_msg().
observer_t * cajun::ibeo_alasca_t::m_observer [protected] |
Referenced by decode_msg(), handle_input(), and register_observer().
unsigned cajun::ibeo_alasca_t::m_size [protected] |
Referenced by decode_message_body().
double cajun::ibeo_alasca_t::m_sys_tstamp [protected] |
unsigned cajun::ibeo_alasca_t::m_timestamp [protected] |
Referenced by decode_message_body().
unsigned const cajun::ibeo_alasca_t::OBJECT_MESSAGE = 1 [static, protected] |
unsigned const cajun::ibeo_alasca_t::SCAN_MESSAGE = 15 [static, protected] |
1.6.1