SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_event Class Reference

The event class. More...

#include <sysc/kernel/sc_event.h>

Collaboration diagram for sc_core::sc_event:

Public Member Functions

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

Static Public Attributes

static const sc_event none
 

Friends

class sc_event_list
 
class sc_event_timed
 
class sc_simcontext
 
class sc_object
 
class sc_process_b
 
class sc_process_handle
 
class sc_method_process
 
class sc_thread_process
 
class sc_clock
 
class sc_event_queue
 
class sc_signal_channel
 
template<typename IF >
class sc_fifo
 
class sc_semaphore
 
class sc_mutex
 
class sc_join
 
class sc_trace_file
 
void sc_thread_cor_fn (void *arg)
 

Detailed Description

The event class.

Definition at line 256 of file sc_event.h.

Constructor & Destructor Documentation

◆ sc_event() [1/2]

sc_core::sc_event::sc_event ( )

◆ sc_event() [2/2]

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

◆ ~sc_event()

sc_core::sc_event::~sc_event ( )

Member Function Documentation

◆ basename()

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

◆ cancel()

void sc_core::sc_event::cancel ( )

◆ get_parent_object()

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

Definition at line 286 of file sc_event.h.

◆ in_hierarchy()

bool sc_core::sc_event::in_hierarchy ( ) const
inline

Definition at line 287 of file sc_event.h.

◆ name()

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

Definition at line 284 of file sc_event.h.

◆ notify() [1/3]

void sc_core::sc_event::notify ( )

◆ notify() [2/3]

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

◆ notify() [3/3]

void sc_core::sc_event::notify ( double  v,
sc_time_unit  tu 
)
inline

Definition at line 412 of file sc_event.h.

◆ notify_delayed() [1/3]

void sc_core::sc_event::notify_delayed ( )

◆ notify_delayed() [2/3]

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

◆ notify_delayed() [3/3]

void sc_core::sc_event::notify_delayed ( double  v,
sc_time_unit  tu 
)
inline

Definition at line 449 of file sc_event.h.

◆ operator&() [1/2]

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

◆ operator&() [2/2]

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

◆ operator|() [1/2]

sc_event_or_expr sc_core::sc_event::operator| ( const sc_event e2) const
inline

Definition at line 679 of file sc_event.h.

◆ operator|() [2/2]

sc_event_or_expr sc_core::sc_event::operator| ( const sc_event_or_list e2) const
inline

Definition at line 689 of file sc_event.h.

◆ triggered()

bool sc_core::sc_event::triggered ( ) const

Friends And Related Function Documentation

◆ sc_clock

friend class sc_clock
friend

Definition at line 267 of file sc_event.h.

◆ sc_event_list

friend class sc_event_list
friend

Definition at line 258 of file sc_event.h.

◆ sc_event_queue

friend class sc_event_queue
friend

Definition at line 268 of file sc_event.h.

◆ sc_event_timed

friend class sc_event_timed
friend

Definition at line 259 of file sc_event.h.

◆ sc_fifo

template<typename IF >
friend class sc_fifo
friend

Definition at line 270 of file sc_event.h.

◆ sc_join

friend class sc_join
friend

Definition at line 273 of file sc_event.h.

◆ sc_method_process

friend class sc_method_process
friend

Definition at line 264 of file sc_event.h.

◆ sc_mutex

friend class sc_mutex
friend

Definition at line 272 of file sc_event.h.

◆ sc_object

friend class sc_object
friend

Definition at line 261 of file sc_event.h.

◆ sc_process_b

friend class sc_process_b
friend

Definition at line 262 of file sc_event.h.

◆ sc_process_handle

friend class sc_process_handle
friend

Definition at line 263 of file sc_event.h.

◆ sc_semaphore

friend class sc_semaphore
friend

Definition at line 271 of file sc_event.h.

◆ sc_signal_channel

friend class sc_signal_channel
friend

Definition at line 269 of file sc_event.h.

◆ sc_simcontext

friend class sc_simcontext
friend

Definition at line 260 of file sc_event.h.

◆ sc_thread_cor_fn

void sc_thread_cor_fn ( void *  arg)
friend

◆ sc_thread_process

friend class sc_thread_process
friend

Definition at line 265 of file sc_event.h.

◆ sc_trace_file

friend class sc_trace_file
friend

Definition at line 274 of file sc_event.h.

Member Data Documentation

◆ none

const sc_event sc_core::sc_event::none
static

Definition at line 306 of file sc_event.h.


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