MythPrivRequest Class Reference

#include <mythcontext.h>

List of all members.


Detailed Description

Container for requests that require privledge escalation.

Currently this is used for just one thing, increasing the priority of the video output thread to a real-time priority. These requests are made by calling gContext->addPrivRequest().

See also:
NuppelVideoPlayer::StartPlaying(void)

MythContext:addPrivRequest(MythPrivRequest::Type, void*)

Definition at line 95 of file mythcontext.h.


Public Types

enum  Type { MythRealtime, MythExit, PrivEnd }

Public Member Functions

 MythPrivRequest (Type t, void *data)
Type getType () const
void * getData () const

Private Attributes

Type m_type
void * m_data

Member Enumeration Documentation

Enumerator:
MythRealtime 
MythExit 
PrivEnd 

Definition at line 98 of file mythcontext.h.


Constructor & Destructor Documentation

MythPrivRequest::MythPrivRequest ( Type  t,
void *  data 
) [inline]

Definition at line 99 of file mythcontext.h.


Member Function Documentation

Type MythPrivRequest::getType (  )  const [inline]

Definition at line 100 of file mythcontext.h.

void* MythPrivRequest::getData ( void   )  const [inline]

Definition at line 101 of file mythcontext.h.


Member Data Documentation

Definition at line 103 of file mythcontext.h.

void* MythPrivRequest::m_data [private]

Definition at line 104 of file mythcontext.h.


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

Generated on Sat Dec 18 05:16:08 2010 for MythTV by  doxygen 1.5.5