Wiselib
Classes | Public Types
wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P > Class Template Reference

Xyz implementation of Xzy ConceptXyz implementation of Xyz concept ... More...

#include <individual_link_metrics.h>

List of all members.

Classes

struct  MetricsData

Public Types

enum  { MESSAGE_SIZE = 40 }
enum  ErrorCodes { SUCCESS = OsModel::SUCCESS, ERR_UNSPEC = OsModel::ERR_UNSPEC }
typedef OsModel_P OsModel
typedef Radio_P Radio
typedef Timer_P Timer
typedef Clock_P Clock
typedef Debug_P Debug
typedef DataItemContainer_P DataItemContainer
typedef DataItemContainer::iterator DataItemContainerIterator
typedef IndividualLinkMetrics
< OsModel_P, Radio_P, Timer_P,
Clock_P, Debug_P,
DataItemContainer_P > 
self_type
typedef
IndividualLinkMetricsMessage
< OsModel, Radio, MESSAGE_SIZE > 
LinkMessage
typedef Radio::node_id_t node_id_t
typedef Radio::size_t size_t
typedef Radio::block_data_t block_data_t
typedef Clock::time_t time_t
typedef Timer::millis_t millis_t

Public Member Functions

Construction / Destruction
 IndividualLinkMetrics ()
 ~IndividualLinkMetrics ()
Main Control
int init (Radio_P &r, Timer_P &t, Clock_P &c, Debug_P &d)
int init ()
int destruct (void)
void start (node_id_t receiver, millis_t ti, uint16_t packets_to_send)
Experiment Results
MetricsDatametrics_data (void)
Methods called by Timer
void timer_elapsed (void *userdata)
Methods called by RadioModel
void receive (node_id_t from, size_t len, block_data_t *data)

Detailed Description

template<typename OsModel_P, typename Radio_P, typename Timer_P, typename Clock_P, typename Debug_P, typename DataItemContainer_P>
class wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >

Xyz implementation of Xzy Concept

Xyz implementation of Xyz concept ...


Member Typedef Documentation

template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef Radio::block_data_t wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::block_data_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef Clock_P wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::Clock
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef DataItemContainer_P wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::DataItemContainer
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef DataItemContainer::iterator wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::DataItemContainerIterator
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef Debug_P wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::Debug
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef IndividualLinkMetricsMessage<OsModel, Radio, MESSAGE_SIZE> wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::LinkMessage
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef Timer::millis_t wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::millis_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef Radio::node_id_t wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::node_id_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef OsModel_P wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::OsModel
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef Radio_P wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::Radio
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef IndividualLinkMetrics<OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P> wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::self_type
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef Radio::size_t wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::size_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef Clock::time_t wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::time_t
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
typedef Timer_P wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::Timer

Member Enumeration Documentation

template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
anonymous enum
Enumerator:
MESSAGE_SIZE 
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
enum wiselib::IndividualLinkMetrics::ErrorCodes
Enumerator:
SUCCESS 
ERR_UNSPEC 

Constructor & Destructor Documentation

template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::IndividualLinkMetrics ( )
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::~IndividualLinkMetrics ( )

Member Function Documentation

template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
int wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::destruct ( void  ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
int wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::init ( void  ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
int wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::init ( Radio_P &  r,
Timer_P &  t,
Clock_P &  c,
Debug_P &  d 
)
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
MetricsData& wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::metrics_data ( void  ) [inline]
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
void wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::receive ( node_id_t  from,
size_t  len,
block_data_t data 
)
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
void wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::start ( node_id_t  receiver,
millis_t  ti,
uint16_t  packets_to_send 
)
template<typename OsModel_P , typename Radio_P , typename Timer_P , typename Clock_P , typename Debug_P , typename DataItemContainer_P >
void wiselib::IndividualLinkMetrics< OsModel_P, Radio_P, Timer_P, Clock_P, Debug_P, DataItemContainer_P >::timer_elapsed ( void *  userdata)

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