Appearance
HdControllerAPI
cpp
#include <VAmiga.h>cpp
class HdControllerAPIDefined in VAmiga.h:1307
API of a hard drive controller.
Public Methods
| Return | Name | Description |
|---|---|---|
const HdcInfo & | getInfo const | Provides details about the controller. |
const HdcInfo & | getCachedInfo const | Returns the most recent state snapshot recorded by the emulator thread (see getInfo()). |
const HdcMetrics & | getMetrics const | Returns statistical information about the components. |
const HdcMetrics & | getCachedMetrics const | Returns the most recent metrics snapshot recorded by the emulator thread (see getMetrics()). |
getInfo
const
cpp
const HdcInfo & getInfo() constDefined in VAmiga.h:1328
Provides details about the controller.
Returns the component's current state.
getInfo() reads the live state on the calling thread. The result is only consistent if the emulator is paused or suspended. getCachedInfo() returns the snapshot the emulator thread has recorded most recently, which is the one to use while the emulator runs. Both return references that can be overwritten by a later call or by the emulator thread, so copy the data if you need to keep it.
getCachedInfo
const
cpp
const HdcInfo & getCachedInfo() constDefined in VAmiga.h:1330
Returns the most recent state snapshot recorded by the emulator thread (see getInfo()).
getMetrics
const
cpp
const HdcMetrics & getMetrics() constDefined in VAmiga.h:1341
Returns statistical information about the components.
getMetrics() reads the live state on the calling thread. The result is only consistent if the emulator is paused or suspended. getCachedMetrics() returns the snapshot the emulator thread has recorded most recently, which is the one to use while the emulator runs. Both return references that can be overwritten by a later call or by the emulator thread, so copy the data if you need to keep it.
getCachedMetrics
const
cpp
const HdcMetrics & getCachedMetrics() constDefined in VAmiga.h:1343
Returns the most recent metrics snapshot recorded by the emulator thread (see getMetrics()).