![]() |
libElysianVMU 1.6.0
Full-featured, accurate, cross-platform library emulating the Dreamcast's Visual Memory Unit
|
Go to the source code of this file.
Data Structures | |
struct | EvmuDeviceClass |
struct | EvmuDevice |
Macros | |
Type System | |
Type UUID and cast operators | |
#define | EVMU_DEVICE_TYPE (GBL_TYPEID(EvmuDevice)) |
#define | EVMU_DEVICE(self) (GBL_CAST(EvmuDevice, self)) |
#define | EVMU_DEVICE_CLASS(klass) (GBL_CLASS_CAST(EvmuDevice, klass)) |
#define | EVMU_DEVICE_GET_CLASS(self) (GBL_CLASSOF(EvmuDevice, self)) |
Functions | |
GblType | EvmuDevice_type (void) |
EvmuDevice * | EvmuDevice_create (void) |
EvmuDevice * | EvmuDevice_ref (const EvmuDevice *pSelf) |
GblRefCount | EvmuDevice_unref (EvmuDevice *pSelf) |
EvmuDevice top-level emulated entity.
EvmuDevice encompasses everything that a single Visual Memory Unit/System entails, emulating the Sanyo Potato IC.
Definition in file evmu_device.h.
#define EVMU_DEVICE | ( | self | ) | (GBL_CAST(EvmuDevice, self)) |
Cast GblInstance to EvmuDevice.
Definition at line 35 of file evmu_device.h.
#define EVMU_DEVICE_CLASS | ( | klass | ) | (GBL_CLASS_CAST(EvmuDevice, klass)) |
Cast GblClass to EvmuDeviceClass.
Definition at line 36 of file evmu_device.h.
#define EVMU_DEVICE_GET_CLASS | ( | self | ) | (GBL_CLASSOF(EvmuDevice, self)) |
Get EvmuDeviceClass from GblInstance
Definition at line 37 of file evmu_device.h.
#define EVMU_DEVICE_TYPE (GBL_TYPEID(EvmuDevice)) |
UUID for the EvmuDevice type.
Definition at line 34 of file evmu_device.h.
EvmuDevice * EvmuDevice_create | ( | void | ) |
Creates an EvmuDevice instance and returns a pointer to it.
EvmuDevice * EvmuDevice_ref | ( | const EvmuDevice * | pSelf | ) |
Increments the reference counter for the given device, returning a pointer to it.
GblType EvmuDevice_type | ( | void | ) |
Returns the GblType UUID associated with EvmuDevice.
GblRefCount EvmuDevice_unref | ( | EvmuDevice * | pSelf | ) |
Decrements and returns the reference count of the given EvmuDevice, destructing it at 0.