gem5  v22.0.0.1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
sc_core::sc_event_or_list Class Reference

#include <sc_event.hh>

Public Member Functions

 sc_event_or_list ()
 
 sc_event_or_list (const sc_event_or_list &)
 
 sc_event_or_list (const sc_event &)
 
sc_event_or_listoperator= (const sc_event_or_list &)
 
 ~sc_event_or_list ()
 
int size () const
 
void swap (sc_event_or_list &)
 
sc_event_or_listoperator|= (const sc_event &)
 
sc_event_or_listoperator|= (const sc_event_or_list &)
 
sc_event_or_expr operator| (const sc_event &) const
 
sc_event_or_expr operator| (const sc_event_or_list &) const
 

Private Member Functions

 sc_event_or_list (bool auto_delete)
 
void insert (sc_event const &e)
 
void insert (sc_event_or_list const &eol)
 

Private Attributes

std::set< const sc_event * > events
 
bool autoDelete
 
unsigned busy
 

Friends

class sc_event_or_expr
 
class sc_gem5::DynamicSensitivityEventOrList
 

Detailed Description

Definition at line 93 of file sc_event.hh.

Constructor & Destructor Documentation

◆ sc_event_or_list() [1/4]

sc_core::sc_event_or_list::sc_event_or_list ( )

Definition at line 125 of file sc_event.cc.

◆ sc_event_or_list() [2/4]

sc_core::sc_event_or_list::sc_event_or_list ( const sc_event_or_list eol)

Definition at line 127 of file sc_event.cc.

◆ sc_event_or_list() [3/4]

sc_core::sc_event_or_list::sc_event_or_list ( const sc_event e)

Definition at line 131 of file sc_event.cc.

References gem5::ArmISA::e, and insert().

◆ ~sc_event_or_list()

sc_core::sc_event_or_list::~sc_event_or_list ( )

Definition at line 147 of file sc_event.cc.

◆ sc_event_or_list() [4/4]

sc_core::sc_event_or_list::sc_event_or_list ( bool  auto_delete)
explicitprivate

Definition at line 136 of file sc_event.cc.

Member Function Documentation

◆ insert() [1/2]

void sc_core::sc_event_or_list::insert ( sc_event const &  e)
private

Definition at line 194 of file sc_event.cc.

References gem5::ArmISA::e, and events.

Referenced by sc_core::sc_event_or_expr::insert(), operator|=(), and sc_event_or_list().

◆ insert() [2/2]

void sc_core::sc_event_or_list::insert ( sc_event_or_list const &  eol)
private

Definition at line 200 of file sc_event.cc.

References events.

◆ operator=()

sc_event_or_list & sc_core::sc_event_or_list::operator= ( const sc_event_or_list eol)

Definition at line 141 of file sc_event.cc.

References events.

◆ operator|() [1/2]

sc_event_or_expr sc_core::sc_event_or_list::operator| ( const sc_event e) const

Definition at line 176 of file sc_event.cc.

References gem5::ArmISA::e, and sc_core::sc_event_or_expr::insert().

◆ operator|() [2/2]

sc_event_or_expr sc_core::sc_event_or_list::operator| ( const sc_event_or_list eol) const

Definition at line 185 of file sc_event.cc.

References sc_core::sc_event_or_expr::insert().

◆ operator|=() [1/2]

sc_event_or_list & sc_core::sc_event_or_list::operator|= ( const sc_event e)

Definition at line 162 of file sc_event.cc.

References gem5::ArmISA::e, and insert().

◆ operator|=() [2/2]

sc_event_or_list & sc_core::sc_event_or_list::operator|= ( const sc_event_or_list eol)

Definition at line 169 of file sc_event.cc.

References insert().

◆ size()

int sc_core::sc_event_or_list::size ( ) const

Definition at line 150 of file sc_event.cc.

References events.

◆ swap()

void sc_core::sc_event_or_list::swap ( sc_event_or_list eol)

Definition at line 156 of file sc_event.cc.

References events.

Friends And Related Function Documentation

◆ sc_event_or_expr

friend class sc_event_or_expr
friend

Definition at line 112 of file sc_event.hh.

◆ sc_gem5::DynamicSensitivityEventOrList

Definition at line 113 of file sc_event.hh.

Member Data Documentation

◆ autoDelete

bool sc_core::sc_event_or_list::autoDelete
private

◆ busy

unsigned sc_core::sc_event_or_list::busy
mutableprivate

◆ events

std::set<const sc_event *> sc_core::sc_event_or_list::events
private

Definition at line 120 of file sc_event.hh.

Referenced by insert(), operator=(), size(), and swap().


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

Generated on Sat Jun 18 2022 08:15:22 for gem5 by doxygen 1.8.17