libElysianVMU 1.6.0
Full-featured, accurate, cross-platform library emulating the Dreamcast's Visual Memory Unit
Loading...
Searching...
No Matches
EvmuEmulator Struct Reference

#include <evmu_emulator.h>

Inheritance diagram for EvmuEmulator:
GblModule EvmuIBehavior GblContext GblObject GblBox GblITableVariant GblInstance

Data Fields

union { 
 
   EvmuEmulatorClass *   pClass 
 
   GblModule   base 
 
};  
 
- Data Fields inherited from GblModule
GblModuleClasspClass
 
GblContext base
 
GblVersion version
 
GblStringRefpPrefix
 
GblStringRefpAuthor
 
GblStringRefpDescription
 
GblOptionGrouppOptionGroup
 
- Data Fields inherited from GblContext
GblContextClasspClass
 
GblObject base
 
- Data Fields inherited from GblObject
GblObjectClasspClass
 
GblBox base
 
- Data Fields inherited from GblBox
GblBoxClasspClass
 
GblInstance base
 
GblArrayMappFields
 
volatile uint16_t refCounter
 
uint16_t contextType
 
uint16_t constructedInPlace
 
uint16_t derivedFlags
 
- Data Fields inherited from GblInstance
GblClasspClass
 

Related Symbols

(Note that these are not member symbols.)

Device Management

Methods for managing devices

EVMU_RESULT EvmuEmulator_addDevice (EvmuEmulator *pSelf, EvmuDevice *pDevice)
 
EVMU_RESULT EvmuEmulator_removeDevice (EvmuEmulator *pSelf, EvmuDevice *pDevice)
 
size_t EvmuEmulator_deviceCount (const EvmuEmulator *pSelf)
 
EvmuDeviceEvmuEmulator_device (const EvmuEmulator *pSelf, size_t index)
 
GblBool EvmuEmulator_foreachDevice (const EvmuEmulator *pSelf, EvmuEmulatorIterFn pFnIt, void *pClosure)
 

Additional Inherited Members

- Public Member Functions inherited from GblObject
GblContextGblObject_findContext (GblObject *pSelf)
 
GBL_RESULT GblObject_property (const GblObject *pSelf, const char *pName,...)
 
GBL_RESULT GblObject_propertyByQuark (const GblObject *pSelf, GblQuark name,...)
 
GBL_RESULT GblObject_propertyVaList (const GblObject *pSelf, const char *pName, va_list *pList)
 
GBL_RESULT GblObject_propertyVaListByQuark (const GblObject *pSelf, GblQuark name, va_list *pList)
 
GBL_RESULT GblObject_propertyVariant (const GblObject *pSelf, const char *pName, GblVariant *pValue)
 
GBL_RESULT GblObject_propertyVariantByQuark (const GblObject *pSelf, GblQuark name, GblVariant *pValue)
 
GBL_RESULT GblObject_properties (const GblObject *pSelf,...)
 
GBL_RESULT GblObject_propertiesVaList (const GblObject *pSelf, va_list *pList)
 
GBL_RESULT GblObject_propertiesVariants (const GblObject *pSelf, size_t count, const char *pNames[], GblVariant *pValue)
 
GBL_RESULT GblObject_setProperty (GblObject *pSelf, const char *pName,...)
 
GBL_RESULT GblObject_setPropertyByQuark (GblObject *pSelf, GblQuark quark,...)
 
GBL_RESULT GblObject_setPropertyVaList (GblObject *pSelf, const char *pName, va_list *pList)
 
GBL_RESULT GblObject_setPropertyVaListByQuark (GblObject *pSelf, GblQuark name, va_list *pList)
 
GBL_RESULT GblObject_setPropertyVariant (GblObject *pSelf, const char *pName, GblVariant *pValue)
 
GBL_RESULT GblObject_setPropertyVariantByQuark (GblObject *pSelf, GblQuark name, GblVariant *pValue)
 
GBL_RESULT GblObject_setProperties (GblObject *pSelf,...)
 
GBL_RESULT GblObject_setPropertiesVaList (GblObject *pSelf, va_list *pList)
 
GBL_RESULT GblObject_setPropertiesVariants (GblObject *pSelf, size_t count, const char *pNames[], GblVariant *pValue)
 
const GblStringRefGblObject_name (const GblObject *pSelf)
 
void GblObject_setName (GblObject *pSelf, const char *pName)
 
void GblObject_setNameRef (GblObject *pSelf, const GblStringRef *pRef)
 
GblObjectGblObject_parent (const GblObject *pSelf)
 
void GblObject_setParent (GblObject *pSelf, GblObject *pParent)
 
void GblObject_addChild (GblObject *pSelf, GblObject *pChild)
 
GblBool GblObject_removeChild (GblObject *pSelf, GblObject *pChild)
 
size_t GblObject_depth (const GblObject *pSelf)
 
GblObjectGblObject_childFirst (const GblObject *pSelf)
 
size_t GblObject_childCount (const GblObject *pSelf)
 
GblObjectGblObject_siblingNext (const GblObject *pSelf)
 
GblObjectGblObject_findAncestorByType (const GblObject *pSelf, GblType ancestorType)
 
GblObjectGblObject_findAncestorByName (const GblObject *pSelf, const char *pName)
 
GblObjectGblObject_findAncestorByHeight (const GblObject *pSelf, size_t height)
 
GblObjectGblObject_findBaseByDepth (const GblObject *pSelf, size_t depth)
 
GblObjectGblObject_findChildByType (const GblObject *pSelf, GblType childType)
 
GblObjectGblObject_findChildByName (const GblObject *pSelf, const char *pName)
 
GblObjectGblObject_findChildByIndex (const GblObject *pSelf, size_t index)
 
GblObjectGblObject_findSiblingByType (const GblObject *pSelf, GblType siblingType)
 
GblObjectGblObject_findSiblingByName (const GblObject *pSelf, const char *pName)
 
GblObjectGblObject_findSiblingByIndex (const GblObject *pSelf, size_t index)
 
GBL_RESULT GblObject_sendEvent (GblObject *pSelf, GblEvent *pEvent)
 
GBL_RESULT GblObject_notifyEvent (GblObject *pSelf, GblEvent *pEvent)
 
GBL_RESULT GblObject_installEventFilter (GblObject *pSelf, GblIEventFilter *pFilter)
 
GBL_RESULT GblObject_uninstallEventFilter (GblObject *pSelf, GblIEventFilter *pFilter)
 
size_t GblObject_eventFilterCount (const GblObject *pSelf)
 
GblIEventFilter * GblObject_eventFilter (const GblObject *pSelf, size_t index)
 
GBL_RESULT GblObject_property (const GblObject *pSelf, const char *pName,...)
 
GBL_RESULT GblObject_propertyByQuark (const GblObject *pSelf, GblQuark name,...)
 
GBL_RESULT GblObject_propertyVaList (const GblObject *pSelf, const char *pName, va_list *pList)
 
GBL_RESULT GblObject_propertyVaListByQuark (const GblObject *pSelf, GblQuark name, va_list *pList)
 
GBL_RESULT GblObject_propertyVariant (const GblObject *pSelf, const char *pName, GblVariant *pValue)
 
GBL_RESULT GblObject_propertyVariantByQuark (const GblObject *pSelf, GblQuark name, GblVariant *pValue)
 
GBL_RESULT GblObject_properties (const GblObject *pSelf,...)
 
GBL_RESULT GblObject_propertiesVaList (const GblObject *pSelf, va_list *pList)
 
GBL_RESULT GblObject_propertiesVariants (const GblObject *pSelf, size_t count, const char *pNames[], GblVariant *pValue)
 
GBL_RESULT GblObject_setProperty (GblObject *pSelf, const char *pName,...)
 
GBL_RESULT GblObject_setPropertyByQuark (GblObject *pSelf, GblQuark quark,...)
 
GBL_RESULT GblObject_setPropertyVaList (GblObject *pSelf, const char *pName, va_list *pList)
 
GBL_RESULT GblObject_setPropertyVaListByQuark (GblObject *pSelf, GblQuark name, va_list *pList)
 
GBL_RESULT GblObject_setPropertyVariant (GblObject *pSelf, const char *pName, GblVariant *pValue)
 
GBL_RESULT GblObject_setPropertyVariantByQuark (GblObject *pSelf, GblQuark name, GblVariant *pValue)
 
GBL_RESULT GblObject_setProperties (GblObject *pSelf,...)
 
GBL_RESULT GblObject_setPropertiesVaList (GblObject *pSelf, va_list *pList)
 
GBL_RESULT GblObject_setPropertiesVariants (GblObject *pSelf, size_t count, const char *pNames[], GblVariant *pValue)
 
const GblStringRefGblObject_name (const GblObject *pSelf)
 
void GblObject_setName (GblObject *pSelf, const char *pName)
 
void GblObject_setNameRef (GblObject *pSelf, const GblStringRef *pRef)
 
GblObjectGblObject_parent (const GblObject *pSelf)
 
void GblObject_setParent (GblObject *pSelf, GblObject *pParent)
 
void GblObject_addChild (GblObject *pSelf, GblObject *pChild)
 
GblBool GblObject_removeChild (GblObject *pSelf, GblObject *pChild)
 
size_t GblObject_depth (const GblObject *pSelf)
 
GblObjectGblObject_childFirst (const GblObject *pSelf)
 
size_t GblObject_childCount (const GblObject *pSelf)
 
GblObjectGblObject_siblingNext (const GblObject *pSelf)
 
GblObjectGblObject_findAncestorByType (const GblObject *pSelf, GblType ancestorType)
 
GblObjectGblObject_findAncestorByName (const GblObject *pSelf, const char *pName)
 
GblObjectGblObject_findAncestorByHeight (const GblObject *pSelf, size_t height)
 
GblObjectGblObject_findBaseByDepth (const GblObject *pSelf, size_t depth)
 
GblObjectGblObject_findChildByType (const GblObject *pSelf, GblType childType)
 
GblObjectGblObject_findChildByName (const GblObject *pSelf, const char *pName)
 
GblObjectGblObject_findChildByIndex (const GblObject *pSelf, size_t index)
 
GblObjectGblObject_findSiblingByType (const GblObject *pSelf, GblType siblingType)
 
GblObjectGblObject_findSiblingByName (const GblObject *pSelf, const char *pName)
 
GblObjectGblObject_findSiblingByIndex (const GblObject *pSelf, size_t index)
 
GBL_RESULT GblObject_sendEvent (GblObject *pSelf, GblEvent *pEvent)
 
GBL_RESULT GblObject_notifyEvent (GblObject *pSelf, GblEvent *pEvent)
 
GBL_RESULT GblObject_installEventFilter (GblObject *pSelf, GblIEventFilter *pFilter)
 
GBL_RESULT GblObject_uninstallEventFilter (GblObject *pSelf, GblIEventFilter *pFilter)
 
size_t GblObject_eventFilterCount (const GblObject *pSelf)
 
GblIEventFilter * GblObject_eventFilter (const GblObject *pSelf, size_t index)
 
- Public Member Functions inherited from GblBox
GblBoxGblBox_ref (GblBox *pSelf)
 
GblRefCount GblBox_unref (GblBox *pSelf)
 
GblRefCount GblBox_refCount (const GblBox *pSelf)
 
void * GblBox_userdata (const GblBox *pSelf)
 
GBL_RESULT GblBox_setUserdata (GblBox *pSelf, void *pUserdata)
 
GBL_RESULT GblBox_setUserDestructor (GblBox *pSelf, GblArrayMapDtorFn pFnUdDtor)
 
uintptr_t GblBox_field (const GblBox *pSelf, GblQuark key)
 
uintptr_t GblBox_takeField (GblBox *pSelf, GblQuark key)
 
GblBool GblBox_clearField (GblBox *pSelf, GblQuark key)
 
GblBool GblBox_hasField (const GblBox *pSelf, GblQuark key)
 
GBL_RESULT GblBox_setField (GblBox *pSelf, GblQuark key, uintptr_t ud, GblArrayMapDtorFn pFnDtor)
 
GblBoxGblBox_ref (GblBox *pSelf)
 
GblRefCount GblBox_unref (GblBox *pSelf)
 
GblRefCount GblBox_refCount (const GblBox *pSelf)
 
void * GblBox_userdata (const GblBox *pSelf)
 
GBL_RESULT GblBox_setUserdata (GblBox *pSelf, void *pUserdata)
 
GBL_RESULT GblBox_setUserDestructor (GblBox *pSelf, GblArrayMapDtorFn pFnUdDtor)
 
uintptr_t GblBox_field (const GblBox *pSelf, GblQuark key)
 
uintptr_t GblBox_takeField (GblBox *pSelf, GblQuark key)
 
GblBool GblBox_clearField (GblBox *pSelf, GblQuark key)
 
