TimerGlobalInfo Class Reference

Global timer information container. More...

#include <alsatimer.h>

List of all members.

Public Member Functions

 TimerGlobalInfo ()
 Default constructor.
 TimerGlobalInfo (const TimerGlobalInfo &other)
 Copy constructor.
 TimerGlobalInfo (const snd_timer_ginfo_t *other)
 Constructor.
virtual ~TimerGlobalInfo ()
 Destructor.
TimerGlobalInfoclone ()
 Copy the current object.
TimerGlobalInfooperator= (const TimerGlobalInfo &other)
 Assignment operator.
int getSizeOfInfo () const
 Gets the size of the ALSA timer global info object.
void setTimerId (const TimerId &tid)
 Sets the timer identifier.
TimerIdgetTimerId ()
 Gets the timer identifier.
unsigned int getFlags ()
 Gets the flags.
int getCard ()
 Gets the card number.
QString getId ()
 Gets the timer ID string.
QString getName ()
 Gets the timer name.
unsigned long getResolution ()
 Gets the timer resolution in ns.
unsigned long getMinResolution ()
 Gets timer minimal resolution in ns.
unsigned long getMaxResolution ()
 Gets timer maximal resolution in ns.
unsigned int getClients ()
 Gets current timer clients.

Friends

class TimerQuery


Detailed Description

Global timer information container.

This class provides global timer parameters.

Definition at line 120 of file alsatimer.h.


Constructor & Destructor Documentation

TimerGlobalInfo (  ) 

Default constructor.

Definition at line 547 of file alsatimer.cpp.

Referenced by TimerGlobalInfo::clone().

TimerGlobalInfo ( const TimerGlobalInfo other  ) 

Copy constructor.

Parameters:
other Existing TimerGlobalInfo object reference

Definition at line 566 of file alsatimer.cpp.

TimerGlobalInfo ( const snd_timer_ginfo_t *  other  ) 

Constructor.

Parameters:
other ALSA global info object pointer

Definition at line 556 of file alsatimer.cpp.

~TimerGlobalInfo (  )  [virtual]

Destructor.

Definition at line 575 of file alsatimer.cpp.


Member Function Documentation

TimerGlobalInfo * clone (  ) 

Copy the current object.

Returns:
Pointer to the new object

Definition at line 585 of file alsatimer.cpp.

References TimerGlobalInfo::TimerGlobalInfo().

int getCard (  ) 

Gets the card number.

Returns:
Card number

Definition at line 639 of file alsatimer.cpp.

unsigned int getClients (  ) 

Gets current timer clients.

Returns:
Current clients

Definition at line 699 of file alsatimer.cpp.

unsigned int getFlags (  ) 

Gets the flags.

Returns:
Undocumented flags

Definition at line 629 of file alsatimer.cpp.

QString getId (  ) 

Gets the timer ID string.

Returns:
Timer ID string

Definition at line 649 of file alsatimer.cpp.

unsigned long getMaxResolution (  ) 

Gets timer maximal resolution in ns.

Returns:
Maximal resolution in ns

Definition at line 689 of file alsatimer.cpp.

unsigned long getMinResolution (  ) 

Gets timer minimal resolution in ns.

Returns:
Minimal resolution in ns

Definition at line 679 of file alsatimer.cpp.

QString getName (  ) 

Gets the timer name.

Returns:
Timer name

Definition at line 659 of file alsatimer.cpp.

unsigned long getResolution (  ) 

Gets the timer resolution in ns.

Returns:
Timer resolution in ns

Definition at line 669 of file alsatimer.cpp.

int getSizeOfInfo (  )  const

Gets the size of the ALSA timer global info object.

Returns:
Size of the ALSA object

Definition at line 709 of file alsatimer.cpp.

TimerId & getTimerId (  ) 

Gets the timer identifier.

Returns:
TimerId object reference

Definition at line 618 of file alsatimer.cpp.

TimerGlobalInfo & operator= ( const TimerGlobalInfo other  ) 

Assignment operator.

Parameters:
other Existing TimerGlobalInfo object reference
Returns:
This object

Definition at line 596 of file alsatimer.cpp.

void setTimerId ( const TimerId tid  ) 

Sets the timer identifier.

Parameters:
tid TimerId object reference

Definition at line 607 of file alsatimer.cpp.


Friends And Related Function Documentation

friend class TimerQuery [friend]

Definition at line 122 of file alsatimer.h.


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

Generated on Wed Sep 8 10:12:52 2010 for drumstick by  doxygen 1.5.9