#include <volumeradio.h>
Inherits wiselib::RadioBase< OsModel_P, Radio_P >.
List of all members.
Classes |
struct | connections |
struct | information |
Public Types |
enum | SpecialNodeIds { BROADCAST_ADDRESS = Radio::BROADCAST_ADDRESS,
NULL_NODE_ID = Radio::NULL_NODE_ID
} |
enum | Restrictions { FRAGMENT_SIZE = VolumeMessage_t::FRAGMENT_SIZE,
MAX_MESSAGE_LENGTH = VolumeMessage_t::MAX_MESSAGE_LENGTH
} |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef Timer_P | Timer |
typedef Radio::node_id_t | node_id_t |
typedef Radio::size_t | size_t |
typedef Radio::block_data_t | block_data_t |
typedef Radio::message_id_t | message_id_t |
typedef VolumeRadio< OsModel_P,
Radio_P, Timer_P, Debug_P > | self_t |
typedef VolumeMsg< OsModel, Radio > | VolumeMessage_t |
typedef struct information | information_t |
typedef delegate3< void, int,
long, unsigned char * > | radio_delegate_t |
typedef wiselib::vector_static
< OsModel, pair< information_t,
uint8_t * >, MAX_PENDING > | vector_t |
enum | ReturnValues |
typedef vector_static< OsModel,
radio_delegate_t,
RADIO_BASE_MAX_RECEIVERS > | CallbackVector |
typedef CallbackVector::iterator | CallbackVectorIterator |
Public Member Functions |
| VolumeRadio () |
| ~VolumeRadio () |
void | enable_radio () |
void | send (node_id_t id, uint16_t len, block_data_t *data) |
void | receive (node_id_t from, size_t len, block_data_t *data_t) |
int | flow_id (uint16_t seq_no, node_id_t source, uint8_t total_frags) |
bool | add_fragment_to_message (int fd, uint8_t fragment_num, uint8_t *data) |
int | check_connection (node_id_t node) |
node_id_t | id () |
void | init (Radio &radio, Timer &timer, Debug &debug) |
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) |
template<typename OsModel_P, typename Radio_P, typename Timer_P, typename Debug_P>
class wiselib::VolumeRadio< OsModel_P, Radio_P, Timer_P, Debug_P >
Member Typedef Documentation
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
Member Enumeration Documentation
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
- Enumerator:
FRAGMENT_SIZE |
|
MAX_MESSAGE_LENGTH |
Maximal number of bytes in payload.
|
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
- Enumerator:
BROADCAST_ADDRESS |
All nodes in communication rnage.
|
NULL_NODE_ID |
Unknown/No node id.
|
Constructor & Destructor Documentation
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
Member Function Documentation
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
int wiselib::RadioBase< OsModel_P, Radio_P , Size_P, BlockData_P, RADIO_BASE_MAX_RECEIVERS >::reg_recv_callback |
( |
T * |
obj_pnt | ) |
[inline, inherited] |
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Debug_P >
int wiselib::RadioBase< OsModel_P, Radio_P , Size_P, BlockData_P, RADIO_BASE_MAX_RECEIVERS >::unreg_recv_callback |
( |
int |
idx | ) |
[inline, inherited] |
The documentation for this class was generated from the following file: