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

#include <evmu_ibehavior.h>

Inheritance diagram for EvmuIBehaviorClass:
EvmuDeviceClass EvmuEmulatorClass EvmuPeripheralClass EvmuBatteryClass EvmuBuzzerClass EvmuClockClass EvmuCpuClass EvmuFlashClass EvmuGamepadClass EvmuLcdClass EvmuPicClass EvmuRomClass EvmuTimersClass EvmuWramClass

Data Fields

GblInterface base
 
EVMU_RESULT(* pFnReset )(EvmuIBehavior *pSelf)
 
EVMU_RESULT(* pFnUpdate )(EvmuIBehavior *pSelf, EvmuTicks ticks)
 
EVMU_RESULT(* pFnSaveState )(const EvmuIBehavior *pSelf, FILE *pFile)
 
EVMU_RESULT(* pFnLoadState )(EvmuIBehavior *pSelf, FILE *pFile)
 

Detailed Description

GblInterface/VTable for all EvmuBehaviors.

EvmuIBehaviorClass is the virtual table which implements each emulation event/trigger for a given class.

See also
EvmuIBehavior

Definition at line 41 of file evmu_ibehavior.h.

Field Documentation

◆ base

GblInterface EvmuIBehaviorClass::base

Inherited base class EvmuIBehavior.

Definition at line 41 of file evmu_ibehavior.h.

◆ pFnLoadState

EVMU_RESULT(* EvmuIBehaviorClass::pFnLoadState) (EvmuIBehavior *pSelf, FILE *pFile)

Called to load the state of the associated entity.

Definition at line 49 of file evmu_ibehavior.h.

◆ pFnReset

EVMU_RESULT(* EvmuIBehaviorClass::pFnReset) (EvmuIBehavior *pSelf)

Called when the reset event is fired.

Definition at line 43 of file evmu_ibehavior.h.

◆ pFnSaveState

EVMU_RESULT(* EvmuIBehaviorClass::pFnSaveState) (const EvmuIBehavior *pSelf, FILE *pFile)

Called to save the state of the associated entity.

Definition at line 47 of file evmu_ibehavior.h.

◆ pFnUpdate

EVMU_RESULT(* EvmuIBehaviorClass::pFnUpdate) (EvmuIBehavior *pSelf, EvmuTicks ticks)

Called when the update event is fired.

Definition at line 45 of file evmu_ibehavior.h.


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