Wiselib
Public Types | Public Member Functions
wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P > Class Template Reference

#include <com_isense_radio.h>

Inherits wiselib::ExtendedRadioBase< OsModel_P, pc_node_id_t, OsModel_P::size_t, OsModel_P::block_data_t, RADIO_BASE_MAX_RECEIVERS, ExtendedData_P >.

List of all members.

Public Types

enum  SpecialNodeIds { BROADCAST_ADDRESS = 0xffff, NULL_NODE_ID = 0 }
enum  Restrictions { MAX_MESSAGE_LENGTH = 116 }
typedef ExtendedData_P ExtendedData
typedef OsModel_P OsModel
typedef ComUart_P ComUart
typedef pc_node_id_t node_id_t
typedef OsModel_P::block_data_t block_data_t
typedef OsModel_P::size_t size_t
typedef uint8_t message_id_t
typedef ComISensePacket< OsModelpacket_t
typedef ComISenseRadioModel
< OsModel, ComUart,
ExtendedData
self_type
typedef self_typeself_pointer_t
typedef ComIsenseTxPower< OsModelTxPower
enum  ReturnValues
typedef delegate3< void,
node_id_t, size_t,
block_data_t * > 
radio_delegate_t
typedef delegate4< void,
node_id_t, size_t,
block_data_t *, const
ExtendedData & > 
extended_radio_delegate_t
typedef vector_static< OsModel,
radio_delegate_t,
MAX_RECEIVERS > 
CallbackVector
typedef CallbackVector::iterator CallbackVectorIterator
typedef vector_static< OsModel,
extended_radio_delegate_t,
MAX_RECEIVERS > 
ExtendedCallbackVector
typedef
ExtendedCallbackVector::iterator 
ExtendedCallbackVectorIterator

Public Member Functions

 ComISenseRadioModel ()
 ComISenseRadioModel (typename OsModel::Os &os)
void init (ComUart &uart)
void init ()
void destruct ()
void enable_radio ()
void disable_radio ()
node_id_t id ()
ComUartuart ()
void set_power (TxPower tx_power)
TxPower power ()
int send (node_id_t, size_t, block_data_t *, int8_t tx_power=1)
void uart_receive (typename ComUart::size_t, typename ComUart::block_data_t *)
int reg_recv_callback (T *obj_pnt)
int reg_recv_callback (T *obj_pnt)
int unreg_recv_callback (int idx)
void notify_receivers (node_id_t from, size_t len, block_data_t *data)
void notify_receivers (node_id_t from, size_t len, block_data_t *data, const ExtendedData &ext_data)

template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
class wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >


Member Typedef Documentation

template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
typedef OsModel_P::block_data_t wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::block_data_t
typedef vector_static<OsModel, radio_delegate_t, MAX_RECEIVERS> wiselib::ExtendedRadioBase< OsModel_P, pc_node_id_t , OsModel_P::size_t , OsModel_P::block_data_t , MAX_RECEIVERS, ExtendedData_P >::CallbackVector [inherited]
template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
typedef ComUart_P wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::ComUart
typedef delegate4<void, node_id_t, size_t, block_data_t*, const ExtendedData&> wiselib::ExtendedRadioBase< OsModel_P, pc_node_id_t , OsModel_P::size_t , OsModel_P::block_data_t , MAX_RECEIVERS, ExtendedData_P >::extended_radio_delegate_t [inherited]
typedef vector_static<OsModel, extended_radio_delegate_t, MAX_RECEIVERS> wiselib::ExtendedRadioBase< OsModel_P, pc_node_id_t , OsModel_P::size_t , OsModel_P::block_data_t , MAX_RECEIVERS, ExtendedData_P >::ExtendedCallbackVector [inherited]
template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
typedef ExtendedData_P wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::ExtendedData
template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
typedef uint8_t wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::message_id_t
template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
typedef pc_node_id_t wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::node_id_t
template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
typedef OsModel_P wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::OsModel
template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
typedef ComISensePacket<OsModel> wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::packet_t
typedef delegate3<void, node_id_t, size_t, block_data_t*> wiselib::ExtendedRadioBase< OsModel_P, pc_node_id_t , OsModel_P::size_t , OsModel_P::block_data_t , MAX_RECEIVERS, ExtendedData_P >::radio_delegate_t [inherited]
template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
typedef self_type* wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::self_pointer_t
template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
typedef ComISenseRadioModel<OsModel, ComUart, ExtendedData> wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::self_type
template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
typedef OsModel_P::size_t wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::size_t
template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
typedef ComIsenseTxPower<OsModel> wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::TxPower

