|
MythTV
0.26-pre
|
DVB-S device settings class. More...
#include <diseqc.h>
Public Member Functions | |
| DiSEqCDevSettings () | |
| bool | Load (uint card_input_id) |
| Loads configuration chain from DB for specified card input id. | |
| bool | Store (uint card_input_id) const |
| Stores configuration chain to DB for specified card input id. | |
| double | GetValue (uint devid) const |
| Retrieves a value from this configuration chain by device id. | |
| void | SetValue (uint devid, double value) |
| Sets a value for this configuration chain by device id. | |
Protected Attributes | |
| uint_to_dbl_t | m_config |
| map of dev tree id to configuration value | |
| uint | m_input_id |
| current input id | |
DVB-S device settings class.
Represents a single possible configuration of a given network of DVB-S devices.
Definition at line 123 of file diseqc.cpp.
| bool DiSEqCDevSettings::Load | ( | uint | card_input_id | ) |
Loads configuration chain from DB for specified card input id.
| card_input_id | Desired capture card input ID. |
Definition at line 133 of file diseqc.cpp.
Referenced by clone_cardinputs(), CardInput::loadByID(), and DVBChannel::Tune().
| bool DiSEqCDevSettings::Store | ( | uint | card_input_id | ) | const |
Stores configuration chain to DB for specified card input id.
| card_input_id | Desired capture card input ID. |
Definition at line 167 of file diseqc.cpp.
Referenced by clone_cardinputs(), and CardInput::Save().
| double DiSEqCDevSettings::GetValue | ( | uint | devid | ) | const |
Retrieves a value from this configuration chain by device id.
| devid | Device id. |
Definition at line 210 of file diseqc.cpp.
Referenced by DiSEqCDevRotor::Execute(), DiSEqCDevSwitch::GetPosition(), DiSEqCDevRotor::IsCommandNeeded(), DiSEqCDevRotor::IsMoving(), SwitchSetting::Load(), RotorSetting::Load(), and USALSRotorSetting::Load().
| void DiSEqCDevSettings::SetValue | ( | uint | devid, |
| double | value | ||
| ) |
Sets a value for this configuration chain by device id.
| devid | Device id. |
| value | Device scalar value. |
Definition at line 225 of file diseqc.cpp.
Referenced by SwitchSetting::Save(), RotorSetting::Save(), and USALSRotorSetting::Save().
uint_to_dbl_t DiSEqCDevSettings::m_config [protected] |
map of dev tree id to configuration value
Definition at line 47 of file diseqc.h.
Referenced by GetValue(), Load(), SetValue(), and Store().
uint DiSEqCDevSettings::m_input_id [protected] |
1.7.6.1