OpenASIP
2.0
|
#include <OperationState.hh>
Public Member Functions | |
virtual const char * | name () |
virtual bool | isAvailable (const OperationContext &context) const |
virtual void | advanceClock (OperationContext &context) |
Public Member Functions inherited from OperationState | |
OperationState () | |
virtual | ~OperationState () |
Static Public Member Functions | |
static NullOperationState * | instance () |
Static Private Attributes | |
static NullOperationState * | instance_ = NULL |
Singleton class that is used to represent a null value for operation state.
Definition at line 63 of file OperationState.hh.
|
virtual |
Prints an error message and aborts the program.
Reimplemented from OperationState.
Definition at line 114 of file OperationState.cc.
References abortWithError, and NULL_ERROR_MESSAGE.
|
static |
|
virtual |
Prints an error message and aborts the program.
Reimplemented from OperationState.
Definition at line 103 of file OperationState.cc.
References abortWithError, and NULL_ERROR_MESSAGE.
|
virtual |
Returns the name of the state instance, in this case an empty string.
Implements OperationState.
Definition at line 93 of file OperationState.cc.
|
staticprivate |
Definition at line 72 of file OperationState.hh.