Tpsn synchronization implementation of Synchronization ConceptTpsn synchronization implementation of Synchronization Concept.
More...
#include <hrts_synchronization.h>
List of all members.
Public Types |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef Clock_P | Clock |
typedef OsModel_P::Timer | Timer |
typedef Echo< OsModel, Radio,
Timer, Debug > | Neighborhood |
typedef TpsnSynchronization
< OsModel, Radio, Debug, Clock,
MAX_NODES > | self_type |
typedef
TpsnSynchronizationMessage
< OsModel, Radio, Clock > | SynchronizationMessage |
typedef Radio::node_id_t | node_id_t |
typedef Radio::size_t | size_t |
typedef Radio::block_data_t | block_data_t |
typedef Timer::millis_t | millis_t |
typedef Clock::time_t | time_t |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef Clock_P | Clock |
typedef OsModel_P::Timer | Timer |
typedef TpsnSynchronization
< OsModel, Radio, Debug, Clock,
MAX_NODES > | self_type |
typedef
TpsnSynchronizationMessage
< OsModel, Radio, Clock > | SynchronizationMessage |
typedef Radio::node_id_t | node_id_t |
typedef Radio::size_t | size_t |
typedef Radio::block_data_t | block_data_t |
typedef Timer::millis_t | millis_t |
typedef Clock::time_t | time_t |
Public Member Functions |
void | set_root_startup_time (millis_t root_startup_time) |
void | set_tree_construction_time (millis_t tree_construction_time) |
void | set_random_interval_time (millis_t random_interval_time) |
void | init (Radio &radio, Timer &timer, Debug &debug, Clock &clock) |
void | destruct () |
void | set_root_startup_time (millis_t root_startup_time) |
void | set_tree_construction_time (millis_t tree_construction_time) |
void | set_random_interval_time (millis_t random_interval_time) |
void | init (Radio &radio, Timer &timer, Debug &debug, Clock &clock) |
void | destruct () |
|
| TpsnSynchronization () |
| ~TpsnSynchronization () |
| TpsnSynchronization () |
| ~TpsnSynchronization () |
|
void | enable (void) |
void | disable (void) |
void | set_root (void) |
void | enable (void) |
void | disable (void) |
void | set_root (void) |
|
void | timer_elapsed (void *userdata) |
void | timer_elapsed (void *userdata) |
|
void | receive (node_id_t from, size_t len, block_data_t *data) |
void | receive (node_id_t from, size_t len, block_data_t *data) |
Static Public Attributes |
static const uint8_t | NODE_ID_SIZE = sizeof( node_id_t ) |
static const uint8_t | TIME_SIZE = sizeof( time_t ) |
Detailed Description
template<typename OsModel_P, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
class wiselib::TpsnSynchronization< OsModel_P, Radio_P, Debug_P, Clock_P, MAX_NODES >
Tpsn synchronization implementation of Synchronization Concept
Tpsn synchronization implementation of Synchronization Concept.
Member Typedef Documentation
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
Constructor & Destructor Documentation
template<typename OsModel_P , typename Radio_P , typename Debug_P , typename Clock_P , uint16_t MAX_NODES>
template<typename OsModel_P , typename Radio_P , typename Debug_P , typename Clock_P , uint16_t MAX_NODES>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
Member Function Documentation
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P , typename Debug_P , typename Clock_P , uint16_t MAX_NODES>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P , typename Debug_P , typename Clock_P , uint16_t MAX_NODES>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P , typename Debug_P , typename Clock_P , uint16_t MAX_NODES>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P , typename Debug_P , typename Clock_P , uint16_t MAX_NODES>
Member Data Documentation
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
template<typename OsModel_P , typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug, typename Clock_P = typename OsModel_P::Clock, uint16_t MAX_NODES = 32>
The documentation for this class was generated from the following files: