libsidplayfp 1.0.3
|
#include <sidbuilder.h>
Classes | |
class | applyParameter |
Public Member Functions | |
sidbuilder (const char *const name) | |
unsigned int | usedDevices () const |
virtual unsigned int | availDevices () const =0 |
virtual unsigned int | create (unsigned int sids)=0 |
sidemu * | lock (EventContext *env, SidConfig::sid_model_t model) |
void | unlock (sidemu *device) |
void | remove () |
const char * | name () const |
const char * | error () const |
bool | getStatus () const |
virtual const char * | credits () const =0 |
virtual void | filter (bool enable)=0 |
Protected Attributes | |
std::string | m_errorBuffer |
std::set< sidemu * > | sidobjs |
bool | m_status |
Base class for sid builders.
virtual unsigned int sidbuilder::availDevices | ( | ) | const [pure virtual] |
Available devices.
Implemented in HardSIDBuilder, ReSIDBuilder, and ReSIDfpBuilder.
virtual unsigned int sidbuilder::create | ( | unsigned int | sids | ) | [pure virtual] |
Create the sid emu.
sids | the number of required sid emu |
Implemented in HardSIDBuilder, ReSIDBuilder, and ReSIDfpBuilder.
virtual const char* sidbuilder::credits | ( | ) | const [pure virtual] |
Get the builder's credits.
Implemented in HardSIDBuilder, ReSIDBuilder, and ReSIDfpBuilder.
const char* sidbuilder::error | ( | ) | const [inline] |
Error message.
virtual void sidbuilder::filter | ( | bool | enable | ) | [pure virtual] |
Toggle sid filter emulation.
enable | true = enable, false = disable |
Implemented in HardSIDBuilder, ReSIDBuilder, and ReSIDfpBuilder.
bool sidbuilder::getStatus | ( | ) | const [inline] |
Determine current state of object.
sidemu * sidbuilder::lock | ( | EventContext * | env, |
SidConfig::sid_model_t | model | ||
) |
Find a free SID of the required specs
env | the event context |
model | the required sid model |
const char* sidbuilder::name | ( | ) | const [inline] |
Get the builder's name.
void sidbuilder::remove | ( | ) |
Remove all SID emulations.
void sidbuilder::unlock | ( | sidemu * | device | ) |
Release this SID.
device | the sid emu to unlock |
unsigned int sidbuilder::usedDevices | ( | ) | const [inline] |
The number of used devices.