|
vdr 2.8.3
|
#include <config.h>
Public Member Functions | |
| cSatCableNumbers (int Size, const char *s=NULL) | |
| ~cSatCableNumbers () | |
| int | Size (void) const |
| int * | Array (void) |
| bool | FromString (const char *s) |
| cString | ToString (void) |
| int | FirstDeviceIndex (int DeviceIndex) const |
Private Attributes | |
| int | size |
| int * | array |
| cSatCableNumbers::cSatCableNumbers | ( | int | Size, |
| const char * | s = NULL ) |
|
inline |
| int cSatCableNumbers::FirstDeviceIndex | ( | int | DeviceIndex | ) | const |
Returns the first device index (starting at 0) that uses the same sat cable number as the device with the given DeviceIndex.
If the given device does not use the same sat cable as any other device, or if the resulting value would be the same as DeviceIndex, or if DeviceIndex is out of range, -1 is returned.
Definition at line 117 of file config.c.
Referenced by cDvbDevice::BondDevices().
| bool cSatCableNumbers::FromString | ( | const char * | s | ) |
Definition at line 82 of file config.c.
References array, esyslog, size, and skipspace().
Referenced by cMenuSetupLNB::cMenuSetupLNB(), and cSatCableNumbers().
|
inline |
| cString cSatCableNumbers::ToString | ( | void | ) |
Definition at line 108 of file config.c.
References array, size, and cString::sprintf().
Referenced by cMenuSetupLNB::ProcessKey().
|
private |
Definition at line 102 of file config.h.
Referenced by Array(), cSatCableNumbers(), FirstDeviceIndex(), FromString(), ToString(), and ~cSatCableNumbers().
|
private |
Definition at line 101 of file config.h.
Referenced by cSatCableNumbers(), FirstDeviceIndex(), FromString(), Size(), and ToString().