sc_core::sc_export< IF > Class Template Reference

#include <sysc/communication/sc_export.h>

Inheritance diagram for sc_core::sc_export< IF >:

Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_export< IF >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 sc_export ()
 sc_export (const char *name_)
virtual ~sc_export ()
virtual sc_interfaceget_interface ()
virtual const sc_interfaceget_interface () const
const IF * operator-> () const
IF * operator-> ()
 operator IF & ()
void bind (IF &interface_)
void operator() (IF &interface_)
virtual const char * kind () const
const char * name () const
 return full name of sc_object
const char * basename () const
 return base name of sc_object (last part)
virtual void print (::std::ostream &os=::std::cout) const
 print object
virtual void dump (::std::ostream &os=::std::cout) const
 dump() is more detailed than print()
virtual void trace (sc_trace_file *tf) const
sc_simcontextsimcontext () const
bool add_attribute (sc_attr_base &)
 add attribute
sc_attr_baseget_attribute (const std::string &name_)
 get attribute by name
const sc_attr_baseget_attribute (const std::string &name_) const
 get attribute by name
sc_attr_baseremove_attribute (const std::string &name_)
 remove attribute by name
void remove_all_attributes ()
 remove all attributes
int num_attributes () const
 get the number of attributes
sc_attr_cltnattr_cltn ()
 get the attribute collection
const sc_attr_cltnattr_cltn () const
 get the attribute collection
virtual const std::vector
< sc_object * > & 
get_child_objects () const
 return child objects
sc_objectget_parent () const
 return parent object
sc_objectget_parent_object () const
 return parent object

Protected Member Functions

const char * if_typename () const
virtual void before_end_of_elaboration ()
virtual void end_of_elaboration ()
virtual void start_of_simulation ()
virtual void end_of_simulation ()

Protected Attributes

IF * m_interface_p


Detailed Description

template<class IF>
class sc_core::sc_export< IF >

Definition at line 117 of file sc_export.h.


Constructor & Destructor Documentation

template<class IF>
sc_core::sc_export< IF >::sc_export (  )  [inline]

Definition at line 122 of file sc_export.h.

template<class IF>
sc_core::sc_export< IF >::sc_export ( const char *  name_  )  [inline, explicit]

Definition at line 127 of file sc_export.h.

template<class IF>
virtual sc_core::sc_export< IF >::~sc_export (  )  [inline, virtual]

Definition at line 133 of file sc_export.h.


Member Function Documentation

template<class IF>
virtual sc_interface* sc_core::sc_export< IF >::get_interface (  )  [inline, virtual]

Implements sc_core::sc_export_base.

Definition at line 139 of file sc_export.h.

template<class IF>
virtual const sc_interface* sc_core::sc_export< IF >::get_interface (  )  const [inline, virtual]

Implements sc_core::sc_export_base.

Definition at line 144 of file sc_export.h.

template<class IF>
const IF* sc_core::sc_export< IF >::operator-> (  )  const [inline]

Definition at line 149 of file sc_export.h.

template<class IF>
IF* sc_core::sc_export< IF >::operator-> (  )  [inline]

Definition at line 157 of file sc_export.h.

template<class IF>
sc_core::sc_export< IF >::operator IF & (  )  [inline]

Definition at line 165 of file sc_export.h.

template<class IF>
void sc_core::sc_export< IF >::bind ( IF &  interface_  )  [inline]

Definition at line 175 of file sc_export.h.

template<class IF>
void sc_core::sc_export< IF >::operator() ( IF &  interface_  )  [inline]

Definition at line 187 of file sc_export.h.

template<class IF>
virtual const char* sc_core::sc_export< IF >::kind (  )  const [inline, virtual]

Reimplemented from sc_core::sc_object.

Definition at line 200 of file sc_export.h.

template<class IF>
const char* sc_core::sc_export< IF >::if_typename (  )  const [inline, protected, virtual]

Implements sc_core::sc_export_base.

Definition at line 203 of file sc_export.h.

void sc_core::sc_export_base::before_end_of_elaboration (  )  [protected, virtual, inherited]

Definition at line 78 of file sc_export.cpp.

void sc_core::sc_export_base::end_of_elaboration (  )  [protected, virtual, inherited]

Definition at line 85 of file sc_export.cpp.

void sc_core::sc_export_base::start_of_simulation (  )  [protected, virtual, inherited]

Definition at line 91 of file sc_export.cpp.

void sc_core::sc_export_base::end_of_simulation (  )  [protected, virtual, inherited]

Definition at line 97 of file sc_export.cpp.

const char* sc_core::sc_object::name (  )  const [inline, inherited]

return full name of sc_object

Definition at line 80 of file sc_object.h.

const char * sc_core::sc_object::basename (  )  const [inherited]

return base name of sc_object (last part)

Definition at line 95 of file sc_object.cpp.

void sc_core::sc_object::print ( ::std::ostream &  os = ::std::cout  )  const [virtual, inherited]

void sc_core::sc_object::dump ( ::std::ostream &  os = ::std::cout  )  const [virtual, inherited]

void sc_core::sc_object::trace ( sc_trace_file tf  )  const [virtual, inherited]

sc_simcontext* sc_core::sc_object::simcontext (  )  const [inline, inherited]

Definition at line 95 of file sc_object.h.

bool sc_core::sc_object::add_attribute ( sc_attr_base attribute_  )  [inherited]

add attribute

Definition at line 311 of file sc_object.cpp.

sc_attr_base * sc_core::sc_object::get_attribute ( const std::string &  name_  )  [inherited]

get attribute by name

Definition at line 321 of file sc_object.cpp.

const sc_attr_base * sc_core::sc_object::get_attribute ( const std::string &  name_  )  const [inherited]

get attribute by name

Definition at line 328 of file sc_object.cpp.

sc_attr_base * sc_core::sc_object::remove_attribute ( const std::string &  name_  )  [inherited]

remove attribute by name

Definition at line 338 of file sc_object.cpp.

void sc_core::sc_object::remove_all_attributes (  )  [inherited]

remove all attributes

Definition at line 350 of file sc_object.cpp.

int sc_core::sc_object::num_attributes (  )  const [inherited]

get the number of attributes

Definition at line 360 of file sc_object.cpp.

sc_attr_cltn & sc_core::sc_object::attr_cltn (  )  [inherited]

get the attribute collection

Definition at line 372 of file sc_object.cpp.

const sc_attr_cltn & sc_core::sc_object::attr_cltn (  )  const [inherited]

get the attribute collection

Definition at line 379 of file sc_object.cpp.

virtual const std::vector<sc_object*>& sc_core::sc_object::get_child_objects (  )  const [inline, virtual, inherited]

return child objects

Reimplemented in sc_core::sc_module, and sc_core::sc_process_b.

Definition at line 121 of file sc_object.h.

sc_object* sc_core::sc_object::get_parent (  )  const [inline, inherited]

return parent object

Definition at line 125 of file sc_object.h.

sc_object* sc_core::sc_object::get_parent_object (  )  const [inline, inherited]

return parent object

Definition at line 127 of file sc_object.h.


Member Data Documentation

template<class IF>
IF* sc_core::sc_export< IF >::m_interface_p [protected]

Definition at line 212 of file sc_export.h.


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

Generated on Wed Jan 21 15:32:12 2009 for SystemC by  doxygen 1.5.5