#include <rc_abstract_portal.h>
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_type * | create_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_type & | p_portal |
a reference to the portal owning this object | |
Friends | |
class | rc_portal_b< IF > |
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.
Reimplemented from rc_abstract_interface_wrapper.
Definition at line 297 of file rc_abstract_portal.h.
interface_wrapper | ( | portal_type & | owner_portal | ) | [inline, explicit] |
Definition at line 300 of file rc_abstract_portal.h.
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.
friend class rc_portal_b< IF > [friend] |
Definition at line 288 of file rc_abstract_portal.h.
portal_type& p_portal [private] |