gem5  v21.1.0.2
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
sc_core::sc_event Class Reference

#include <sc_event.hh>

Inheritance diagram for sc_core::sc_event:
sc_gem5::InternalScEvent

Public Member Functions

 sc_event ()
 
 sc_event (const char *)
 
 ~sc_event ()
 
const char * name () const
 
const char * basename () const
 
bool in_hierarchy () const
 
sc_objectget_parent_object () const
 
void notify ()
 
void notify (const sc_time &)
 
void notify (double, sc_time_unit)
 
void cancel ()
 
bool triggered () const
 
void notify_delayed ()
 
void notify_delayed (const sc_time &)
 
sc_event_and_expr operator& (const sc_event &) const
 
sc_event_and_expr operator& (const sc_event_and_list &) const
 
sc_event_or_expr operator| (const sc_event &) const
 
sc_event_or_expr operator| (const sc_event_or_list &) const
 

Protected Member Functions

 sc_event (bool)
 
 sc_event (bool, const char *)
 

Private Member Functions

 sc_event (const sc_event &)
 
sc_eventoperator= (const sc_event &)
 

Private Attributes

::sc_gem5::Event_gem5_event
 

Friends

class ::sc_gem5::Event
 

Detailed Description

Definition at line 169 of file sc_event.hh.

Constructor & Destructor Documentation

◆ sc_event() [1/5]

sc_core::sc_event::sc_event ( )

Definition at line 312 of file sc_event.cc.

◆ sc_event() [2/5]

sc_core::sc_event::sc_event ( const char *  _name)
explicit

Definition at line 317 of file sc_event.cc.

◆ ~sc_event()

sc_core::sc_event::~sc_event ( )

Definition at line 321 of file sc_event.cc.

References _gem5_event.

◆ sc_event() [3/5]

sc_core::sc_event::sc_event ( bool  )
explicitprotected

Definition at line 389 of file sc_event.cc.

◆ sc_event() [4/5]

sc_core::sc_event::sc_event ( bool  ,
const char *  _name 
)
explicitprotected

Definition at line 395 of file sc_event.cc.

◆ sc_event() [5/5]

sc_core::sc_event::sc_event ( const sc_event )
inlineprivate

Definition at line 205 of file sc_event.hh.

Member Function Documentation

◆ basename()

const char * sc_core::sc_event::basename ( ) const

Definition at line 325 of file sc_event.cc.

References _gem5_event, and sc_gem5::Event::basename().

◆ cancel()

void sc_core::sc_event::cancel ( )

Definition at line 340 of file sc_event.cc.

References _gem5_event, and sc_gem5::Event::cancel().

Referenced by sc_core::sc_event_queue::cancel_all().

◆ get_parent_object()

sc_object * sc_core::sc_event::get_parent_object ( ) const

Definition at line 332 of file sc_event.cc.

References _gem5_event, and sc_gem5::Event::getParentObject().

◆ in_hierarchy()

bool sc_core::sc_event::in_hierarchy ( ) const

Definition at line 329 of file sc_event.cc.

References _gem5_event, and sc_gem5::Event::inHierarchy().

◆ name()

const char * sc_core::sc_event::name ( ) const

Definition at line 323 of file sc_event.cc.

References _gem5_event, and sc_gem5::Event::name().

◆ notify() [1/3]

void sc_core::sc_event::notify ( )

◆ notify() [2/3]

void sc_core::sc_event::notify ( const sc_time t)

Definition at line 338 of file sc_event.cc.

References _gem5_event, sc_gem5::Event::notify(), and gem5::ArmISA::t.

◆ notify() [3/3]

void sc_core::sc_event::notify ( double  d,
sc_time_unit  u 
)

Definition at line 339 of file sc_event.cc.

References _gem5_event, gem5::ArmISA::d, sc_gem5::Event::notify(), and gem5::ArmISA::u.

◆ notify_delayed() [1/2]

void sc_core::sc_event::notify_delayed ( )

Definition at line 343 of file sc_event.cc.

References _gem5_event, sc_gem5::Event::notifyDelayed(), and sc_core::SC_ZERO_TIME.

◆ notify_delayed() [2/2]

void sc_core::sc_event::notify_delayed ( const sc_time t)

Definition at line 348 of file sc_event.cc.

References _gem5_event, sc_gem5::Event::notifyDelayed(), and gem5::ArmISA::t.

◆ operator&() [1/2]

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

Definition at line 354 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::operator& ( const sc_event_and_list eal) const

Definition at line 363 of file sc_event.cc.

References sc_core::sc_event_and_expr::insert().

◆ operator=()

sc_event& sc_core::sc_event::operator= ( const sc_event )
inlineprivate

Definition at line 206 of file sc_event.hh.

◆ operator|() [1/2]

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

Definition at line 372 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::operator| ( const sc_event_or_list eol) const

Definition at line 381 of file sc_event.cc.

References sc_core::sc_event_or_expr::insert().

◆ triggered()

bool sc_core::sc_event::triggered ( ) const

Definition at line 341 of file sc_event.cc.

References _gem5_event, and sc_gem5::Event::triggered().

Friends And Related Function Documentation

◆ ::sc_gem5::Event

friend class ::sc_gem5::Event
friend

Definition at line 208 of file sc_event.hh.

Member Data Documentation

◆ _gem5_event

::sc_gem5::Event* sc_core::sc_event::_gem5_event
private

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

Generated on Tue Sep 21 2021 12:35:04 for gem5 by doxygen 1.8.17