#include <diseqc.h>
Represents a single possible configuration of a given network of DVB-S devices.
Definition at line 36 of file 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 | |
| DiSEqCDevSettings::DiSEqCDevSettings | ( | ) |
Definition at line 119 of file diseqc.cpp.
Loads configuration chain from DB for specified card input id.
| card_input_id | Desired capture card input ID. |
Definition at line 129 of file diseqc.cpp.
Referenced by clone_cardinputs(), CardInput::loadByID(), and DVBChannel::Tune().
Stores configuration chain to DB for specified card input id.
| card_input_id | Desired capture card input ID. |
Definition at line 163 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 206 of file diseqc.cpp.
Referenced by DiSEqCDevRotor::Execute(), DiSEqCDevSwitch::GetPosition(), DiSEqCDevRotor::IsCommandNeeded(), and DiSEqCDevRotor::IsMoving().
| 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 221 of file diseqc.cpp.
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.5.5