ccRTP 2.1.2
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions
KeyThreads Class Reference

Load /etc/phone.conf [thread] key value pairs. More...

#include <phone.h>

Inheritance diagram for KeyThreads:
Inheritance graph
[legend]
Collaboration diagram for KeyThreads:
Collaboration graph
[legend]

Public Member Functions

 KeyThreads ()
 Initialize keythread data. More...
 
int priAudio (void)
 Get relative priority to run service threads at. More...
 
int priRTP (void)
 Get relative priority for the rtp stack. More...
 
int getPriority (void)
 Get relative process priority. More...
 
unsigned getStack (void)
 Get thread stack frame size. More...
 
const char * getPolicy (void)
 Get scheduler policy to use. More...
 

Detailed Description

Load /etc/phone.conf [thread] key value pairs.

Has internal defaults if section or file is missing.

Author
David Sugar dyfet.nosp@m.@ost.nosp@m.el.co.nosp@m.m Load keythreads priority and session count configuration.

Definition at line 93 of file phone.h.

Constructor & Destructor Documentation

KeyThreads::KeyThreads ( )

Initialize keythread data.

Definition at line 25 of file config.cpp.

Member Function Documentation

const char* KeyThreads::getPolicy ( void  )
inline

Get scheduler policy to use.

Returns
scheduler policy.

Definition at line 139 of file phone.h.

int KeyThreads::getPriority ( void  )
inline

Get relative process priority.

Returns
rtp stack thread priority (relative).

Definition at line 122 of file phone.h.

unsigned KeyThreads::getStack ( void  )
inline

Get thread stack frame size.

Returns
thread stack frame in k.

Definition at line 130 of file phone.h.

int KeyThreads::priAudio ( void  )
inline

Get relative priority to run service threads at.

Returns
audio thread priority (relative).

Definition at line 106 of file phone.h.

int KeyThreads::priRTP ( void  )
inline

Get relative priority for the rtp stack.

Returns
audio thread priority (relative).

Definition at line 114 of file phone.h.


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