Wiselib
Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends
wiselib::ShawnTxRadioModel< OsModel_P >::TxPower Class Reference

Shawn Implementation of TxPower ConceptShawn implementation of the TxPower Concept ... More...

#include <shawn_tx_radio.h>

List of all members.

Public Member Functions

 TxPower ()
bool operator== (TxPower) const
bool operator!= (TxPower) const
bool operator<= (TxPower) const
bool operator>= (TxPower) const
bool operator< (TxPower) const
bool operator> (TxPower) const
TxPower operator++ ()
TxPower operator++ (int)
TxPower operator-- ()
TxPower operator-- (int)
void set_ratio (int)
int to_ratio () const
void set_dB (int)
int to_dB () const
void set_steps (int)
int steps () const

Static Public Member Functions

static TxPower from_ratio (int)
static TxPower from_dB (int)
static void set_default_steps (int)
static int default_steps ()

Static Public Attributes

static TxPower const MIN = 0.0
static TxPower const MAX = 1.0

Friends

class ShawnTxRadioModel< OsModel_P >

Detailed Description

template<typename OsModel_P>
class wiselib::ShawnTxRadioModel< OsModel_P >::TxPower

Shawn Implementation of TxPower Concept

Shawn implementation of the TxPower Concept ...


Constructor & Destructor Documentation

template<typename OsModel_P >
wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::TxPower ( ) [inline]

Member Function Documentation

template<typename OsModel_P >
int wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::default_steps ( ) [static]
template<typename OsModel_P >
ShawnTxRadioModel< OsModel_P >::TxPower wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::from_dB ( int  db) [static]
template<typename OsModel_P >
ShawnTxRadioModel< OsModel_P >::TxPower wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::from_ratio ( int  ratio) [static]
template<typename OsModel_P >
bool wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator!= ( TxPower  p) const [inline]
template<typename OsModel_P >
ShawnTxRadioModel< OsModel_P >::TxPower wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator++ ( int  )
template<typename OsModel_P >
ShawnTxRadioModel< OsModel_P >::TxPower wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator++ ( )
template<typename OsModel_P >
ShawnTxRadioModel< OsModel_P >::TxPower wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator-- ( )
template<typename OsModel_P >
ShawnTxRadioModel< OsModel_P >::TxPower wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator-- ( int  )
template<typename OsModel_P >
bool wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator< ( TxPower  p) const [inline]
template<typename OsModel_P >
bool wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator<= ( TxPower  p) const [inline]
template<typename OsModel_P >
bool wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator== ( TxPower  p) const [inline]
template<typename OsModel_P >
bool wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator> ( TxPower  p) const [inline]
template<typename OsModel_P >
bool wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator>= ( TxPower  p) const [inline]
template<typename OsModel_P >
void wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::set_dB ( int  db)
template<typename OsModel_P >
void wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::set_default_steps ( int  n) [static]
template<typename OsModel_P >
void wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::set_ratio ( int  ratio)
template<typename OsModel_P >
void wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::set_steps ( int  n)
template<typename OsModel_P >
int wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::steps ( ) const
template<typename OsModel_P >
int wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::to_dB ( ) const [inline]
template<typename OsModel_P >
int wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::to_ratio ( ) const

Friends And Related Function Documentation

template<typename OsModel_P >
friend class ShawnTxRadioModel< OsModel_P > [friend]

Member Data Documentation

template<typename OsModel_P >
ShawnTxRadioModel< OsModel_P >::TxPower const wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::MAX = 1.0 [static]
template<typename OsModel_P >
ShawnTxRadioModel< OsModel_P >::TxPower const wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::MIN = 0.0 [static]

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