#include <ttl_flooding.h>
Inherits wiselib::RadioBase< OsModel_P, Radio_P::node_id_t, Radio_P::size_t, Radio_P::block_data_t >, and wiselib::RadioBase< OsModel_P, Radio_P::node_id_t, Radio_P::size_t, Radio_P::block_data_t >.
List of all members.
Public Types |
enum | ReturnValues { SUCCESS = OsModel::SUCCESS,
SUCCESS = OsModel::SUCCESS
} |
enum | SpecialNodeIds { BROADCAST_ADDRESS = Radio::BROADCAST_ADDRESS,
NULL_NODE_ID = Radio::NULL_NODE_ID,
BROADCAST_ADDRESS = Radio::BROADCAST_ADDRESS,
NULL_NODE_ID = Radio::NULL_NODE_ID
} |
enum | Restrictions { MAX_MESSAGE_LENGTH = Radio::MAX_MESSAGE_LENGTH,
MAX_MESSAGE_LENGTH = Radio::MAX_MESSAGE_LENGTH
} |
enum | ReturnValues { SUCCESS = OsModel::SUCCESS,
SUCCESS = OsModel::SUCCESS
} |
enum | SpecialNodeIds { BROADCAST_ADDRESS = Radio::BROADCAST_ADDRESS,
NULL_NODE_ID = Radio::NULL_NODE_ID,
BROADCAST_ADDRESS = Radio::BROADCAST_ADDRESS,
NULL_NODE_ID = Radio::NULL_NODE_ID
} |
enum | Restrictions { MAX_MESSAGE_LENGTH = Radio::MAX_MESSAGE_LENGTH,
MAX_MESSAGE_LENGTH = Radio::MAX_MESSAGE_LENGTH
} |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef TTLFlooding< OsModel,
Radio, Debug,
SEEN_MESSAGE_SET_SIZE > | self_type |
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 wiselib::set_static
< OsModel, node_id_t,
SEEN_MESSAGE_SET_SIZE > | message_set_t |
typedef KeylevelsMessage
< OsModel, Radio > | Message |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef TTLFlooding< OsModel,
Radio, Debug,
SEEN_MESSAGE_SET_SIZE > | self_type |
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 wiselib::set_static
< OsModel, node_id_t,
SEEN_MESSAGE_SET_SIZE > | message_set_t |
typedef KeylevelsMessage
< OsModel, Radio > | Message |
typedef delegate3< void,
node_id_t, size_t,
block_data_t * > | radio_delegate_t |
typedef vector_static< OsModel,
radio_delegate_t,
RADIO_BASE_MAX_RECEIVERS > | CallbackVector |
typedef CallbackVector::iterator | CallbackVectorIterator |
Public Member Functions |
int | init (Radio &radio, Debug &debug) |
void | enable_radio () |
void | disable_radio () |
void | clear () |
void | set_ttl (uint8_t new_ttl) |
int | get_ttl () |
void | set_notify_all_on_path (bool notify) |
void | show_ttl_message (Message *msg, int dir) |
void | send (node_id_t msg_id, size_t size, block_data_t *data) |
void | receive (node_id_t from, size_t size, block_data_t *data) |
int | init (Radio &radio, Debug &debug) |
void | enable_radio () |
void | disable_radio () |
void | clear () |
void | set_ttl (uint8_t new_ttl) |
int | get_ttl () |
void | set_cluster (node_id_t cluster) |
void | set_notify_all_on_path (bool notify) |
void | send (node_id_t msg_id, size_t size, block_data_t *data) |
void | receive (node_id_t from, size_t size, block_data_t *data) |
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 Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
class wiselib::TTLFlooding< OsModel_P, Radio_P, Debug_P, SEEN_MESSAGE_SET_SIZE >
Member Typedef Documentation
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
Member Enumeration Documentation
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
- Enumerator:
MAX_MESSAGE_LENGTH |
|
MAX_MESSAGE_LENGTH |
|
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
- Enumerator:
MAX_MESSAGE_LENGTH |
|
MAX_MESSAGE_LENGTH |
|
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
- Enumerator:
BROADCAST_ADDRESS |
|
NULL_NODE_ID |
|
BROADCAST_ADDRESS |
|
NULL_NODE_ID |
|
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
- Enumerator:
BROADCAST_ADDRESS |
|
NULL_NODE_ID |
|
BROADCAST_ADDRESS |
|
NULL_NODE_ID |
|
Member Function Documentation
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
void wiselib::TTLFlooding< OsModel_P, Radio_P, Debug_P, SEEN_MESSAGE_SET_SIZE >::disable_radio |
( |
void |
| ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
void wiselib::TTLFlooding< OsModel_P, Radio_P, Debug_P, SEEN_MESSAGE_SET_SIZE >::disable_radio |
( |
void |
| ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
void wiselib::TTLFlooding< OsModel_P, Radio_P, Debug_P, SEEN_MESSAGE_SET_SIZE >::enable_radio |
( |
void |
| ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
void wiselib::TTLFlooding< OsModel_P, Radio_P, Debug_P, SEEN_MESSAGE_SET_SIZE >::enable_radio |
( |
void |
| ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
int wiselib::TTLFlooding< OsModel_P, Radio_P, Debug_P, SEEN_MESSAGE_SET_SIZE >::get_ttl |
( |
| ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
int wiselib::TTLFlooding< OsModel_P, Radio_P, Debug_P, SEEN_MESSAGE_SET_SIZE >::get_ttl |
( |
| ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P , typename Radio_P , typename Debug_P , int SEEN_MESSAGE_SET_SIZE>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P , typename Radio_P , typename Debug_P , int SEEN_MESSAGE_SET_SIZE>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
void wiselib::TTLFlooding< OsModel_P, Radio_P, Debug_P, SEEN_MESSAGE_SET_SIZE >::set_notify_all_on_path |
( |
bool |
notify | ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
void wiselib::TTLFlooding< OsModel_P, Radio_P, Debug_P, SEEN_MESSAGE_SET_SIZE >::set_notify_all_on_path |
( |
bool |
notify | ) |
[inline] |
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
template<typename OsModel_P, typename Radio_P, typename Debug_P = typename OsModel_P::Debug, int SEEN_MESSAGE_SET_SIZE = 100>
The documentation for this class was generated from the following files: