Wiselib
|
Shawn Implementation of TxPower ConceptShawn implementation of the TxPower Concept ... More...
#include <shawn_tx_radio.h>
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 > |
Shawn Implementation of TxPower Concept
Shawn implementation of the TxPower Concept ...
wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::TxPower | ( | ) | [inline] |
int wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::default_steps | ( | ) | [static] |
ShawnTxRadioModel< OsModel_P >::TxPower wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::from_dB | ( | int | db | ) | [static] |
ShawnTxRadioModel< OsModel_P >::TxPower wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::from_ratio | ( | int | ratio | ) | [static] |
bool wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator!= | ( | TxPower | p | ) | const [inline] |
ShawnTxRadioModel< OsModel_P >::TxPower wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator++ | ( | int | ) |
ShawnTxRadioModel< OsModel_P >::TxPower wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator++ | ( | ) |
ShawnTxRadioModel< OsModel_P >::TxPower wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator-- | ( | ) |
ShawnTxRadioModel< OsModel_P >::TxPower wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator-- | ( | int | ) |
bool wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator< | ( | TxPower | p | ) | const [inline] |
bool wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator<= | ( | TxPower | p | ) | const [inline] |
bool wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator== | ( | TxPower | p | ) | const [inline] |
bool wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator> | ( | TxPower | p | ) | const [inline] |
bool wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::operator>= | ( | TxPower | p | ) | const [inline] |
void wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::set_dB | ( | int | db | ) |
void wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::set_default_steps | ( | int | n | ) | [static] |
void wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::set_ratio | ( | int | ratio | ) |
void wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::set_steps | ( | int | n | ) |
int wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::steps | ( | ) | const |
int wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::to_dB | ( | ) | const [inline] |
int wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::to_ratio | ( | ) | const |
friend class ShawnTxRadioModel< OsModel_P > [friend] |
ShawnTxRadioModel< OsModel_P >::TxPower const wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::MAX = 1.0 [static] |
ShawnTxRadioModel< OsModel_P >::TxPower const wiselib::ShawnTxRadioModel< OsModel_P >::TxPower::MIN = 0.0 [static] |