37 #if !defined(sc_process_handle_h_INCLUDED)
38 #define sc_process_handle_h_INCLUDED
46 class sc_process_handle;
48 operator == (
const sc_process_handle& left,
const sc_process_handle& right );
50 operator != (
const sc_process_handle& left,
const sc_process_handle& right );
52 operator < (
const sc_process_handle& left,
const sc_process_handle& right );
105 inline const char*
name()
const;
120 template<
typename EXCEPT>
121 inline void throw_it(
const EXCEPT& exception,
123 inline bool valid()
const;
202 m_target_p(process_p)
216 m_target_p(orig.m_target_p)
497 template<
typename EXCEPT>
610 #endif // !defined(sc_spawn_h_INCLUDED)
virtual void suspend_process(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)=0
static std::vector< sc_event * > empty_event_vector
const std::vector< sc_object * > & get_child_objects() const
void reset(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
sc_event & reset_event() const
void throw_it(const EXCEPT &exception, sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
sc_descendant_inclusion_info
This class provides access to an sc_process_b object instance in a manner which allows some persisten...
bool operator!=(const sc_process_handle &left, const sc_process_handle &right)
void sync_reset_off(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
virtual void disable_process(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)=0
virtual void kill_process(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)=0
void reset_process(reset_type rt, sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
friend bool operator!=(const this_type &left, const this_type &right)
class sc_cthread_process * sc_cthread_handle
bool dont_initialize() const
std::string dump_state() const
const char * name() const
void sync_reset_on(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
class sc_method_process * sc_method_handle
virtual const std::vector< sc_event * > & get_child_events() const
sc_curr_proc_kind proc_kind() const
#define SC_REPORT_WARNING(msg_type, msg)
std::string dump_state() const
void disable(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
sc_process_handle sc_get_last_created_process_handle()
User initiated dynamic process support.
void suspend(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
Arbitrary exception class.
sc_process_b * m_target_p
sc_object * get_parent_object() const
sc_event & terminated_event()
void resume(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
sc_event & terminated_event()
sc_curr_proc_kind proc_kind() const
static std::vector< sc_object * > empty_object_vector
static sc_event non_event
static sc_process_b * m_last_created_process_p
friend class sc_process_handle
friend bool operator<(const this_type &left, const this_type &right)
class sc_thread_process * sc_thread_handle
bool is_unwinding() const
virtual void enable_process(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)=0
bool operator<(const sc_process_handle &left, const sc_process_handle &right)
static sc_process_handle last_created_process_handle()
bool operator==(const sc_process_handle &left, const sc_process_handle &right)
friend bool operator==(const this_type &left, const this_type &right)
void swap(sc_process_handle &other)
const std::vector< sc_event * > & get_child_events() const
bool is_unwinding() const
bool dont_initialize() const
virtual void throw_user(const sc_throw_it_helper &helper, sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)=0
Base class for all structural entities.
const char * name() const
sc_object * get_parent_object() const
Base class for all hierarchical channels.
sc_process_handle & operator=(sc_process_handle src)
void kill(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
sc_object * get_process_object() const
virtual bool terminated() const
void enable(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)
const ::std::vector< sc_object * > & get_child_objects() const
virtual void resume_process(sc_descendant_inclusion_info descendants=SC_NO_DESCENDANTS)=0
Abstract base class of all SystemC `simulation' objects.