SystemC  Recoding Infrastructure for SystemC v0.6.0 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sc_core::sc_export< IF > Class Template Reference

Generic export class for other export classes. More...

#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]

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 & ()
 
 operator const IF & () const
 
SC_VIRTUAL_ void bind (IF &interface_)
 
void operator() (IF &interface_)
 
virtual const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_object
const char * name () const
 
const char * basename () const
 
virtual void print (::std::ostream &os=::std::cout) const
 
virtual void dump (::std::ostream &os=::std::cout) const
 
virtual void trace (sc_trace_file *tf) const
 
sc_simcontextsimcontext () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_baseget_attribute (const std::string &name_)
 
const sc_attr_baseget_attribute (const std::string &name_) const
 
sc_attr_baseremove_attribute (const std::string &name_)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltnattr_cltn ()
 
const sc_attr_cltnattr_cltn () const
 
virtual const std::vector
< sc_event * > & 
get_child_events () const
 
virtual const std::vector
< sc_object * > & 
get_child_objects () const
 
sc_objectget_parent () const
 
sc_objectget_parent_object () const
 

Protected Member Functions

const char * if_typename () const
 
- Protected Member Functions inherited from sc_core::sc_export_base
 sc_export_base ()
 
 sc_export_base (const char *name)
 
virtual ~sc_export_base ()
 
virtual void before_end_of_elaboration ()
 
virtual void end_of_elaboration ()
 
virtual void start_of_simulation ()
 
virtual void end_of_simulation ()
 
void report_error (const char *id, const char *add_msg=0) const
 
- Protected Member Functions inherited from sc_core::sc_object
 sc_object ()
 
 sc_object (const char *nm)
 
 sc_object (const sc_object &)
 
sc_objectoperator= (const sc_object &)
 
virtual ~sc_object ()
 
virtual void add_child_event (sc_event *event_p)
 
virtual void add_child_object (sc_object *object_p)
 
virtual bool remove_child_event (sc_event *event_p)
 
virtual bool remove_child_object (sc_object *object_p)
 
phase_cb_mask register_simulation_phase_callback (phase_cb_mask)
 
phase_cb_mask unregister_simulation_phase_callback (phase_cb_mask)
 

Protected Attributes

IF * m_interface_p
 

Additional Inherited Members

- Public Types inherited from sc_core::sc_export_base
typedef sc_export_base this_type
 
- Public Types inherited from sc_core::sc_object
typedef unsigned phase_cb_mask
 

Detailed Description

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

Generic export class for other export classes.

This class provides a binding point for access to an interface.

Definition at line 115 of file sc_export.h.

Constructor & Destructor Documentation

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

Definition at line 120 of file sc_export.h.

template<class IF >
sc_core::sc_export< IF >::sc_export ( const char *  name_)
inlineexplicit

Definition at line 125 of file sc_export.h.

template<class IF >
virtual sc_core::sc_export< IF >::~sc_export ( )
inlinevirtual

Definition at line 131 of file sc_export.h.

Member Function Documentation

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

Definition at line 176 of file sc_export.h.

template<class IF >
virtual sc_interface* sc_core::sc_export< IF >::get_interface ( )
inlinevirtual

Implements sc_core::sc_export_base.

Definition at line 137 of file sc_export.h.

template<class IF >
virtual const sc_interface* sc_core::sc_export< IF >::get_interface ( ) const
inlinevirtual

Implements sc_core::sc_export_base.

Definition at line 142 of file sc_export.h.

template<class IF >
const char* sc_core::sc_export< IF >::if_typename ( ) const
inlineprotectedvirtual

Implements sc_core::sc_export_base.

Definition at line 197 of file sc_export.h.

template<class IF >
virtual const char* sc_core::sc_export< IF >::kind ( ) const
inlinevirtual

Reimplemented from sc_core::sc_object.

Definition at line 194 of file sc_export.h.

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

Definition at line 171 of file sc_export.h.

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

Definition at line 163 of file sc_export.h.

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

Definition at line 188 of file sc_export.h.

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

Definition at line 147 of file sc_export.h.

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

Definition at line 155 of file sc_export.h.

Member Data Documentation

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

Definition at line 206 of file sc_export.h.


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