#include <rc_abstract_switch.h>
Definition at line 140 of file rc_abstract_switch.h.
Public Member Functions | |
virtual bool | is_registered (const sc_interface &dyn_if) const |
Is the given dynamic interface registered with this switch? | |
Protected Member Functions | |
rc_abstract_switch () | |
IF * | get_registered_if (rc_reconfigurable &module) const |
virtual sc_interface * | get_registered_interface (rc_reconfigurable &module) const |
Returns the dynamic interface of a registered rc_reconfigurable. | |
Private Types | |
typedef rc_abstract_switch_b | base_type |
Private Member Functions | |
RC_STATIC_ASSERT_VALID_INTERFACE (IF) | |
virtual void * | _rc_dynamic_cast (sc_interface *dyn_if) const |
virtual const char * | _rc_get_if_type () const |
rc_abstract_switch (const rc_abstract_switch &orig) | |
rc_abstract_switch & | operator= (const rc_abstract_switch &orig) |
typedef rc_abstract_switch_b base_type [private] |
Reimplemented in rc_abstract_exportal, rc_portal_b, rc_abstract_portal, rc_event_queue_portal, rc_fifo_in_portal, rc_fifo_out_portal, rc_mutex_portal, rc_portal, rc_portal< sc_out_resolved >, rc_in_resolved_portal, rc_inout_resolved_portal, rc_out_resolved_portal, rc_portal< sc_out_rv< W > >, rc_in_rv_portal, rc_inout_rv_portal, rc_out_rv_portal, rc_semaphore_portal, rc_portal< sc_out< T > >, rc_in_portal, rc_inout_portal, rc_out_portal, rc_abstract_exportal< if_type >, rc_abstract_exportal< sc_fifo_out_if< T > >, rc_abstract_exportal< sc_fifo_in_if< T > >, rc_portal_b< ReChannel::rc_port_traits< sc_port< sc_mutex_if > >::if_type >, rc_portal_b< ReChannel::rc_port_traits< sc_port< sc_semaphore_if > >::if_type >, rc_portal_b< ReChannel::rc_port_traits< sc_fifo_in< T > >::if_type >, rc_portal_b< ReChannel::rc_port_traits< sc_inout_resolved >::if_type >, rc_portal_b< ReChannel::rc_port_traits< PORT >::port_traits::if_type >, rc_portal_b< ReChannel::rc_port_traits< sc_in_rv< W > >::if_type >, rc_portal_b< ReChannel::rc_port_traits< sc_fifo_out< T > >::if_type >, rc_portal_b< ReChannel::rc_port_traits< sc_port< sc_event_queue_if > >::if_type >, rc_portal_b< ReChannel::rc_port_traits< sc_inout_rv< W > >::if_type >, rc_portal_b< ReChannel::rc_port_traits< sc_in_resolved >::if_type >, rc_portal_b< ReChannel::rc_port_traits< sc_inout< T > >::if_type >, rc_portal_b< ReChannel::rc_port_traits< sc_in< T > >::if_type >, rc_abstract_portal< sc_in_rv< W > >, rc_abstract_portal< sc_port< sc_mutex_if > >, rc_abstract_portal< sc_in_resolved >, rc_abstract_portal< sc_inout< T > >, rc_abstract_portal< sc_in< T > >, rc_abstract_portal< sc_inout_rv< W > >, rc_abstract_portal< sc_inout_resolved >, rc_abstract_portal< sc_fifo_in< T > >, rc_abstract_portal< sc_fifo_out< T > >, rc_abstract_portal< sc_port< sc_event_queue_if > >, rc_abstract_portal< sc_port< sc_semaphore_if > >, rc_portal< sc_in_rv< W > >, rc_portal< sc_port< sc_mutex_if > >, rc_portal< sc_in_resolved >, rc_portal< sc_inout< T > >, rc_portal< sc_in< T > >, rc_portal< sc_inout_rv< W > >, rc_portal< sc_inout_resolved >, rc_portal< sc_fifo_in< T > >, rc_portal< sc_fifo_out< T > >, rc_portal< sc_port< sc_event_queue_if > >, and rc_portal< sc_port< sc_semaphore_if > >.
Definition at line 146 of file rc_abstract_switch.h.
rc_abstract_switch | ( | ) | [inline, protected] |
Definition at line 149 of file rc_abstract_switch.h.
rc_abstract_switch | ( | const rc_abstract_switch< IF > & | orig | ) | [private] |
RC_STATIC_ASSERT_VALID_INTERFACE | ( | IF | ) | [private] |
bool is_registered | ( | const sc_interface & | dyn_if | ) | const [inline, virtual] |
Is the given dynamic interface registered with this switch?
Implements rc_switch.
Definition at line 197 of file rc_abstract_switch.h.
IF * get_registered_if | ( | rc_reconfigurable & | module | ) | const [inline, protected] |
Definition at line 206 of file rc_abstract_switch.h.
Referenced by rc_abstract_switch< ReChannel::rc_port_traits< sc_in< T > >::if_type >::get_registered_interface().
virtual sc_interface* get_registered_interface | ( | rc_reconfigurable & | reconf | ) | const [inline, protected, virtual] |
Returns the dynamic interface of a registered rc_reconfigurable.
This method is intended for informational purposes only. Invoking methods of the interface returned by this method is not allowed from outside of the portal.
Implements rc_switch.
Definition at line 159 of file rc_abstract_switch.h.
void * _rc_dynamic_cast | ( | sc_interface * | dyn_if | ) | const [inline, private, virtual] |
const char * _rc_get_if_type | ( | ) | const [inline, private, virtual] |
rc_abstract_switch& operator= | ( | const rc_abstract_switch< IF > & | orig | ) | [private] |