rc_portal.h File Reference


Detailed Description

Definition of class rc_portal.

Author:
Armin Felke <felke@cs.uni-bonn.de>
Date
Revision

Definition in file rc_portal.h.

Go to the source code of this file.

Namespaces

namespace  ReChannel

Classes

class  rc_portal
 The generic portal class. More...

Defines

#define RC_PORTAL(port_class_name)
#define RC_PORTAL_TEMPLATE(port_class_name)
#define RC_PORTAL_CTOR(port_class_name)
#define RC_PORTAL_TEMPLATE_CTOR(port_class_name)
#define RC_PORTAL_FORWARD_EVENT(event_method_name)


Define Documentation

#define RC_PORTAL ( port_class_name   ) 

Value:

template<> \
    struct rc_portal<port_class_name > \
        : public rc_abstract_portal<port_class_name >

Definition at line 72 of file rc_portal.h.

#define RC_PORTAL_CTOR ( port_class_name   ) 

Value:

typedef port_class_name port_type; \
    typedef rc_abstract_portal<port_class_name >::if_type if_type; \
    typedef rc_abstract_portal<port_class_name >::accessor_type \
        accessor_type; \
    explicit rc_portal(const sc_module_name& module_name_ \
        = sc_gen_unique_name("rc_portal")) \
        : rc_abstract_portal<port_class_name >(module_name_)

Definition at line 81 of file rc_portal.h.

Referenced by ReChannel::RC_PORTAL().

#define RC_PORTAL_FORWARD_EVENT ( event_method_name   ) 

Value:

this->add_event_forwarder( \
        &if_type::event_method_name, #event_method_name)

Definition at line 103 of file rc_portal.h.

Referenced by ReChannel::RC_PORTAL(), and ReChannel::RC_PORTAL_TEMPLATE().

#define RC_PORTAL_TEMPLATE ( port_class_name   ) 

Value:

struct rc_portal<port_class_name > \
        : public rc_abstract_portal<port_class_name >

Definition at line 77 of file rc_portal.h.

#define RC_PORTAL_TEMPLATE_CTOR ( port_class_name   ) 

Value:

typedef port_class_name port_type; \
    typedef typename rc_abstract_portal<port_class_name >::if_type \
        if_type; \
    typedef typename rc_abstract_portal<port_class_name >::accessor_type \
        accessor_type; \
    explicit rc_portal(const sc_module_name& module_name_ \
        = sc_gen_unique_name("rc_portal")) \
        : rc_abstract_portal<port_class_name >(module_name_)

Definition at line 90 of file rc_portal.h.

Referenced by ReChannel::RC_PORTAL_TEMPLATE().


Generated on Tue Jan 1 23:14:07 2008 for ReChannel by  doxygen 1.5.3