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

This class provides access to an sc_process_b object instance in a manner which allows some persistence after the deletion of the actual process. More...

#include <sysc/kernel/sc_process_handle.h>

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

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_channel
 
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

This class provides access to an sc_process_b object instance in a manner which allows some persistence after the deletion of the actual process.

Definition at line 64 of file sc_process_handle.h.

Constructor & Destructor Documentation

sc_core::sc_process_handle::sc_process_handle ( )
inline

Definition at line 175 of file sc_process_handle.h.

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

Definition at line 187 of file sc_process_handle.h.

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

Definition at line 201 of file sc_process_handle.h.

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

Definition at line 215 of file sc_process_handle.h.

sc_core::sc_process_handle::~sc_process_handle ( )
inline

Definition at line 250 of file sc_process_handle.h.

Member Function Documentation

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

Definition at line 263 of file sc_process_handle.h.

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

Definition at line 129 of file sc_process_handle.h.

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

Definition at line 273 of file sc_process_handle.h.

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

Definition at line 283 of file sc_process_handle.h.

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

Definition at line 290 of file sc_process_handle.h.

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

Definition at line 297 of file sc_process_handle.h.

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

Definition at line 308 of file sc_process_handle.h.

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

Definition at line 316 of file sc_process_handle.h.

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

Definition at line 323 of file sc_process_handle.h.

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

Definition at line 330 of file sc_process_handle.h.

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

Definition at line 337 of file sc_process_handle.h.

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

Definition at line 349 of file sc_process_handle.h.

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

Definition at line 359 of file sc_process_handle.h.

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

Definition at line 134 of file sc_process_handle.h.

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

Definition at line 237 of file sc_process_handle.h.

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

Definition at line 366 of file sc_process_handle.h.

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

Definition at line 373 of file sc_process_handle.h.

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

Definition at line 384 of file sc_process_handle.h.

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

Definition at line 397 of file sc_process_handle.h.

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

Definition at line 407 of file sc_process_handle.h.

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

Definition at line 417 of file sc_process_handle.h.

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

Definition at line 426 of file sc_process_handle.h.

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

Definition at line 438 of file sc_process_handle.h.

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

Definition at line 454 of file sc_process_handle.h.

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

Definition at line 461 of file sc_process_handle.h.

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 498 of file sc_process_handle.h.

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

Definition at line 474 of file sc_process_handle.h.

Friends And Related Function Documentation

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

Definition at line 75 of file sc_process_handle.h.

friend class sc_join
friend

Definition at line 71 of file sc_process_handle.h.

friend class sc_module
friend

Definition at line 72 of file sc_process_handle.h.

friend class sc_object
friend

Definition at line 70 of file sc_process_handle.h.

friend class sc_reset
friend

Definition at line 77 of file sc_process_handle.h.

friend class sc_sensitive
friend

Definition at line 78 of file sc_process_handle.h.

friend class sc_sensitive_neg
friend

Definition at line 80 of file sc_process_handle.h.

friend class sc_sensitive_pos
friend

Definition at line 79 of file sc_process_handle.h.

friend class sc_thread_process
friend

Definition at line 81 of file sc_process_handle.h.

Member Data Documentation

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

Definition at line 144 of file sc_process_handle.h.

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

Definition at line 145 of file sc_process_handle.h.

sc_process_b* sc_core::sc_process_handle::m_target_p
protected

Definition at line 141 of file sc_process_handle.h.

sc_event sc_core::sc_process_handle::non_event
staticprotected

Definition at line 146 of file sc_process_handle.h.


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