qb
2.0.0.0
C++17 Actor Framework
|
Interface for actor callbacks. More...
#include <ICallback.h>
Public Member Functions | |
virtual | ~ICallback ()=default |
Virtual destructor. | |
virtual void | onCallback ()=0 |
Callback function executed during each VirtualCore loop iteration. |
Interface for actor callbacks.
ICallback provides an interface for implementing actor callbacks that are executed during each VirtualCore loop iteration. This allows actors to perform periodic tasks or background operations.
Example usage:
|
pure virtual |
Callback function executed during each VirtualCore loop iteration.
This pure virtual function must be implemented by derived classes. It will be called during each VirtualCore loop iteration.