-class iDVBResourceManager: public iObject
-{
-public:
- /*
- solange rumloopen bis eine resource gefunden wurde, die eine frequenz
- tunen will
-
- wenn natuerlich sowas schon vorhanden ist, dann einfach ne ref darauf
- geben. (zwei services auf dem gleichen transponder teilen sich einen
- channel)
- */
- virtual RESULT setChannelList(iDVBChannelList *list)=0;
- virtual RESULT getChannelList(ePtr<iDVBChannelList> &list)=0;
- virtual RESULT allocateChannel(const eDVBChannelID &channel, ePtr<iDVBChannel> &channel)=0;
- virtual RESULT allocateRawChannel(ePtr<iDVBChannel> &channel)=0;
- virtual RESULT allocatePVRChannel(int caps)=0;
-};
-
-class SatelliteDeliverySystemDescriptor;
-class CableDeliverySystemDescriptor;
-class TerrestrialDeliverySystemDescriptor;
-
-struct eDVBFrontendParametersSatellite
-{
- struct Polarisation
- {
- enum {
- Horizontal, Vertical, CircularLeft, CircularRight
- };
- };
- struct Inversion
- {
- enum {
- On, Off, Unknown
- };
- };
- struct FEC
- {
- enum {
- fNone, f1_2, f2_3, f3_4, f5_6, f7_8, fAuto
- };
- };
- unsigned int frequency, symbol_rate;
- int polarisation, fec, inversion, orbital_position;
-
- void set(const SatelliteDeliverySystemDescriptor &);
-};
-
-struct eDVBFrontendParametersCable
-{
- unsigned int frequency, symbol_rate;
- int modulation, inversion, fec_inner;
- void set(const CableDeliverySystemDescriptor &);
-};
-
-struct eDVBFrontendParametersTerrestrial
-{
- unsigned int frequency;
- struct Bandwidth {
- enum { Bw8MHz, Bw7MHz, Bw6MHz, BwAuto };
- };
-
- struct FEC
- {
- enum {
- fNone, f1_2, f2_3, f3_4, f5_6, f7_8, fAuto
- };
- };
-
- struct TransmissionMode {
- enum {
- TM2k, TM8k, TMAuto
- };
- };
-
- struct GuardInterval {
- enum {
- GI_1_32, GI_1_16, GI_1_8, GI_1_4, GI_Auto
- };
- };
-
- struct Hierarchy {
- enum {
- HNone, H1, H2, H4, HAuto
- };
- };
-
- struct Modulation {
- enum {
- QPSK, QAM16, Auto
- };
- };
-
- struct Inversion
- {
- enum {
- On, Off, Unknown
- };
- };
-
- int bandwidth;
- int code_rate_HP, code_rate_LP;
- int modulation;
- int transmission_mode;
- int guard_interval;
- int hierarchy;
- int inversion;
-
- void set(const TerrestrialDeliverySystemDescriptor &);