openATV enigma2
openATV is an open source SetTopBox Graphical user interface.
eDVBResourceManager Class Reference

#include <dvb.h>

Inheritance diagram for eDVBResourceManager:
iObject

Classes

struct  active_channel
 

Public Types

enum  {
  errNoDemux = -2 , errChidNotFound = -3 , errNoChannelList = -4 , errChannelNotInList = -5 ,
  errAllSourcesBusy = -6 , errNoSourceFound = -7
}
 

Public Member Functions

void releaseCachedChannel ()
 
 eDVBResourceManager ()
 
virtual ~eDVBResourceManager ()
 
RESULT setChannelList (iDVBChannelList *list)
 
RESULT getChannelList (ePtr< iDVBChannelList > &list)
 
RESULT getActiveChannels (std::list< active_channel > &list)
 
RESULT connectChannelAdded (const sigc::slot1< void, eDVBChannel * > &channelAdded, ePtr< eConnection > &connection)
 
int canAllocateChannel (const eDVBChannelID &channelid, const eDVBChannelID &ignore, int &system, bool simulate=false)
 
bool frontendPreferenceAllowsChannelUse (const eDVBChannelID &channelid, eUsePtr< iDVBChannel > channel, bool simulate)
 
RESULT allocateChannel (const eDVBChannelID &channelid, eUsePtr< iDVBChannel > &channel, bool simulate=false)
 
RESULT allocatePVRChannel (const eDVBChannelID &channelid, eUsePtr< iDVBPVRChannel > &channel)
 
RESULT allocateFrontend (ePtr< eDVBAllocatedFrontend > &fe, ePtr< iDVBFrontendParameters > &feparm, bool simulate=false, bool returnScoreOnly=false)
 
RESULT allocateFrontendByIndex (ePtr< eDVBAllocatedFrontend > &fe, int slot_index)
 
RESULT allocateDemux (eDVBRegisteredFrontend *fe, ePtr< eDVBAllocatedDemux > &demux, int &cap)
 
int canAllocateFrontend (ePtr< iDVBFrontendParameters > &feparm, bool simulate=false)
 
bool canMeasureFrontendInputPower ()
 
 SWIG_VOID (RESULT) allocateRawChannel(eUsePtr< iDVBChannel > &SWIG_OUTPUT
 
PyObject * setFrontendSlotInformations (SWIG_PYOBJECT(ePyObject) list)
 
bool frontendIsCompatible (int index, const char *type)
 
bool frontendIsMultistream (int index)
 
std::string getFrontendCapabilities (int index)
 
void setFrontendType (int index, const char *type, bool append=false)
 
int getFrontendType (int index)
 
- Public Member Functions inherited from iObject
void operator delete (void *p)
 
virtual void AddRef ()=0
 
virtual void Release ()=0
 

Static Public Member Functions

static RESULT getInstance (ePtr< eDVBResourceManager > &)
 

Public Attributes

PSignal1< void, int > frontendUseMaskChanged
 
int slot_index
 

Friends

class eDVBChannel
 
class eFBCTunerManager
 
class eRTSPStreamClient
 

Additional Inherited Members

- Protected Member Functions inherited from iObject
virtual ~iObject ()
 

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
errNoDemux 
errChidNotFound 
errNoChannelList 
errChannelNotInList 
errAllSourcesBusy 
errNoSourceFound 

Constructor & Destructor Documentation

◆ eDVBResourceManager()

eDVBResourceManager::eDVBResourceManager ( )

◆ ~eDVBResourceManager()

eDVBResourceManager::~eDVBResourceManager ( )
virtual

Member Function Documentation

◆ allocateChannel()

RESULT eDVBResourceManager::allocateChannel ( const eDVBChannelID channelid,
eUsePtr< iDVBChannel > &  channel,
bool  simulate = false 
)

◆ allocateDemux()

RESULT eDVBResourceManager::allocateDemux ( eDVBRegisteredFrontend fe,
ePtr< eDVBAllocatedDemux > &  demux,
int &  cap 
)

◆ allocateFrontend()

RESULT eDVBResourceManager::allocateFrontend ( ePtr< eDVBAllocatedFrontend > &  fe,
ePtr< iDVBFrontendParameters > &  feparm,
bool  simulate = false,
bool  returnScoreOnly = false 
)

◆ allocateFrontendByIndex()

RESULT eDVBResourceManager::allocateFrontendByIndex ( ePtr< eDVBAllocatedFrontend > &  fe,
int  slot_index 
)

◆ allocatePVRChannel()

RESULT eDVBResourceManager::allocatePVRChannel ( const eDVBChannelID channelid,
eUsePtr< iDVBPVRChannel > &  channel 
)

◆ canAllocateChannel()

int eDVBResourceManager::canAllocateChannel ( const eDVBChannelID channelid,
const eDVBChannelID ignore,
int &  system,
bool  simulate = false 
)

◆ canAllocateFrontend()

int eDVBResourceManager::canAllocateFrontend ( ePtr< iDVBFrontendParameters > &  feparm,
bool  simulate = false 
)

◆ canMeasureFrontendInputPower()

bool eDVBResourceManager::canMeasureFrontendInputPower ( )

◆ connectChannelAdded()

RESULT eDVBResourceManager::connectChannelAdded ( const sigc::slot1< void, eDVBChannel * > &  channelAdded,
ePtr< eConnection > &  connection 
)

◆ frontendIsCompatible()

bool eDVBResourceManager::frontendIsCompatible ( int  index,
const char *  type 
)

◆ frontendIsMultistream()

bool eDVBResourceManager::frontendIsMultistream ( int  index)

◆ frontendPreferenceAllowsChannelUse()

bool eDVBResourceManager::frontendPreferenceAllowsChannelUse ( const eDVBChannelID channelid,
eUsePtr< iDVBChannel channel,
bool  simulate 
)

◆ getActiveChannels()

RESULT eDVBResourceManager::getActiveChannels ( std::list< active_channel > &  list)

◆ getChannelList()

RESULT eDVBResourceManager::getChannelList ( ePtr< iDVBChannelList > &  list)

◆ getFrontendCapabilities()

std::string eDVBResourceManager::getFrontendCapabilities ( int  index)

◆ getFrontendType()

int eDVBResourceManager::getFrontendType ( int  index)

◆ getInstance()

RESULT eDVBResourceManager::getInstance ( ePtr< eDVBResourceManager > &  ptr)
static

◆ releaseCachedChannel()

void eDVBResourceManager::releaseCachedChannel ( )

◆ setChannelList()

RESULT eDVBResourceManager::setChannelList ( iDVBChannelList list)

◆ setFrontendSlotInformations()

PyObject * eDVBResourceManager::setFrontendSlotInformations ( SWIG_PYOBJECT(ePyObject list)

◆ setFrontendType()

void eDVBResourceManager::setFrontendType ( int  index,
const char *  type,
bool  append = false 
)

◆ SWIG_VOID()

eDVBResourceManager::SWIG_VOID ( RESULT  ) &

Friends And Related Function Documentation

◆ eDVBChannel

friend class eDVBChannel
friend

◆ eFBCTunerManager

friend class eFBCTunerManager
friend

◆ eRTSPStreamClient

friend class eRTSPStreamClient
friend

Member Data Documentation

◆ frontendUseMaskChanged

PSignal1<void,int> eDVBResourceManager::frontendUseMaskChanged

◆ slot_index

int eDVBResourceManager::slot_index

The documentation for this class was generated from the following files: