MAV'RIC
Public Member Functions | Protected Member Functions
Mavlink_message_handler_T< N, P > Class Template Reference

Message handler. More...

#include <mavlink_message_handler.hpp>

Inheritance diagram for Mavlink_message_handler_T< N, P >:
Inheritance graph
[legend]
Collaboration diagram for Mavlink_message_handler_T< N, P >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Mavlink_message_handler_T (Mavlink_stream &mavlink_stream, const conf_t &config)
 Constructor.

Protected Member Functions

uint32_t msg_callback_max_count (void)
 Get maximum number of message callbacks.
uint32_t cmd_callback_max_count (void)
 Get maximum number of command callbacks.
msg_callback_t * msg_callback_list (void)
 Get list of message callbacks.
cmd_callback_tcmd_callback_list (void)
 Get list of command callbacks.

Detailed Description

template<uint32_t N, uint32_t P>
class Mavlink_message_handler_T< N, P >

Message handler.

Template Parameters:
NMaximum number of message callbacks
PMaximum number of command callbacks

Constructor & Destructor Documentation

template<uint32_t N, uint32_t P>
Mavlink_message_handler_T< N, P >::Mavlink_message_handler_T ( Mavlink_stream mavlink_stream,
const conf_t config 
) [inline]

Constructor.

Parameters:
configConfig parameters
mavlink_streammavlink stream

Member Function Documentation

template<uint32_t N, uint32_t P>
cmd_callback_t* Mavlink_message_handler_T< N, P >::cmd_callback_list ( void  ) [inline, protected, virtual]

Get list of command callbacks.

Returns:
list

Implements Mavlink_message_handler.

template<uint32_t N, uint32_t P>
uint32_t Mavlink_message_handler_T< N, P >::cmd_callback_max_count ( void  ) [inline, protected, virtual]

Get maximum number of command callbacks.

Returns:
Maximum number of command callbacks

Implements Mavlink_message_handler.

template<uint32_t N, uint32_t P>
msg_callback_t* Mavlink_message_handler_T< N, P >::msg_callback_list ( void  ) [inline, protected, virtual]

Get list of message callbacks.

Returns:
list

Implements Mavlink_message_handler.

template<uint32_t N, uint32_t P>
uint32_t Mavlink_message_handler_T< N, P >::msg_callback_max_count ( void  ) [inline, protected, virtual]

Get maximum number of message callbacks.

Returns:
Maximum number of message callbacks

Implements Mavlink_message_handler.


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines