#include <alsaclient.h>
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. | |
PoolInfo * | clone () |
Clone the pool info obeject. | |
PoolInfo & | operator= (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 |
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.
PoolInfo | ( | ) |
Default constructor.
Definition at line 2167 of file alsaclient.cpp.
Referenced by PoolInfo::clone().
Copy constructor.
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.
other | An ALSA pool info object to be copied |
Definition at line 2186 of file alsaclient.cpp.
PoolInfo | ( | MidiClient * | seq | ) |
Constructor.
seq | A MidiClient object |
Definition at line 2196 of file alsaclient.cpp.
References MidiClient::getHandle().
~PoolInfo | ( | ) | [virtual] |
PoolInfo * clone | ( | ) |
Clone the pool info obeject.
Definition at line 2215 of file alsaclient.cpp.
References PoolInfo::PoolInfo().
int getClientId | ( | ) |
Gets the client ID for this object.
Definition at line 2236 of file alsaclient.cpp.
int getInputFree | ( | ) |
Gets the available size on input pool.
Definition at line 2246 of file alsaclient.cpp.
int getInputPool | ( | ) |
Gets the input pool size.
Definition at line 2256 of file alsaclient.cpp.
int getOutputFree | ( | ) |
Gets the available size on output pool.
Definition at line 2266 of file alsaclient.cpp.
int getOutputPool | ( | ) |
Gets 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.
Definition at line 2287 of file alsaclient.cpp.
int getSizeOfInfo | ( | ) | const |
Gets the size of the client pool object.
Definition at line 2327 of file alsaclient.cpp.
Assignment operator.
other | Another PoolInfo object reference to be copied |
Definition at line 2225 of file alsaclient.cpp.
void setInputPool | ( | int | size | ) |
Set the input pool size.
size | The input pool size. |
Definition at line 2297 of file alsaclient.cpp.
void setOutputPool | ( | int | size | ) |
Sets the output pool size.
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.
friend class MidiClient [friend] |
Definition at line 140 of file alsaclient.h.