|
MythTV master
|
DVB-S device settings class. More...
#include <libmythtv/diseqc.h>
Public Member Functions | |
| DiSEqCDevSettings ()=default | |
| bool | Load (uint card_input_id) |
| Loads configuration chain from DB for specified card input id. More... | |
| bool | Store (uint card_input_id) const |
| Stores configuration chain to DB for specified card input id. More... | |
| double | GetValue (uint devid) const |
| Retrieves a value from this configuration chain by device id. More... | |
| void | SetValue (uint devid, double value) |
| Sets a value for this configuration chain by device id. More... | |
Protected Attributes | |
| uint_to_dbl_t | m_config |
| uint | m_inputId {1} |
| current input id More... | |
DVB-S device settings class.
Represents a single possible configuration of a given network of DVB-S devices.
|
default |
| double DiSEqCDevSettings::GetValue | ( | uint | devid | ) | const |
Retrieves a value from this configuration chain by device id.
| devid | Device id. |
Definition at line 204 of file diseqc.cpp.
Referenced by DiSEqCDevRotor::Execute(), DiSEqCDevSCR::Execute(), DiSEqCDevSwitch::GetPosition(), DiSEqCDevRotor::IsCommandNeeded(), DiSEqCDevRotor::IsMoving(), SwitchSetting::Load(), RotorSetting::Load(), USALSRotorSetting::Load(), and SCRPositionSetting::Load().
Loads configuration chain from DB for specified card input id.
| card_input_id | Desired capture card input ID. |
Definition at line 128 of file diseqc.cpp.
Referenced by clone_capturecard(), CardInput::loadByID(), and DVBChannel::Tune().
| void DiSEqCDevSettings::SetValue | ( | uint | devid, |
| double | value | ||
| ) |
Sets a value for this configuration chain by device id.
Definition at line 219 of file diseqc.cpp.
Referenced by SwitchSetting::Save(), RotorSetting::Save(), USALSRotorSetting::Save(), and SCRPositionSetting::Save().
Stores configuration chain to DB for specified card input id.
| card_input_id | Desired capture card input ID. |
Definition at line 162 of file diseqc.cpp.
Referenced by clone_capturecard(), and CardInput::Save().
|
protected |
Definition at line 47 of file diseqc.h.
Referenced by GetValue(), Load(), SetValue(), and Store().
|
protected |