In this file the classes rc_switch_connector_base and rc_switch_connector<PortMap> are defined.
A switch connector is a utility object that simplifies the binding of switches. The static side as well as the dynamic side can be bound by using the methods bind_static() or bind_dynamic(), respectively. A switch connector can be bound to port maps and rc_reconfigurable instances that are compatible.
Definition in file rc_switch_connector.h.
Go to the source code of this file.
Namespaces | |
namespace | ReChannel |
Classes | |
class | rc_switch_connector_base |
Base class of rc_switch_connector<PortMap>. More... | |
class | rc_switch_connector |
Class rc_switch_connector<PortMap>. More... | |
Defines | |
#define | _RC_Tmp_arg(i) |
Convenience macro to declare variable constructor arguments of type rc_switch. (internal only). |
#define _RC_Tmp_arg | ( | i | ) |
Value:
const typename internals::template arg< \ rc_switch, (bool)(i < portmap_size)>& \ s##i=internals::UNDEF
This macro is used to enforce a particular argument count in the constructor of class ReChannel::rc_switch_connector<DynPortMap>. An argument of index i can be used like an rc_switch if i is less than portmap_size. Otherwise the argument type represents an undefined argument.
Definition at line 259 of file rc_switch_connector.h.