SystemC  Recoding Infrastructure for SystemC v0.6.0 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | Public Attributes | Friends | List of all members
sc_core::sc_event Class Reference

The event class. More...

#include <sysc/kernel/sc_event.h>

Collaboration diagram for sc_core::sc_event:
Collaboration graph
[legend]

Public Member Functions

sc_timestamp get_earliest_notification_time ()
 
sc_timestamp get_earliest_time_after_certain_time (sc_timestamp)
 
void erase_notification_time (sc_timestamp)
 
 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 ()
 The immediate notification is not supported by the out-of-order simulation in the current release. More...
 
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
 
const sc_timestampget_notify_timestamp () const
 GET the notification time stamp. More...
 
void push_notify_timestamp_list (const sc_timestamp &ts)
 
const sc_timestampget_notify_timestamp_last () const
 

Public Attributes

std::set< sc_timestampm_notify_timestamp_set
 
std::vector< sc_method_handlem_methods_static
 
std::vector< sc_method_handlem_methods_dynamic
 
std::vector< sc_thread_handlem_threads_static
 
std::vector< sc_thread_handlem_threads_dynamic
 
int m_delta_event_index
 

Friends

class sc_clock
 
class sc_event_list
 
class sc_event_timed
 
class sc_simcontext
 
class sc_object
 
class sc_process_b
 
class sc_method_process
 
class sc_thread_process
 
template<typename IF , sc_writer_policy POL>
class sc_signal
 
void sc_thread_cor_fn (void *arg)
 

Detailed Description

The event class.

Definition at line 260 of file sc_event.h.

Constructor & Destructor Documentation

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

Member Function Documentation

const char* sc_core::sc_event::basename ( ) const
void sc_core::sc_event::cancel ( )
void sc_core::sc_event::erase_notification_time ( sc_timestamp  )
sc_timestamp sc_core::sc_event::get_earliest_notification_time ( )
sc_timestamp sc_core::sc_event::get_earliest_time_after_certain_time ( sc_timestamp  )
const sc_timestamp& sc_core::sc_event::get_notify_timestamp ( ) const

GET the notification time stamp.

const sc_timestamp& sc_core::sc_event::get_notify_timestamp_last ( ) const
sc_object* sc_core::sc_event::get_parent_object ( ) const
inline

Definition at line 296 of file sc_event.h.

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

Definition at line 297 of file sc_event.h.

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

Definition at line 294 of file sc_event.h.

void sc_core::sc_event::notify ( )

The immediate notification is not supported by the out-of-order simulation in the current release.

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

Definition at line 450 of file sc_event.h.

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

Definition at line 522 of file sc_event.h.

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

Definition at line 869 of file sc_event.h.

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

Definition at line 879 of file sc_event.h.

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

Definition at line 751 of file sc_event.h.

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

Definition at line 761 of file sc_event.h.

void sc_core::sc_event::push_notify_timestamp_list ( const sc_timestamp ts)

Friends And Related Function Documentation

friend class sc_clock
friend

Definition at line 262 of file sc_event.h.

friend class sc_event_list
friend

Definition at line 263 of file sc_event.h.

friend class sc_event_timed
friend

Definition at line 264 of file sc_event.h.

friend class sc_method_process
friend

Definition at line 268 of file sc_event.h.

friend class sc_object
friend

Definition at line 266 of file sc_event.h.

friend class sc_process_b
friend

Definition at line 267 of file sc_event.h.

template<typename IF , sc_writer_policy POL>
friend class sc_signal
friend

Definition at line 270 of file sc_event.h.

friend class sc_simcontext
friend

Definition at line 265 of file sc_event.h.

void sc_thread_cor_fn ( void *  arg)
friend
friend class sc_thread_process
friend

Definition at line 269 of file sc_event.h.

Member Data Documentation

int sc_core::sc_event::m_delta_event_index

Definition at line 385 of file sc_event.h.

std::vector<sc_method_handle> sc_core::sc_event::m_methods_dynamic
mutable

Definition at line 326 of file sc_event.h.

std::vector<sc_method_handle> sc_core::sc_event::m_methods_static
mutable

Definition at line 325 of file sc_event.h.

std::set<sc_timestamp> sc_core::sc_event::m_notify_timestamp_set

Definition at line 277 of file sc_event.h.

std::vector<sc_thread_handle> sc_core::sc_event::m_threads_dynamic
mutable

Definition at line 328 of file sc_event.h.

std::vector<sc_thread_handle> sc_core::sc_event::m_threads_static
mutable

Definition at line 327 of file sc_event.h.


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