gem5 v24.1.0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
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 = 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
 

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

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.

◆ ~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 wait().

◆ cb

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

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

Generated on Mon Jan 13 2025 04:29:17 for gem5 by doxygen 1.9.8