gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
sc_core::sc_process_handle Class Reference

#include <sc_process_handle.hh>

Public Member Functions

 sc_process_handle ()
 
 sc_process_handle (const sc_process_handle &)
 
 sc_process_handle (sc_object *)
 
 ~sc_process_handle ()
 
 operator::sc_gem5::Process * () const
 
sc_process_handleoperator= (::sc_gem5::Process *p)
 
bool valid () const
 
sc_process_handleoperator= (const sc_process_handle &)
 
bool operator== (const sc_process_handle &) const
 
bool operator!= (const sc_process_handle &) const
 
bool operator< (const sc_process_handle &) const
 
void swap (sc_process_handle &)
 
const char * name () const
 
sc_curr_proc_kind proc_kind () const
 
const std::vector< sc_object * > & get_child_objects () const
 
const std::vector< sc_event * > & get_child_events () const
 
sc_objectget_parent_object () const
 
sc_objectget_process_object () const
 
bool dynamic () const
 
bool terminated () const
 
const sc_eventterminated_event () const
 
void suspend (sc_descendent_inclusion_info include_descendants=SC_NO_DESCENDANTS)
 
void resume (sc_descendent_inclusion_info include_descendants=SC_NO_DESCENDANTS)
 
void disable (sc_descendent_inclusion_info include_descendants=SC_NO_DESCENDANTS)
 
void enable (sc_descendent_inclusion_info include_descendants=SC_NO_DESCENDANTS)
 
void kill (sc_descendent_inclusion_info include_descendants=SC_NO_DESCENDANTS)
 
void reset (sc_descendent_inclusion_info include_descendants=SC_NO_DESCENDANTS)
 
bool is_unwinding ()
 
const sc_eventreset_event () const
 
void sync_reset_on (sc_descendent_inclusion_info include_descendants=SC_NO_DESCENDANTS)
 
void sync_reset_off (sc_descendent_inclusion_info include_descendants=SC_NO_DESCENDANTS)
 
template<typename T >
void throw_it (const T &user_defined_exception, sc_descendent_inclusion_info include_descendants=SC_NO_DESCENDANTS)
 

Private Attributes

::sc_gem5::Process_gem5_process
 

Detailed Description

Definition at line 149 of file sc_process_handle.hh.

Constructor & Destructor Documentation

◆ sc_process_handle() [1/3]

sc_core::sc_process_handle::sc_process_handle ( )

Definition at line 75 of file sc_process_handle.cc.

◆ sc_process_handle() [2/3]

sc_core::sc_process_handle::sc_process_handle ( const sc_process_handle handle)

Definition at line 77 of file sc_process_handle.cc.

References _gem5_process, and sc_gem5::Process::incref().

◆ sc_process_handle() [3/3]

sc_core::sc_process_handle::sc_process_handle ( sc_object obj)
explicit

Definition at line 84 of file sc_process_handle.cc.

References _gem5_process, and sc_gem5::Process::incref().

◆ ~sc_process_handle()

sc_core::sc_process_handle::~sc_process_handle ( )

Definition at line 91 of file sc_process_handle.cc.

References _gem5_process, and sc_gem5::Process::decref().

Member Function Documentation

◆ disable()

void sc_core::sc_process_handle::disable ( sc_descendent_inclusion_info  include_descendants = SC_NO_DESCENDANTS)

◆ dynamic()

bool sc_core::sc_process_handle::dynamic ( ) const

Definition at line 183 of file sc_process_handle.cc.

References _gem5_process, and sc_gem5::Process::dynamic().

◆ enable()

void sc_core::sc_process_handle::enable ( sc_descendent_inclusion_info  include_descendants = SC_NO_DESCENDANTS)

◆ get_child_events()

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

Definition at line 164 of file sc_process_handle.cc.

References _gem5_process, and sc_core::sc_object::get_child_events().

◆ get_child_objects()

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

