PoolInfo Class Reference

Sequencer Pool information. More...

#include <alsaclient.h>

List of all members.

Public Member Functions

 PoolInfo ()
 Default constructor.
 PoolInfo (const PoolInfo &other)
 Copy constructor.
 PoolInfo (snd_seq_client_pool_t *other)
 Copy constructor.
 PoolInfo (MidiClient *seq)
 Constructor.
virtual ~PoolInfo ()
 Destructor.
PoolInfoclone ()
 Clone the pool info obeject.
PoolInfooperator= (const PoolInfo &other)
 Assignment operator.
int getSizeOfInfo () const
 Gets the size of the client pool object.
int getClientId ()
 Gets the client ID for this object.
int getInputFree ()
 Gets the available size on input pool.
int getInputPool ()
 Gets the input pool size.
int getOutputFree ()
 Gets the available size on output pool.
int getOutputPool ()
 Gets the output pool size.
int getOutputRoom ()
 Gets the output room size.
void setInputPool (int size)
 Set the input pool size.
void setOutputPool (int size)
 Sets the output pool size.
void setOutputRoom (int size)
 Sets the output room size.

Friends

class MidiClient


Detailed Description

Sequencer Pool information.

This class is used to get and set the size of the input and output pool buffers for a sequencer client.

Definition at line 138 of file alsaclient.h.


Constructor & Destructor Documentation

PoolInfo (  ) 

Default constructor.

Definition at line 2167 of file alsaclient.cpp.

Referenced by PoolInfo::clone().

PoolInfo ( const PoolInfo other  ) 

Copy constructor.

Parameters:
other Another PoolInfo object reference to be copied

Definition at line 2176 of file alsaclient.cpp.

PoolInfo ( snd_seq_client_pool_t *  other  ) 

Copy constructor.

Parameters:
other An ALSA pool info object to be copied

Definition at line 2186 of file alsaclient.cpp.

PoolInfo ( MidiClient seq  ) 

Constructor.

Parameters:
seq A MidiClient object

Definition at line 2196 of file alsaclient.cpp.

References MidiClient::getHandle().

~PoolInfo (  )  [virtual]

Destructor.

Definition at line 2205 of file alsaclient.cpp.


Member Function Documentation

PoolInfo * clone (  ) 

Clone the pool info obeject.

Returns:
A pointer to the new object

Definition at line 2215 of file alsaclient.cpp.

References PoolInfo::PoolInfo().

int getClientId (  ) 

Gets the client ID for this object.

Returns:
The client ID.

Definition at line 2236 of file alsaclient.cpp.

int getInputFree (  ) 

Gets the available size on input pool.

Returns:
The available size on input pool.

Definition at line 2246 of file alsaclient.cpp.

int getInputPool (  ) 

Gets the input pool size.

Returns:
The input pool size.

Definition at line 2256 of file alsaclient.cpp.

int getOutputFree (  ) 

Gets the available size on output pool.

Returns:
The available size on output pool.

Definition at line 2266 of file alsaclient.cpp.

int getOutputPool (  ) 

Gets the output pool size.

Returns:
The output pool size.

Definition at line 2276 of file alsaclient.cpp.

int getOutputRoom (  ) 

Gets the output room size.

The output room is the minimum pool size for select/blocking mode.

Returns:
The output room size.

Definition at line 2287 of file alsaclient.cpp.

int getSizeOfInfo (  )  const

Gets the size of the client pool object.

Returns:
The size of the client pool object.

Definition at line 2327 of file alsaclient.cpp.

PoolInfo & operator= ( const PoolInfo other  ) 

Assignment operator.

Parameters:
other Another PoolInfo object reference to be copied
Returns:
This object

Definition at line 2225 of file alsaclient.cpp.

void setInputPool ( int  size  ) 

Set the input pool size.

Parameters:
size The input pool size.

Definition at line 2297 of file alsaclient.cpp.

void setOutputPool ( int  size  ) 

Sets the output pool size.

Parameters:
size The output pool size.

Definition at line 2307 of file alsaclient.cpp.

void setOutputRoom ( int  size  ) 

Sets the output room size.

The output room is the minimum pool size for select/blocking mode.

Definition at line 2317 of file alsaclient.cpp.


Friends And Related Function Documentation

friend class MidiClient [friend]

Definition at line 140 of file alsaclient.h.


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

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