#include <greedyloc.h>
Inherits wiselib::LocalizationBase< OsModel_P, Radio_P >.
List of all members.
Public Types |
typedef OsModel_P | OsModel |
typedef Radio_P | Radio |
typedef Debug_P | Debug |
typedef Node_P | Node |
typedef Node::NodePosition | NodePosition |
typedef NodePosition | position_t |
typedef Node::NodePosition::Float | Float |
typedef Timer_P | Timer |
typedef Greedyloc< OsModel,
Node, Timer, Radio, Debug > | 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 Radio::ExtendedData | ExtendedData |
typedef Greedyloc_Message
< OsModel, Node, Radio > | Message |
Public Member Functions |
| Greedyloc () |
| ~Greedyloc () |
void | enable (void) |
void | disable (void) |
position_t | position () |
void | send (node_id_t receiver, size_t len, block_data_t *data, message_id_t msg_id, Node n) |
void | send_greedyloc_msg (void *userdata) |
void | receive (node_id_t from, size_t len, block_data_t *data, ExtendedData const &ext) |
void | init (Radio &radio, Timer &timer, Debug &debug) |
void | destruct () |
Public Attributes |
Node | self |
Node | anchor1 |
Node | anchor2 |
Node | anchor3 |
Float | R1 |
Float | R2 |
Float | R3 |
uint8_t | anchor_flag |
template<typename OsModel_P, typename Node_P, typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
class wiselib::Greedyloc< OsModel_P, Node_P, Timer_P, Radio_P, Debug_P >
Member Typedef Documentation
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
Constructor & Destructor Documentation
template<typename OsModel_P , typename Node_P , typename Timer_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Node_P , typename Timer_P , typename Radio_P , typename Debug_P >
Member Function Documentation
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
void wiselib::Greedyloc< OsModel_P, Node_P, Timer_P, Radio_P, Debug_P >::destruct |
( |
void |
| ) |
[inline] |
template<typename OsModel_P , typename Node_P , typename Timer_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Node_P , typename Timer_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Node_P , typename Timer_P , typename Radio_P , typename Debug_P >
template<typename OsModel_P , typename Node_P , typename Timer_P , typename Radio_P , typename Debug_P >
void wiselib::Greedyloc< OsModel_P, Node_P, Timer_P, Radio_P, Debug_P >::send_greedyloc_msg |
( |
void * |
userdata | ) |
|
Member Data Documentation
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
template<typename OsModel_P , typename Node_P , typename Timer_P = typename OsModel_P::Timer, typename Radio_P = typename OsModel_P::Radio, typename Debug_P = typename OsModel_P::Debug>
The documentation for this class was generated from the following file:
- wiselib.testing/algorithms/localization/greedyloc/greedyloc.h