gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::tlm::chi::TlmGenerator::Transaction::Action Class Reference

Action: Does something without condition checking. More...

#include <generator.hh>

Inheritance diagram for gem5::tlm::chi::TlmGenerator::Transaction::Action:
gem5::tlm::chi::TlmGenerator::Transaction::Expectation gem5::tlm::chi::TlmGenerator::Transaction::Assertion

Public Types

using Callback

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

Detailed Description

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.

Member Typedef Documentation

◆ Callback

Initial value:
std::function<
bool(Transaction *tran)
>
Transaction(const Transaction &rhs)=delete

Definition at line 126 of file generator.hh.

Constructor & Destructor Documentation

◆ Action()

gem5::tlm::chi::TlmGenerator::Transaction::Action::Action ( Callback _cb,
bool waiting )
inline

Definition at line 130 of file generator.hh.

References _wait, and cb.

Referenced by gem5::tlm::chi::TlmGenerator::Transaction::Expectation::Expectation().

◆ ~Action()

virtual gem5::tlm::chi::TlmGenerator::Transaction::Action::~Action ( )
inlinevirtual

Definition at line 133 of file generator.hh.

Member Function Documentation

◆ run()

virtual bool gem5::tlm::chi::TlmGenerator::Transaction::Action::run ( Transaction * tran)
inlinevirtual

◆ wait()

bool gem5::tlm::chi::TlmGenerator::Transaction::Action::wait ( ) const
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.

Member Data Documentation

◆ _wait

bool gem5::tlm::chi::TlmGenerator::Transaction::Action::_wait
protected

Definition at line 151 of file generator.hh.

Referenced by Action(), and wait().

◆ cb

Callback gem5::tlm::chi::TlmGenerator::Transaction::Action::cb
protected

The documentation for this class was generated from the following file:

Generated on Sat Oct 18 2025 08:07:04 for gem5 by doxygen 1.14.0