Definition at line 157 of file sc_process_handle.cc.

References _gem5_process, and sc_core::sc_object::get_child_objects().

◆ get_parent_object()

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

Definition at line 171 of file sc_process_handle.cc.

References _gem5_process, and sc_core::sc_object::get_parent_object().

◆ get_process_object()

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

Definition at line 177 of file sc_process_handle.cc.

References _gem5_process.

◆ is_unwinding()

bool sc_core::sc_process_handle::is_unwinding ( )

◆ kill()

void sc_core::sc_process_handle::kill ( sc_descendent_inclusion_info  include_descendants = SC_NO_DESCENDANTS)

◆ name()

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

Definition at line 145 of file sc_process_handle.cc.

References _gem5_process, and sc_core::sc_object::name().

◆ operator!=()

bool sc_core::sc_process_handle::operator!= ( const sc_process_handle handle) const

Definition at line 124 of file sc_process_handle.cc.

◆ operator::sc_gem5::Process *()

sc_core::sc_process_handle::operator::sc_gem5::Process * ( ) const
inline

Definition at line 163 of file sc_process_handle.hh.

References _gem5_process.

◆ operator<()

bool sc_core::sc_process_handle::operator< ( const sc_process_handle other) const

Definition at line 130 of file sc_process_handle.cc.

References _gem5_process.

◆ operator=() [1/2]

sc_process_handle& sc_core::sc_process_handle::operator= ( ::sc_gem5::Process p)
inline

Definition at line 165 of file sc_process_handle.hh.

References _gem5_process, and MipsISA::p.

◆ operator=() [2/2]

sc_process_handle & sc_core::sc_process_handle::operator= ( const sc_process_handle handle)

◆ operator==()

bool sc_core::sc_process_handle::operator== ( const sc_process_handle handle) const

Definition at line 117 of file sc_process_handle.cc.

References _gem5_process.

◆ proc_kind()

sc_curr_proc_kind sc_core::sc_process_handle::proc_kind ( ) const

◆ reset()

void sc_core::sc_process_handle::reset ( sc_descendent_inclusion_info  include_descendants = SC_NO_DESCENDANTS)

◆ reset_event()

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

◆ resume()

void sc_core::sc_process_handle::resume ( sc_descendent_inclusion_info  include_descendants = SC_NO_DESCENDANTS)

◆ suspend()

void sc_core::sc_process_handle::suspend ( sc_descendent_inclusion_info  include_descendants = SC_NO_DESCENDANTS)

◆ swap()

void sc_core::sc_process_handle::swap ( sc_process_handle handle)

Definition at line 136 of file sc_process_handle.cc.

References _gem5_process.

◆ sync_reset_off()

void sc_core::sc_process_handle::sync_reset_off ( sc_descendent_inclusion_info  include_descendants = SC_NO_DESCENDANTS)

◆ sync_reset_on()

void sc_core::sc_process_handle::sync_reset_on ( sc_descendent_inclusion_info  include_descendants = SC_NO_DESCENDANTS)

◆ terminated()

bool sc_core::sc_process_handle::terminated ( ) const

Definition at line 189 of file sc_process_handle.cc.

References _gem5_process, and sc_gem5::Process::terminated().

◆ terminated_event()

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

◆ throw_it()

template<typename T >
void sc_core::sc_process_handle::throw_it ( const T &  user_defined_exception,
sc_descendent_inclusion_info  include_descendants = SC_NO_DESCENDANTS 
)
inline

◆ valid()

bool sc_core::sc_process_handle::valid ( ) const

Definition at line 99 of file sc_process_handle.cc.

References _gem5_process.

Referenced by sc_core::sc_mutex::trylock().

Member Data Documentation

◆ _gem5_process

::sc_gem5::Process* sc_core::sc_process_handle::_gem5_process
private

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

Generated on Wed Sep 30 2020 14:03:09 for gem5 by doxygen 1.8.17