GblBool GblBox_hasField (const GblBox *pSelf, GblQuark key)
 
GBL_RESULT GblBox_setField (GblBox *pSelf, GblQuark key, uintptr_t ud, GblArrayMapDtorFn pFnDtor)
 
- Public Member Functions inherited from GblInstance
GblRefCount GblInstance_destroy (GblInstance *pSelf)
 
GblBool GblInstance_check (const GblInstance *pSelf, GblType toType)
 
GblInstanceGblInstance_cast (GblInstance *pSelf, GblType toType)
 
GblInstanceGblInstance_as (GblInstance *pSelf, GblType toType)
 
void * GblInstance_private (const GblInstance *pSelf, GblType base)
 
GblInstanceGblInstance_public (const void *pPriv, GblType base)
 
GblType GblInstance_typeOf (const GblInstance *pSelf)
 
size_t GblInstance_size (const GblInstance *pSelf)
 
size_t GblInstance_privateSize (const GblInstance *pSelf)
 
size_t GblInstance_totalSize (const GblInstance *pSelf)
 
GblClassGblInstance_class (const GblInstance *pSelf)
 
GBL_RESULT GblInstance_swizzleClass (GblInstance *pSelf, GblClass *pClass)
 
GBL_RESULT GblInstance_sinkClass (GblInstance *pSelf)
 
GBL_RESULT GblInstance_floatClass (GblInstance *pSelf)
 
GblBool GblInstance_check (const GblInstance *pSelf, GblType toType)
 
GblInstanceGblInstance_cast (GblInstance *pSelf, GblType toType)
 
GblInstanceGblInstance_as (GblInstance *pSelf, GblType toType)
 
void * GblInstance_private (const GblInstance *pSelf, GblType base)
 
GblInstanceGblInstance_public (const void *pPriv, GblType base)
 
GblType GblInstance_typeOf (const GblInstance *pSelf)
 
size_t GblInstance_size (const GblInstance *pSelf)
 
size_t GblInstance_privateSize (const GblInstance *pSelf)
 
size_t GblInstance_totalSize (const GblInstance *pSelf)
 
GblClassGblInstance_class (const GblInstance *pSelf)
 
GBL_RESULT GblInstance_swizzleClass (GblInstance *pSelf, GblClass *pClass)
 
GBL_RESULT GblInstance_sinkClass (GblInstance *pSelf)
 
GBL_RESULT GblInstance_floatClass (GblInstance *pSelf)
 

Detailed Description

Top-level module for emulator.

EvmuEmulator is a top-level module object for the emulation core.

See also
EvmuEmulatorClass

Definition at line 70 of file evmu_emulator.h.

Friends And Related Symbol Documentation

◆ EvmuEmulator_addDevice()

EVMU_RESULT EvmuEmulator_addDevice ( EvmuEmulator pSelf,
EvmuDevice pDevice 
)
related

Adds the device given by pDevice to the top-level EvmuEmulator instance, taking ownership of it.

◆ EvmuEmulator_device()

EvmuDevice * EvmuEmulator_device ( const EvmuEmulator pSelf,
size_t  index 
)
related

Returns the device managed by the given EvmuEmulator instance at the given index.

◆ EvmuEmulator_deviceCount()

size_t EvmuEmulator_deviceCount ( const EvmuEmulator pSelf)
related

Returns the total number of devices owned and managed by the EvmuEmulator instance.

◆ EvmuEmulator_foreachDevice()

GblBool EvmuEmulator_foreachDevice ( const EvmuEmulator pSelf,
EvmuEmulatorIterFn  pFnIt,
void *  pClosure 
)
related

Iterates over each managed EvmuDevice, passing it to pFnIt, along with pClosure.

◆ EvmuEmulator_removeDevice()

EVMU_RESULT EvmuEmulator_removeDevice ( EvmuEmulator pSelf,
EvmuDevice pDevice 
)
related

Removes the device given by pDevice from the top-level EvmuEmulator instance, relinquishing ownership of it.

Field Documentation

◆ base

GblModule EvmuEmulator::base

Inherited base instance structure.

Definition at line 70 of file evmu_emulator.h.

◆ pClass

EvmuEmulatorClass* EvmuEmulator::pClass

Pointer to class/vtable structure.

Definition at line 70 of file evmu_emulator.h.


The documentation for this struct was generated from the following file: