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

#include <sc_event.hh>

Public Member Functions

 sc_event_and_list ()
 
 sc_event_and_list (const sc_event_and_list &)
 
 sc_event_and_list (const sc_event &)
 
sc_event_and_listoperator= (const sc_event_and_list &)
 
 ~sc_event_and_list ()
 
int size () const
 
void swap (sc_event_and_list &)
 
sc_event_and_listoperator&= (const sc_event &)
 
sc_event_and_listoperator&= (const sc_event_and_list &)
 
sc_event_and_expr operator& (const sc_event &) const
 
sc_event_and_expr operator& (const sc_event_and_list &) const
 

Private Member Functions

 sc_event_and_list (bool auto_delete)
 
void insert (sc_event const &e)
 
void insert (sc_event_and_list const &eal)
 

Private Attributes

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

Friends

class sc_event_and_expr
 
class sc_gem5::DynamicSensitivityEventAndList
 

Detailed Description

Definition at line 61 of file sc_event.hh.

Constructor & Destructor Documentation

◆ sc_event_and_list() [1/4]

sc_core::sc_event_and_list::sc_event_and_list ( )

Definition at line 40 of file sc_event.cc.

◆ sc_event_and_list() [2/4]

sc_core::sc_event_and_list::sc_event_and_list ( const sc_event_and_list eal)

Definition at line 42 of file sc_event.cc.

◆ sc_event_and_list() [3/4]

sc_core::sc_event_and_list::sc_event_and_list ( const sc_event e)

Definition at line 46 of file sc_event.cc.

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

◆ ~sc_event_and_list()

sc_core::sc_event_and_list::~sc_event_and_list ( )

Definition at line 55 of file sc_event.cc.

◆ sc_event_and_list() [4/4]

sc_core::sc_event_and_list::sc_event_and_list ( bool  auto_delete)
explicitprivate

Definition at line 51 of file sc_event.cc.

Member Function Documentation

◆ insert() [1/2]

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

Definition at line 109 of file sc_event.cc.

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

Referenced by sc_core::sc_event_and_expr::insert(), operator&=(), and sc_event_and_list().

◆ insert() [2/2]

void sc_core::sc_event_and_list::insert ( sc_event_and_list const &  eal)
private

Definition at line 115 of file sc_event.cc.

References events.

◆ operator&() [1/2]

sc_event_and_expr sc_core::sc_event_and_list::operator& ( const sc_event e) const

Definition at line 91 of file sc_event.cc.

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

◆ operator&() [2/2]

sc_event_and_expr sc_core::sc_event_and_list::operator& ( const sc_event_and_list eal) const

Definition at line 100 of file sc_event.cc.

References sc_core::sc_event_and_expr::insert().

◆ operator&=() [1/2]

sc_event_and_list & sc_core::sc_event_and_list::operator&= ( const sc_event e)

Definition at line 77 of file sc_event.cc.

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

◆ operator&=() [2/2]

sc_event_and_list & sc_core::sc_event_and_list::operator&= ( const sc_event_and_list eal)

Definition at line 84 of file sc_event.cc.

References insert().

◆ operator=()

sc_event_and_list & sc_core::sc_event_and_list::operator= ( const sc_event_and_list eal)

Definition at line 58 of file sc_event.cc.

References events.

◆ size()

int sc_core::sc_event_and_list::size ( ) const

Definition at line 65 of file sc_event.cc.

References events.

◆ swap()

void sc_core::sc_event_and_list::swap ( sc_event_and_list eal)

Definition at line 71 of file sc_event.cc.

References events.

Friends And Related Function Documentation

◆ sc_event_and_expr

friend class sc_event_and_expr
friend

Definition at line 80 of file sc_event.hh.

◆ sc_gem5::DynamicSensitivityEventAndList

Definition at line 81 of file sc_event.hh.

Member Data Documentation

◆ autoDelete

bool sc_core::sc_event_and_list::autoDelete
private

◆ busy

unsigned sc_core::sc_event_and_list::busy
mutableprivate

◆ events

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

Definition at line 88 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 Thu Jul 28 2022 13:35:00 for gem5 by doxygen 1.8.17