1 #ifndef THROTTLEMANAGER_HH
2 #define THROTTLEMANAGER_HH
9 class CommandController;
41 void indicateLoadingState(
bool state);
67 void update(
bool newState);
Used by a device to indicate when it is loading.
LoadingIndicator(ThrottleManager &throttleManager)
void update(bool newState)
Called by the device to indicate its loading state may have changed.
Generic Gang-of-Four Observer class, templatized edition.
Generic Gang-of-Four Subject class of the Observer pattern, templatized edition.
Manages the throttle state of openMSX.
bool isThrottled() const
Ask if throttling is enabled.
ThrottleManager(CommandController &commandController)
This file implemented 3 utility functions: