#include <rc_var.h>
Definition at line 98 of file rc_var.h.
Public Member Functions | |
resettable_var () | |
Protected Member Functions | |
virtual void | rc_on_reset () |
Called to request the object for an immediate reset. | |
virtual void | rc_on_init_resettable () |
Called when the object shall store its state. |
resettable_var | ( | ) | [inline] |
void rc_on_reset | ( | ) | [inline, protected, virtual] |
Called to request the object for an immediate reset.
rc_on_reset() is called every time a rc_reconfigurable is activated or deactivated during simulation phase, i.e. normally it will be called twice. An implementation is free to only reset itself either at activation or deactivation.
Implements rc_resettable.
void rc_on_init_resettable | ( | ) | [inline, protected, virtual] |
Called when the object shall store its state.
This callback method shall be invoked to give the object opportunity to store its initial state. A good point of time may be directly after SystemC's construction phase has finished.
Implements rc_resettable.