rc_portmap.h File Reference


Detailed Description

Date
Revision

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

Definition in file rc_portmap.h.

Go to the source code of this file.

Namespaces

namespace  ReChannel

Classes

class  rc_portmap_base
 Base class of a port map. More...
class  rc_portmap
 The class of a port map. More...

Defines

#define _RC_TMP_undef_check(class_name)
#define _RC_TMP_arg(i)
#define _RC_DECLARE_PORTMAP(name_, portmap_size_, port_types_)
#define _RC_DECLARE_PORTMAP_T(name_, portmap_size_, port_types_)
#define _RC_PORTMAP_REMOVE_BRACKETS(...)   __VA_ARGS__
#define RC_PORTMAP(name_, portmap_size_, port_types_)   _RC_DECLARE_PORTMAP(name_, portmap_size_, port_types_)
#define RC_PORTMAP_T(name_, portmap_size_, port_types_)   _RC_DECLARE_PORTMAP_T(name_, portmap_size_, port_types_)
#define RC_PORT_TYPES
#define RC_PORT_TYPES_T


Define Documentation

#define _RC_DECLARE_PORTMAP ( name_,
portmap_size_,
port_types_   ) 

Value:

struct _RC_PORTMAP_TYPE_ID_##name_; \
    typedef ::ReChannel::rc_portmap< \
            _RC_PORTMAP_TYPE_ID_##name_, \
            _RC_PORTMAP_REMOVE_BRACKETS port_types_ \
        > name_; \
    RC_STATIC_ASSERT(portmap_validity_check, \
            (portmap_size_ == name_::portmap_size))

Definition at line 293 of file rc_portmap.h.

#define _RC_DECLARE_PORTMAP_T ( name_,
portmap_size_,
port_types_   ) 

Value:

struct _RC_PORTMAP_TYPE_ID_##name_; \
    typedef typename ::ReChannel::template rc_portmap< \
            _RC_PORTMAP_TYPE_ID_##name_, \
            _RC_PORTMAP_REMOVE_BRACKETS port_types_ \
        > name_; \
    RC_STATIC_ASSERT_T(portmap_validity_check, \
            (portmap_size_ == name_::portmap_size))

Definition at line 303 of file rc_portmap.h.

#define _RC_PORTMAP_REMOVE_BRACKETS ( ...   )     __VA_ARGS__

Definition at line 312 of file rc_portmap.h.

#define _RC_TMP_arg (  ) 

Value:

const typename internals::template arg<P##i, (bool)(i < N)>& \
            p##i=internals::UNDEF

Definition at line 179 of file rc_portmap.h.

#define _RC_TMP_undef_check ( class_name   ) 

Value:

!(boost::is_base_of<sc_port_base, class_name>::value == true \
          || boost::is_base_of<sc_export_base, class_name>::value == true \
          || (boost::is_base_of<sc_object, class_name>::value == true \
            && boost::is_base_of<sc_interface, class_name>::value == true))

Definition at line 130 of file rc_portmap.h.

#define RC_PORT_TYPES

Definition at line 322 of file rc_portmap.h.

#define RC_PORT_TYPES_T

Definition at line 324 of file rc_portmap.h.

#define RC_PORTMAP ( name_,
portmap_size_,
port_types_   )     _RC_DECLARE_PORTMAP(name_, portmap_size_, port_types_)

Definition at line 316 of file rc_portmap.h.

#define RC_PORTMAP_T ( name_,
portmap_size_,
port_types_   )     _RC_DECLARE_PORTMAP_T(name_, portmap_size_, port_types_)

Definition at line 319 of file rc_portmap.h.


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