Wiselib
Classes | Public Types | Public Member Functions
wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P > Class Template Reference

#include <isense_extended_txradio_isensestyle.h>

List of all members.

Classes

class  ExtendedData
class  TxPower
 iSense Implementation of TxPower ConceptiSense implementation of the TxPower Concept ... More...

Public Types

enum  ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC, ERR_NOTIMPL = OsModel::ERR_NOTIMPL }
enum  { MAX_INTERNAL_RECEIVERS = 10 }
enum  { MAX_EXTENDED_RECEIVERS = MAX_INTERNAL_RECEIVERS }
enum  SpecialNodeIds { BROADCAST_ADDRESS = 0xffff, NULL_NODE_ID = 0 }
enum  Restrictions { MAX_MESSAGE_LENGTH = 116 }
typedef OsModel_P OsModel
typedef
iSenseExtendediSenseStyleTxRadioModel
< OsModel
self_type
typedef self_typeself_pointer_t
typedef uint16 node_id_t
typedef uint8 block_data_t
typedef uint8 size_t
typedef uint8 message_id_t
typedef delegate3< void,
node_id_t, size_t,
block_data_t * > 
isense_radio_delegate_t
typedef delegate5< void,
node_id_t, size_t,
block_data_t *, uint8, uint8 > 
extended_radio_delegate_iss_t
typedef isense_radio_delegate_t radio_delegate_t

Public Member Functions

 iSenseExtendediSenseStyleTxRadioModel (isense::Os &os)
int send (node_id_t id, size_t len, block_data_t *data)
int enable_radio ()
int disable_radio ()
node_id_t id ()
int set_power (TxPower p)
TxPower power ()
template<class T , void(T::*)(node_id_t, size_t, block_data_t *) TMethod>
int reg_recv_callback (T *obj_pnt)
template<class T , void(T::*)(node_id_t, size_t, block_data_t *, uint8, uint8) TMethod>
int reg_recv_callback (T *obj_pnt)
int unreg_recv_callback (int idx)
virtual void receive (uint8 len, const uint8 *buf, uint16 src_addr, uint16 dest_addr, uint16 lqi, uint8 seq_no, uint8 interface)

template<typename OsModel_P>
class wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >


Member Typedef Documentation

template<typename OsModel_P >
typedef uint8 wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::block_data_t
template<typename OsModel_P >
typedef delegate5<void, node_id_t, size_t, block_data_t*,uint8,uint8> wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::extended_radio_delegate_iss_t
template<typename OsModel_P >
typedef delegate3<void, node_id_t, size_t, block_data_t*> wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::isense_radio_delegate_t
template<typename OsModel_P >
typedef uint8 wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::message_id_t
template<typename OsModel_P >
typedef uint16 wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::node_id_t
template<typename OsModel_P >
typedef OsModel_P wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::OsModel
template<typename OsModel_P >
typedef self_type* wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::self_pointer_t
template<typename OsModel_P >
typedef uint8 wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::size_t

Member Enumeration Documentation

template<typename OsModel_P >
anonymous enum
Enumerator:
MAX_INTERNAL_RECEIVERS 
template<typename OsModel_P >
anonymous enum
Enumerator:
MAX_EXTENDED_RECEIVERS 
Enumerator:
SUCCESS 
ERR_UNSPEC 
ERR_NOTIMPL 
Enumerator:
MAX_MESSAGE_LENGTH 

Maximal number of bytes in payload.

Enumerator:
BROADCAST_ADDRESS 

All nodes in communication range.

NULL_NODE_ID 

Unknown/No node id.


Constructor & Destructor Documentation

template<typename OsModel_P >
wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::iSenseExtendediSenseStyleTxRadioModel ( isense::Os os) [inline]

Member Function Documentation

template<typename OsModel_P >
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::disable_radio ( void  ) [inline]
template<typename OsModel_P >
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::enable_radio ( void  ) [inline]
template<typename OsModel_P >
node_id_t wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::id ( void  ) [inline]
template<typename OsModel_P >
iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::TxPower wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::power ( )
template<typename OsModel_P >
virtual void wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::receive ( uint8  len,
const uint8 *  buf,
uint16  src_addr,
uint16  dest_addr,
uint16  lqi,
uint8  seq_no,
uint8  interface 
) [inline, virtual]
template<typename OsModel_P >
template<class T , void(T::*)(node_id_t, size_t, block_data_t *, uint8, uint8) TMethod>
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::reg_recv_callback ( T *  obj_pnt) [inline]
template<typename OsModel_P >
template<class T , void(T::*)(node_id_t, size_t, block_data_t *) TMethod>
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::reg_recv_callback ( T *  obj_pnt) [inline]
template<typename OsModel_P >
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::send ( node_id_t  id,
size_t  len,
block_data_t data 
) [inline]
template<typename OsModel_P >
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::set_power ( TxPower  p)
template<typename OsModel_P >
int wiselib::iSenseExtendediSenseStyleTxRadioModel< OsModel_P >::unreg_recv_callback ( int  idx) [inline]

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