sc_core::sc_process_b Class Reference

#include <sc_process_b.h>

Inheritance diagram for sc_core::sc_process_b:

sc_core::sc_object pinapa::slave_method_as_process sc_core::sc_method_process sc_core::sc_thread_process pinapa::st_basic_slave_method_handle pinapa::st_tac_slave_method_handle sc_core::sc_cthread_process List of all members.

Public Member Functions

virtual const char * kind () const
virtual bool is_cthread () const
const ::std::vector< sc_object * > & get_child_objects () const

Static Public Member Functions

static sc_process_bget_last_created_process ()

Public Attributes

char * process_name
char * module_name
SC_ENTRY_FUNC entry_fn
sc_process_hosthost
const char * file
int lineno
int proc_id

Protected Types

enum  trigger_t {
  STATIC, EVENT, OR_LIST, AND_LIST,
  TIMEOUT, EVENT_TIMEOUT, OR_LIST_TIMEOUT, AND_LIST_TIMEOUT
}

Protected Member Functions

 sc_process_b (const char *nm, SC_ENTRY_FUNC fn, sc_process_host *host)
virtual ~sc_process_b ()
bool do_initialize () const
void do_initialize (bool)
void add_static_event (const sc_event &)
void remove_static_events ()
const char * gen_unique_name (const char *basename_, bool preserve_first)
bool trigger_static ()
sc_reportget_last_report ()
void set_last_report (sc_report *last_p)
bool is_runnable ()
void execute ()
bool timed_out () const

Protected Attributes

sc_pvector< sc_object * > m_child_objects
bool m_do_initialize
const sc_eventm_event
int m_event_count
sc_event_listm_event_list
sc_process_bm_exist_p
sc_reportm_last_report
sc_name_genm_name_gen_p
sc_process_bm_runnable_p
sc_pvector< const sc_event * > m_static_events
bool m_timed_out
sc_event m_timeout_event
trigger_t m_trigger_type

Static Protected Attributes

static sc_process_bm_last_created_p

Private Member Functions

void add_child_object (sc_object *)
void remove_child_object (sc_object *)

Friends

class sc_object
class sc_port_base
class sc_runnable
class sc_sensitive
class sc_sensitive_pos
class sc_sensitive_neg
class sc_module
class sc_report_handler
class ::pinapa::process_analyzer
class ::pinapa::st_slave_analyzer
const char * sc_gen_unique_name (const char *, bool preserve_first)
bool timed_out (sc_simcontext *)

Member Enumeration Documentation

enum sc_core::sc_process_b::trigger_t [protected]

Enumerator:
STATIC 
EVENT 
OR_LIST 
AND_LIST 
TIMEOUT 
EVENT_TIMEOUT 
OR_LIST_TIMEOUT 
AND_LIST_TIMEOUT 


Constructor & Destructor Documentation

sc_core::sc_process_b::sc_process_b ( const char *  nm,
SC_ENTRY_FUNC  fn,
sc_process_host host 
) [protected]

sc_core::sc_process_b::~sc_process_b (  )  [protected, virtual]


Member Function Documentation

void sc_core::sc_process_b::add_child_object ( sc_object  )  [private]

void sc_core::sc_process_b::remove_child_object ( sc_object  )  [private]

virtual const char* sc_core::sc_process_b::kind (  )  const [inline, virtual]

Reimplemented from sc_core::sc_object.

Reimplemented in sc_core::sc_method_process, sc_core::sc_thread_process, and sc_core::sc_cthread_process.

bool sc_core::sc_process_b::is_cthread (  )  const [virtual]

Reimplemented in sc_core::sc_cthread_process.

sc_process_b * sc_core::sc_process_b::get_last_created_process (  )  [static]

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

bool sc_core::sc_process_b::do_initialize (  )  const [inline, protected]

void sc_core::sc_process_b::do_initialize ( bool   )  [inline, protected]

void sc_core::sc_process_b::add_static_event ( const sc_event  )  [protected]

void sc_core::sc_process_b::remove_static_events (  )  [protected]

const char * sc_core::sc_process_b::gen_unique_name ( const char *  basename_,
bool  preserve_first 
) [protected]

bool sc_core::sc_process_b::trigger_static (  )  [inline, protected]

sc_report* sc_core::sc_process_b::get_last_report (  )  [inline, protected]

void sc_core::sc_process_b::set_last_report ( sc_report last_p  )  [inline, protected]

bool sc_core::sc_process_b::is_runnable (  )  [inline, protected]

void sc_core::sc_process_b::execute (  )  [inline, protected]

bool sc_core::sc_process_b::timed_out (  )  const [inline, protected]


Friends And Related Function Documentation

friend class sc_object [friend]

friend class sc_port_base [friend]

friend class sc_runnable [friend]

Reimplemented in sc_core::sc_method_process, and sc_core::sc_thread_process.

friend class sc_sensitive [friend]

friend class sc_sensitive_pos [friend]

friend class sc_sensitive_neg [friend]

friend class sc_module [friend]

Reimplemented in sc_core::sc_method_process, sc_core::sc_thread_process, and sc_core::sc_cthread_process.

friend class sc_report_handler [friend]

friend class ::pinapa::process_analyzer [friend]

friend class ::pinapa::st_slave_analyzer [friend]

const char* sc_gen_unique_name ( const char *  basename_,
bool  preserve_first = false 
) [friend]

bool timed_out ( sc_simcontext simc = sc_get_curr_simcontext()  )  [friend]


Member Data Documentation

char* sc_core::sc_process_b::process_name

Name of the function. The full name of the object can be obtained with name(). This is something like "TOP.module.function"

char* sc_core::sc_process_b::module_name

name of the module. This is the name of the class, not the name of the instance

SC_ENTRY_FUNC sc_core::sc_process_b::entry_fn

sc_process_host* sc_core::sc_process_b::host

const char* sc_core::sc_process_b::file

int sc_core::sc_process_b::lineno

int sc_core::sc_process_b::proc_id

sc_pvector<sc_object*> sc_core::sc_process_b::m_child_objects [protected]

bool sc_core::sc_process_b::m_do_initialize [protected]

const sc_event* sc_core::sc_process_b::m_event [protected]

int sc_core::sc_process_b::m_event_count [protected]

sc_event_list* sc_core::sc_process_b::m_event_list [protected]

sc_process_b* sc_core::sc_process_b::m_exist_p [protected]

sc_process_b * sc_core::sc_process_b::m_last_created_p [static, protected]

sc_report* sc_core::sc_process_b::m_last_report [protected]

sc_name_gen* sc_core::sc_process_b::m_name_gen_p [protected]

sc_process_b* sc_core::sc_process_b::m_runnable_p [protected]

sc_pvector<const sc_event*> sc_core::sc_process_b::m_static_events [protected]

bool sc_core::sc_process_b::m_timed_out [protected]

sc_event sc_core::sc_process_b::m_timeout_event [protected]

trigger_t sc_core::sc_process_b::m_trigger_type [protected]


The documentation for this class was generated from the following files:
Generated by
Matthieu Moy <Matthieu.Moy@st.com>
Back to Pinapa Home Page