libsidplayfp
2.0.2
|
#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 |
libsidplayfp::sidemu * | lock (libsidplayfp::EventScheduler *scheduler, SidConfig::sid_model_t model, bool digiboost) |
void | unlock (libsidplayfp::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 Types | |
typedef std::set< libsidplayfp::sidemu * > | emuset_t |
Protected Attributes | |
std::string | m_errorBuffer |
emuset_t | sidobjs |
bool | m_status |
Base class for sid builders.
|
pure virtual |
Available devices.
Implemented in HardSIDBuilder, exSIDBuilder, ReSIDBuilder, and ReSIDfpBuilder.
|
pure virtual |
Create the sid emu.
sids | the number of required sid emu |
Implemented in HardSIDBuilder, exSIDBuilder, ReSIDfpBuilder, and ReSIDBuilder.
|
pure virtual |
Get the builder's credits.
Implemented in HardSIDBuilder, ReSIDfpBuilder, exSIDBuilder, and ReSIDBuilder.
|
inline |
Error message.
|
pure virtual |
Toggle sid filter emulation.
enable | true = enable, false = disable |
Implemented in HardSIDBuilder, ReSIDfpBuilder, exSIDBuilder, and ReSIDBuilder.
|
inline |
Determine current state of object.
libsidplayfp::sidemu * sidbuilder::lock | ( | libsidplayfp::EventScheduler * | scheduler, |
SidConfig::sid_model_t | model, | ||
bool | digiboost | ||
) |
Find a free SID of the required specs
env | the event context |
model | the required sid model |
digiboost | whether to enable digiboost for 8580 |
|
inline |
Get the builder's name.
void sidbuilder::remove | ( | ) |
Remove all SID emulations.
void sidbuilder::unlock | ( | libsidplayfp::sidemu * | device | ) |
Release this SID.
device | the sid emu to unlock |
|
inline |
The number of used devices.