rc_portmap_base Class Reference

#include <rc_portmap.h>

Inheritance diagram for rc_portmap_base:

rc_portmap

List of all members.


Detailed Description

Base class of a port map.

Definition at line 53 of file rc_portmap.h.


Public Types

enum  { portmap_size = 0 }

Public Member Functions

int size () const
rc_object_handle get (int index) const
rc_object_handle operator[] (int index) const
sc_object & get_object (int index) const
sc_interface * get_interface (int index) const
virtual bool is_compatible (this_type &portmap) const =0

Protected Member Functions

 rc_portmap_base ()
virtual ~rc_portmap_base ()
void _rc_init (rc_object_handle arr[], int size)

Private Types

typedef rc_portmap_base this_type

Private Attributes

rc_object_handlep_arr
int p_size

Member Typedef Documentation

typedef rc_portmap_base this_type [private]

Reimplemented in rc_portmap.

Definition at line 56 of file rc_portmap.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
portmap_size 

Definition at line 59 of file rc_portmap.h.


Constructor & Destructor Documentation

rc_portmap_base (  )  [inline, protected]

Definition at line 62 of file rc_portmap.h.

virtual ~rc_portmap_base (  )  [inline, protected, virtual]

Definition at line 83 of file rc_portmap.h.


Member Function Documentation

int size (  )  const [inline]

Definition at line 67 of file rc_portmap.h.

Referenced by rc_switch_connector_base::bind_static(), rc_reconfigurable::move(), and rc_reconfigurable::rc_add_portmap().

rc_object_handle get ( int  index  )  const

Definition at line 41 of file rc_portmap.cpp.

Referenced by rc_reconfigurable::move().

rc_object_handle operator[] ( int  index  )  const [inline]

Definition at line 72 of file rc_portmap.h.

sc_object & get_object ( int  index  )  const

Definition at line 51 of file rc_portmap.cpp.

Referenced by rc_reconfigurable::rc_add_portmap().

sc_interface * get_interface ( int  index  )  const

Definition at line 61 of file rc_portmap.cpp.

virtual bool is_compatible ( this_type portmap  )  const [pure virtual]

Implemented in rc_portmap.

Referenced by rc_reconfigurable::_rc_is_compatible().

void _rc_init ( rc_object_handle  arr[],
int  size 
) [protected]

Definition at line 71 of file rc_portmap.cpp.

Referenced by rc_portmap::rc_portmap().


Member Data Documentation

rc_object_handle* p_arr [private]

Reimplemented in rc_portmap.

Definition at line 90 of file rc_portmap.h.

Referenced by rc_portmap_base::_rc_init(), rc_portmap_base::get(), rc_portmap_base::get_interface(), and rc_portmap_base::get_object().

int p_size [private]

Definition at line 91 of file rc_portmap.h.

Referenced by rc_portmap_base::_rc_init(), rc_portmap_base::get(), rc_portmap_base::get_interface(), rc_portmap_base::get_object(), and rc_portmap_base::size().


The documentation for this class was generated from the following files:
Generated on Tue Jan 1 23:14:14 2008 for ReChannel by  doxygen 1.5.3