drumstick
0.5.0
|
Sequencer Pool information. More...
#include <alsaclient.h>
Public Member Functions | |
PoolInfo () | |
Default constructor. | |
PoolInfo (const PoolInfo &other) | |
Copy constructor. More... | |
PoolInfo (snd_seq_client_pool_t *other) | |
Copy constructor. More... | |
PoolInfo (MidiClient *seq) | |
Constructor. More... | |
virtual | ~PoolInfo () |
Destructor. | |
PoolInfo * | clone () |
Clone the pool info obeject. More... | |
PoolInfo & | operator= (const PoolInfo &other) |
Assignment operator. More... | |
int | getSizeOfInfo () const |
Gets the size of the client pool object. More... | |
int | getClientId () |
Gets the client ID for this object. More... | |
int | getInputFree () |
Gets the available size on input pool. More... | |
int | getInputPool () |
Gets the input pool size. More... | |
int | getOutputFree () |
Gets the available size on output pool. More... | |
int | getOutputPool () |
Gets the output pool size. More... | |
int | getOutputRoom () |
Gets the output room size. More... | |
void | setInputPool (int size) |
Set the input pool size. More... | |
void | setOutputPool (int size) |
Sets the output pool size. More... | |
void | setOutputRoom (int size) |
Sets the output room size. More... | |
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.
Copy constructor.
other | Another PoolInfo object reference to be copied |
Definition at line 2314 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 2324 of file alsaclient.cpp.
PoolInfo | ( | MidiClient * | seq | ) |
Constructor.
seq | A MidiClient object |
Definition at line 2334 of file alsaclient.cpp.
References MidiClient::getHandle().
PoolInfo * clone | ( | ) |
Clone the pool info obeject.
Definition at line 2353 of file alsaclient.cpp.
int getClientId | ( | ) |
Gets the client ID for this object.
Definition at line 2374 of file alsaclient.cpp.
int getInputFree | ( | ) |
Gets the available size on input pool.
Definition at line 2384 of file alsaclient.cpp.
int getInputPool | ( | ) |
Gets the input pool size.
Definition at line 2394 of file alsaclient.cpp.
int getOutputFree | ( | ) |
Gets the available size on output pool.
Definition at line 2404 of file alsaclient.cpp.
int getOutputPool | ( | ) |
Gets the output pool size.
Definition at line 2414 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 2425 of file alsaclient.cpp.
int getSizeOfInfo | ( | ) | const |
Gets the size of the client pool object.
Definition at line 2467 of file alsaclient.cpp.
Assignment operator.
other | Another PoolInfo object reference to be copied |
Definition at line 2363 of file alsaclient.cpp.
void setInputPool | ( | int | size | ) |
Set the input pool size.
size | The input pool size. |
Definition at line 2435 of file alsaclient.cpp.
void setOutputPool | ( | int | size | ) |
Sets the output pool size.
size | The output pool size. |
Definition at line 2445 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.
size | Output room size |
Definition at line 2457 of file alsaclient.cpp.