rc_portal_b::interface_wrapper Class Reference

#include <rc_abstract_portal.h>

Inheritance diagram for rc_portal_b::interface_wrapper:

rc_abstract_interface_wrapper rc_abstract_interface_wrapper_b rc_interface_wrapper rc_interface_wrapper_base rc_event_forwarder_host rc_interface_wrapper_base

List of all members.


Detailed Description

template<class IF>
class ReChannel::rc_portal_b< IF >::interface_wrapper

The interface wrapper within portals.

Definition at line 285 of file rc_abstract_portal.h.


Public Types

typedef
base_type::accessor_type 
accessor_type

Public Member Functions

 interface_wrapper (portal_type &owner_portal)
virtual std::string get_interface_wrapper_name () const
 returns the name of this portal
virtual void register_port (sc_port_base &port_, const char *if_typename)
void add_event_forwarder (IF &trigger_if, event_getter_functor functor, const std::string &event_name)
 creates an event forwarder for the specified event getter method

Protected Member Functions

virtual accessor_typecreate_accessor () const
 creates an accessor
virtual
rc_process_behavior_change 
begin_access_callback ()
 callback for interface accesses (begin access)
virtual void end_access_callback ()
 callback for interface accesses (end access)

Private Types

typedef rc_portal_b< IF > portal_type
typedef
rc_abstract_interface_wrapper
< IF > 
base_type
typedef const
sc_event &(IF::* 
event_getter_ptr )() const

Private Attributes

portal_typep_portal
 a reference to the portal owning this object

Friends

class rc_portal_b< IF >

Member Typedef Documentation

typedef rc_portal_b<IF> portal_type [private]

Definition at line 291 of file rc_abstract_portal.h.

typedef rc_abstract_interface_wrapper<IF> base_type [private]

Reimplemented from rc_abstract_interface_wrapper.

Definition at line 292 of file rc_abstract_portal.h.

typedef const sc_event&(IF::* event_getter_ptr)() const [private]

Definition at line 294 of file rc_abstract_portal.h.

typedef base_type::accessor_type accessor_type

Reimplemented from rc_abstract_interface_wrapper.

Definition at line 297 of file rc_abstract_portal.h.


Constructor & Destructor Documentation

interface_wrapper ( portal_type owner_portal  )  [inline, explicit]

Definition at line 300 of file rc_abstract_portal.h.


Member Function Documentation

virtual std::string get_interface_wrapper_name (  )  const [inline, virtual]

returns the name of this portal

Reimplemented from rc_abstract_interface_wrapper_b.

Definition at line 305 of file rc_abstract_portal.h.

virtual void register_port ( sc_port_base &  port_,
const char *  if_typename 
) [inline, virtual]

Reimplemented from rc_abstract_interface_wrapper_b.

Definition at line 308 of file rc_abstract_portal.h.

void add_event_forwarder ( IF &  trigger_if,
event_getter_functor  functor,
const std::string &  event_name 
) [inline]

creates an event forwarder for the specified event getter method

Definition at line 313 of file rc_abstract_portal.h.

Referenced by rc_portal_b::add_event_forwarder(), and rc_portal_b::end_of_elaboration().

virtual accessor_type* create_accessor (  )  const [inline, protected, virtual]

creates an accessor

Implements rc_interface_wrapper.

Definition at line 320 of file rc_abstract_portal.h.

virtual rc_process_behavior_change begin_access_callback (  )  [inline, protected, virtual]

callback for interface accesses (begin access)

Reimplemented from rc_abstract_interface_wrapper_b.

Definition at line 324 of file rc_abstract_portal.h.

virtual void end_access_callback (  )  [inline, protected, virtual]

callback for interface accesses (end access)

Reimplemented from rc_abstract_interface_wrapper_b.

Definition at line 328 of file rc_abstract_portal.h.


Friends And Related Function Documentation

friend class rc_portal_b< IF > [friend]

Definition at line 288 of file rc_abstract_portal.h.


Member Data Documentation

portal_type& p_portal [private]

a reference to the portal owning this object

Definition at line 333 of file rc_abstract_portal.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 1 23:14:10 2008 for ReChannel by  doxygen 1.5.3