Wiselib
Public Types | Public Member Functions | Static Public Attributes
wiselib::CbtcTopologyMessage< OsModel_P, Radio_P > Class Template Reference

#include <cbtc_topology_message.h>

List of all members.

Public Types

typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Radio::block_data_t block_data_t
typedef Radio::node_id_t node_id_t

Public Member Functions

 CbtcTopologyMessage (uint8_t id)
uint8_t msg_id ()
void set_msg_id (uint8_t id)
int power ()
void set_power (int power)
double position_x ()
double position_y ()
void set_position (double x, double y)

Static Public Attributes

uint8_t static const HELLO_SIZE = sizeof(uint8_t) + sizeof(int) + sizeof(double) * 2
uint8_t static const ACK_SIZE = sizeof(uint8_t) + sizeof(int) + sizeof(double) * 2
uint8_t static const ASYMMETRIC_SIZE = sizeof(uint8_t)
uint8_t static const NDP_SIZE = sizeof(uint8_t) + sizeof(int) + sizeof(double) * 2

template<typename OsModel_P, typename Radio_P>
class wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >


Member Typedef Documentation

template<typename OsModel_P, typename Radio_P>
typedef Radio::block_data_t wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::block_data_t
template<typename OsModel_P, typename Radio_P>
typedef Radio::node_id_t wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::node_id_t
template<typename OsModel_P, typename Radio_P>
typedef OsModel_P wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::OsModel
template<typename OsModel_P, typename Radio_P>
typedef Radio_P wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::Radio

Constructor & Destructor Documentation

template<typename OsModel_P , typename Radio_P >
wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::CbtcTopologyMessage ( uint8_t  id) [inline]

Member Function Documentation

template<typename OsModel_P, typename Radio_P>
uint8_t wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::msg_id ( ) [inline]
template<typename OsModel_P, typename Radio_P>
double wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::position_x ( ) [inline]
template<typename OsModel_P, typename Radio_P>
double wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::position_y ( ) [inline]
template<typename OsModel_P, typename Radio_P>
int wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::power ( ) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::set_msg_id ( uint8_t  id) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::set_position ( double  x,
double  y 
) [inline]
template<typename OsModel_P, typename Radio_P>
void wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::set_power ( int  power) [inline]

Member Data Documentation

template<typename OsModel_P, typename Radio_P>
uint8_t static const wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::ACK_SIZE = sizeof(uint8_t) + sizeof(int) + sizeof(double) * 2 [static]
template<typename OsModel_P, typename Radio_P>
uint8_t static const wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::ASYMMETRIC_SIZE = sizeof(uint8_t) [static]
template<typename OsModel_P, typename Radio_P>
uint8_t static const wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::HELLO_SIZE = sizeof(uint8_t) + sizeof(int) + sizeof(double) * 2 [static]
template<typename OsModel_P, typename Radio_P>
uint8_t static const wiselib::CbtcTopologyMessage< OsModel_P, Radio_P >::NDP_SIZE = sizeof(uint8_t) + sizeof(int) + sizeof(double) * 2 [static]

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