Appearance
XRayAPI
cpp
#include <VAmiga.h>cpp
class XRayAPIDefined in VAmiga.h:368
API of the X-Ray visualizer.
Public Methods
| Return | Name | Description |
|---|---|---|
const XRayConfig & | getConfig const | Returns the component's current configuration. |
const XRayInfo & | getInfo const | Returns the component's current state. |
const XRayInfo & | getCachedInfo const | Returns the most recent state snapshot recorded by the emulator thread (see getInfo()). |
getConfig
const
cpp
const XRayConfig & getConfig() constDefined in VAmiga.h:378
Returns the component's current configuration.
getInfo
const
cpp
const XRayInfo & getInfo() constDefined in VAmiga.h:389
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 XRayInfo & getCachedInfo() constDefined in VAmiga.h:391
Returns the most recent state snapshot recorded by the emulator thread (see getInfo()).