gem5 v24.1.0.1
|
Action: Does something without condition checking. More...
#include <generator.hh>
Public Types | |
using | Callback = std::function< bool(Transaction *tran) > |
Public Member Functions | |
Action (Callback _cb, bool waiting) | |
virtual | ~Action () |
virtual bool | run (Transaction *tran) |
bool | wait () const |
Returns true if the action dispatcher should break the dispatching loop once the action has been executed. | |
Protected Attributes | |
Callback | cb |
bool | _wait |
Action: Does something without condition checking.
It is possible to program from python whether the callback is a waiting action
Definition at line 123 of file generator.hh.
using gem5::tlm::chi::TlmGenerator::Transaction::Action::Callback = std::function< bool(Transaction *tran) > |
Definition at line 126 of file generator.hh.
|
inline |
Definition at line 130 of file generator.hh.
|
inlinevirtual |
Definition at line 133 of file generator.hh.
|
inlinevirtual |
Reimplemented in gem5::tlm::chi::TlmGenerator::Transaction::Expectation, and gem5::tlm::chi::TlmGenerator::Transaction::Assertion.
Definition at line 137 of file generator.hh.
References cb.
|
inline |
Returns true if the action dispatcher should break the dispatching loop once the action has been executed.
Definition at line 147 of file generator.hh.
References _wait.
|
protected |
Definition at line 151 of file generator.hh.
Referenced by wait().
|
protected |
Definition at line 150 of file generator.hh.
Referenced by run(), and gem5::tlm::chi::TlmGenerator::Transaction::Expectation::run().