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

#include <sysc/kernel/sc_process_handle.h>

Collaboration diagram for sc_core::sc_process_handle:

Public Member Functions

 sc_process_handle ()
 
 sc_process_handle (sc_object *object_p)
 
 sc_process_handle (sc_process_b *process_p)
 
 sc_process_handle (const sc_process_handle &orig)
 
 ~sc_process_handle ()
 
sc_process_handleoperator= (sc_process_handle src)
 
void swap (sc_process_handle &other)
 
void disable (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
 
bool dynamic () const
 
void enable (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
 
const std::vector< sc_event * > & get_child_events () const
 
const std::vector< sc_object * > & get_child_objects () const
 
sc_objectget_parent_object () const
 
sc_objectget_process_object () const
 
bool is_unwinding () const
 
void kill (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
 
const char * name () const
 
sc_curr_proc_kind proc_kind () const
 
void reset (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
 
sc_eventreset_event () const
 
void resume (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
 
void suspend (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
 
void sync_reset_off (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
 
void sync_reset_on (sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
 
sc_eventterminated_event ()
 
bool terminated () const
 
template<typename EXCEPT >
void throw_it (const EXCEPT &exception, sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
 
bool valid () const
 
std::string dump_state () const
 
 operator sc_process_b * ()
 
 operator sc_cthread_handle ()
 
 operator sc_method_handle ()
 
 operator sc_thread_handle ()
 

Protected Member Functions

bool dont_initialize () const
 
void dont_initialize (bool dont)
 

Protected Attributes

sc_process_bm_target_p
 

Static Protected Attributes

static std::vector< sc_event * > empty_event_vector
 
static std::vector< sc_object * > empty_object_vector
 
static sc_event non_event
 

Friends

class sc_object
 
class sc_join
 
class sc_module
 
class sc_reset
 
class sc_sensitive
 
class sc_sensitive_pos
 
class sc_sensitive_neg
 
class sc_thread_process
 
bool operator== (const this_type &left, const this_type &right)
 
bool operator!= (const this_type &left, const this_type &right)
 
bool operator< (const this_type &left, const this_type &right)
 

Detailed Description

Definition at line 75 of file sc_process_handle.h.

Constructor & Destructor Documentation

◆ sc_process_handle() [1/4]

sc_core::sc_process_handle::sc_process_handle ( )
inline

Definition at line 182 of file sc_process_handle.h.

◆ sc_process_handle() [2/4]

sc_core::sc_process_handle::sc_process_handle ( sc_object object_p)
inlineexplicit

Definition at line 194 of file sc_process_handle.h.

◆ sc_process_handle() [3/4]

sc_core::sc_process_handle::sc_process_handle ( sc_process_b process_p)
inlineexplicit

Definition at line 208 of file sc_process_handle.h.

◆ sc_process_handle() [4/4]

sc_core::sc_process_handle::sc_process_handle ( const sc_process_handle orig)
inline

Definition at line 222 of file sc_process_handle.h.

◆ ~sc_process_handle()

sc_core::sc_process_handle::~sc_process_handle ( )
inline

Definition at line 257 of file sc_process_handle.h.

Member Function Documentation

◆ disable()

void sc_core::sc_process_handle::disable ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS)
inline

Definition at line 270 of file sc_process_handle.h.

◆ dont_initialize() [1/2]

bool sc_core::sc_process_handle::dont_initialize ( ) const
inlineprotected

Definition at line 136 of file sc_process_handle.h.

◆ dont_initialize() [2/2]

void sc_core::sc_process_handle::dont_initialize ( bool  dont)
inlineprotected

Definition at line 280 of file sc_process_handle.h.

◆ dump_state()

std::string sc_core::sc_process_handle::dump_state ( ) const
inline

Definition at line 290 of file sc_process_handle.h.

◆ dynamic()

bool sc_core::sc_process_handle::dynamic ( ) const
inline

Definition at line 297 of file sc_process_handle.h.

◆ enable()

void sc_core::sc_process_handle::enable ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS)
inline

Definition at line 304 of file sc_process_handle.h.

◆ get_child_events()

const std::vector< sc_event * > & sc_core::sc_process_handle::get_child_events ( ) const
inline

Definition at line 315 of file sc_process_handle.h.

◆ get_child_objects()

const std::vector< sc_object * > & sc_core::sc_process_handle::get_child_objects ( ) const
inline

Definition at line 323 of file sc_process_handle.h.

◆ get_parent_object()

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

Definition at line 330 of file sc_process_handle.h.

◆ get_process_object()

sc_object * sc_core::sc_process_handle::get_process_object ( ) const
inline

Definition at line 337 of file sc_process_handle.h.

◆ is_unwinding()

bool sc_core::sc_process_handle::is_unwinding ( ) const
inline

Definition at line 344 of file sc_process_handle.h.

◆ kill()

void sc_core::sc_process_handle::kill ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS)
inline

Definition at line 356 of file sc_process_handle.h.

◆ name()

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

Definition at line 366 of file sc_process_handle.h.

◆ operator sc_cthread_handle()

sc_core::sc_process_handle::operator sc_cthread_handle ( )

◆ operator sc_method_handle()

sc_core::sc_process_handle::operator sc_method_handle ( )

◆ operator sc_process_b *()

sc_core::sc_process_handle::operator sc_process_b * ( )
inline

Definition at line 141 of file sc_process_handle.h.

◆ operator sc_thread_handle()

sc_core::sc_process_handle::operator sc_thread_handle ( )

◆ operator=()

sc_process_handle & sc_core::sc_process_handle::operator= ( sc_process_handle  src)
inline

Definition at line 244 of file sc_process_handle.h.

◆ proc_kind()

sc_curr_proc_kind sc_core::sc_process_handle::proc_kind ( ) const
inline

Definition at line 373 of file sc_process_handle.h.

◆ reset()

void sc_core::sc_process_handle::reset ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS)
inline

Definition at line 380 of file sc_process_handle.h.

◆ reset_event()

sc_event & sc_core::sc_process_handle::reset_event ( ) const
inline

Definition at line 391 of file sc_process_handle.h.

◆ resume()

void sc_core::sc_process_handle::resume ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS)
inline

Definition at line 404 of file sc_process_handle.h.

◆ suspend()

void sc_core::sc_process_handle::suspend ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS)
inline

Definition at line 414 of file sc_process_handle.h.

◆ swap()

void sc_core::sc_process_handle::swap ( sc_process_handle other)
inline

Definition at line 424 of file sc_process_handle.h.

◆ sync_reset_off()

void sc_core::sc_process_handle::sync_reset_off ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS)
inline

Definition at line 433 of file sc_process_handle.h.

◆ sync_reset_on()

void sc_core::sc_process_handle::sync_reset_on ( sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS)
inline

Definition at line 445 of file sc_process_handle.h.

◆ terminated()

bool sc_core::sc_process_handle::terminated ( ) const
inline

Definition at line 461 of file sc_process_handle.h.

◆ terminated_event()

sc_event & sc_core::sc_process_handle::terminated_event ( )
inline

Definition at line 468 of file sc_process_handle.h.

◆ throw_it()

template<typename EXCEPT >
void sc_core::sc_process_handle::throw_it ( const EXCEPT &  exception,
sc_descendant_inclusion_info  descendants = SC_NO_DESCENDANTS 
)
inline

Definition at line 505 of file sc_process_handle.h.

◆ valid()

bool sc_core::sc_process_handle::valid ( ) const
inline

Definition at line 481 of file sc_process_handle.h.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( const this_type left,
const this_type right 
)
friend

Definition at line 163 of file sc_process_handle.h.

◆ operator<

bool operator< ( const this_type left,
const this_type right 
)
friend

Definition at line 170 of file sc_process_handle.h.

◆ operator==

bool operator== ( const this_type left,
const this_type right 
)
friend

Definition at line 156 of file sc_process_handle.h.

◆ sc_join

friend class sc_join
friend

Definition at line 82 of file sc_process_handle.h.

◆ sc_module

friend class sc_module
friend

Definition at line 83 of file sc_process_handle.h.

◆ sc_object

friend class sc_object
friend

Definition at line 81 of file sc_process_handle.h.

◆ sc_reset

friend class sc_reset
friend

Definition at line 84 of file sc_process_handle.h.

◆ sc_sensitive

friend class sc_sensitive
friend

Definition at line 85 of file sc_process_handle.h.

◆ sc_sensitive_neg

friend class sc_sensitive_neg
friend

Definition at line 87 of file sc_process_handle.h.

◆ sc_sensitive_pos

friend class sc_sensitive_pos
friend

Definition at line 86 of file sc_process_handle.h.

◆ sc_thread_process

friend class sc_thread_process
friend

Definition at line 88 of file sc_process_handle.h.

Member Data Documentation

◆ empty_event_vector

std::vector<sc_event*> sc_core::sc_process_handle::empty_event_vector
staticprotected

Definition at line 151 of file sc_process_handle.h.

◆ empty_object_vector

std::vector<sc_object*> sc_core::sc_process_handle::empty_object_vector
staticprotected

Definition at line 152 of file sc_process_handle.h.

◆ m_target_p

sc_process_b* sc_core::sc_process_handle::m_target_p
protected

Definition at line 148 of file sc_process_handle.h.

◆ non_event

sc_event sc_core::sc_process_handle::non_event
staticprotected

Definition at line 153 of file sc_process_handle.h.


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