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

The application class. More...

#include <ebase.h>

Inheritance diagram for eApplication:
eMainloop eMain

Public Member Functions

 eApplication ()
 
 ~eApplication ()
 
int isIdle () const
 
int idleCount () const
 
- Public Member Functions inherited from eMainloop
 eMainloop ()
 
virtual ~eMainloop ()
 
void quit (int ret=0)
 
int iterate (unsigned int timeout=0, PyObject **res=0, SWIG_PYOBJECT(ePyObject) additional=(PyObject *) 0)
 
int runLoop ()
 
PyObject * poll (SWIG_PYOBJECT(ePyObject) dict, SWIG_PYOBJECT(ePyObject) timeout)
 
void interruptPoll ()
 
void reset ()
 

Protected Member Functions

int _poll (struct pollfd *fds, nfds_t nfds, int timeout)
 

Detailed Description

The application class.

An application provides a mainloop, and runs in the primary thread. You can have other threads, too, but this is the primary one.

Constructor & Destructor Documentation

◆ eApplication()

eApplication::eApplication ( )
inline

◆ ~eApplication()

eApplication::~eApplication ( )
inline

Member Function Documentation

◆ _poll()

int eApplication::_poll ( struct pollfd *  fds,
nfds_t  nfds,
int  timeout 
)
protectedvirtual

Reimplemented from eMainloop.

◆ idleCount()

int eApplication::idleCount ( ) const
inline

◆ isIdle()

int eApplication::isIdle ( ) const
inline

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