libsidplayfp
1.8.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 Types | |
typedef std::set< 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, ReSIDBuilder, and ReSIDfpBuilder.
|
pure virtual |
Create the sid emu.
sids | the number of required sid emu |
Implemented in HardSIDBuilder, ReSIDfpBuilder, and ReSIDBuilder.
|
pure virtual |
Get the builder's credits.
Implemented in HardSIDBuilder, ReSIDfpBuilder, and ReSIDBuilder.
|
inline |
Error message.
|
pure virtual |
Toggle sid filter emulation.
enable | true = enable, false = disable |
Implemented in HardSIDBuilder, ReSIDfpBuilder, and ReSIDBuilder.
|
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 |
|
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 |
|
inline |
The number of used devices.