Member Enumeration Documentation

template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
enum wiselib::ComISenseRadioModel::Restrictions
Enumerator:
MAX_MESSAGE_LENGTH 
template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
enum wiselib::ComISenseRadioModel::SpecialNodeIds
Enumerator:
BROADCAST_ADDRESS 
NULL_NODE_ID 

Constructor & Destructor Documentation

template<typename OsModel_P , typename ComUart_P , typename ExtendedData_P >
wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::ComISenseRadioModel ( )
template<typename OsModel_P , typename ComUart_P , typename ExtendedData_P >
wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::ComISenseRadioModel ( typename OsModel::Os os)

Member Function Documentation

template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
void wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::destruct ( )
template<typename OsModel_P , typename ComUart_P , typename ExtendedData_P >
void wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::disable_radio ( void  )
template<typename OsModel_P , typename ComUart_P , typename ExtendedData_P >
void wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::enable_radio ( void  )
template<typename OsModel_P , typename ComUart_P , typename ExtendedData_P >
ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::node_id_t wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::id ( void  )
template<typename OsModel_P , typename ComUart_P , typename ExtendedData_P >
void wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::init ( void  )
template<typename OsModel_P , typename ComUart_P , typename ExtendedData_P >
void wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::init ( ComUart uart)
void wiselib::ExtendedRadioBase< OsModel_P, pc_node_id_t , OsModel_P::size_t , OsModel_P::block_data_t , MAX_RECEIVERS, ExtendedData_P >::notify_receivers ( node_id_t  from,
size_t  len,
block_data_t data,
const ExtendedData ext_data 
) [inline, inherited]
void wiselib::ExtendedRadioBase< OsModel_P, pc_node_id_t , OsModel_P::size_t , OsModel_P::block_data_t , MAX_RECEIVERS, ExtendedData_P >::notify_receivers ( node_id_t  from,
size_t  len,
block_data_t data 
) [inline, inherited]
template<typename OsModel_P , typename ComUart_P , typename ExtendedData_P >
ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::TxPower wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::power ( )
int wiselib::ExtendedRadioBase< OsModel_P, pc_node_id_t , OsModel_P::size_t , OsModel_P::block_data_t , MAX_RECEIVERS, ExtendedData_P >::reg_recv_callback ( T *  obj_pnt) [inline, inherited]
int wiselib::ExtendedRadioBase< OsModel_P, pc_node_id_t , OsModel_P::size_t , OsModel_P::block_data_t , MAX_RECEIVERS, ExtendedData_P >::reg_recv_callback ( T *  obj_pnt) [inline, inherited]
template<typename OsModel_P , typename ComUart_P , typename ExtendedData_P >
int wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::send ( node_id_t  destination,
size_t  size,
block_data_t data,
int8_t  tx_power = 1 
)
template<typename OsModel_P , typename ComUart_P , typename ExtendedData_P >
void wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::set_power ( TxPower  tx_power)
template<typename OsModel_P, typename ComUart_P, typename ExtendedData_P = BaseExtendedData<OsModel_P>>
ComUart& wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::uart ( ) [inline]
template<typename OsModel_P , typename ComUart_P , typename ExtendedData_P >
void wiselib::ComISenseRadioModel< OsModel_P, ComUart_P, ExtendedData_P >::uart_receive ( typename ComUart::size_t  size,
typename ComUart::block_data_t data 
)
int wiselib::ExtendedRadioBase< OsModel_P, pc_node_id_t , OsModel_P::size_t , OsModel_P::block_data_t , MAX_RECEIVERS, ExtendedData_P >::unreg_recv_callback ( int  idx) [inline, inherited]

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