pinapa::st_port_deco_t Class Reference

#include <pinapa-port-deco.h>

List of all members.

Public Member Functions

 st_port_deco_t ()
const hash_set< sc_process_b * > & get_processes_using () const
void add_process_using (sc_process_b *p)
const vector< sc_port_base * > & get_bound_ports () const
void add_port_bound (sc_port_base *port)
size_t get_number_of_bound_ports () const
const vector< sc_export_base * > & get_bound_exports () const
void add_export_bound (sc_export_base *e)
size_t get_number_of_bound_exports () const
void set_array (bool a)
bool is_array () const
void set_index (tree i)
tree get_index () const

Private Attributes

hash_set< sc_process_b * > m_processes_using
vector< sc_port_base * > m_bound_ports
vector< sc_export_base * > m_bound_exports
bool m_is_array
tree m_index


Constructor & Destructor Documentation

pinapa::st_port_deco_t::st_port_deco_t (  )  [inline]


Member Function Documentation

const hash_set<sc_process_b *>& pinapa::st_port_deco_t::get_processes_using (  )  const [inline]

List of processes using this port

void pinapa::st_port_deco_t::add_process_using ( sc_process_b p  )  [inline]

Say the process p is using this port

const vector<sc_port_base *>& pinapa::st_port_deco_t::get_bound_ports (  )  const [inline]

void pinapa::st_port_deco_t::add_port_bound ( sc_port_base port  )  [inline]

size_t pinapa::st_port_deco_t::get_number_of_bound_ports (  )  const [inline]

const vector<sc_export_base *>& pinapa::st_port_deco_t::get_bound_exports (  )  const [inline]

void pinapa::st_port_deco_t::add_export_bound ( sc_export_base e  )  [inline]

size_t pinapa::st_port_deco_t::get_number_of_bound_exports (  )  const [inline]

void pinapa::st_port_deco_t::set_array ( bool  a  )  [inline]

bool pinapa::st_port_deco_t::is_array (  )  const [inline]

void pinapa::st_port_deco_t::set_index ( tree  i  )  [inline]

tree pinapa::st_port_deco_t::get_index (  )  const [inline]


Member Data Documentation

hash_set<sc_process_b *> pinapa::st_port_deco_t::m_processes_using [private]

List of processes using this port

vector<sc_port_base *> pinapa::st_port_deco_t::m_bound_ports [private]

vector<sc_export_base *> pinapa::st_port_deco_t::m_bound_exports [private]

bool pinapa::st_port_deco_t::m_is_array [private]

tree pinapa::st_port_deco_t::m_index [private]


The documentation for this class was generated from the following file:
Generated by
Matthieu Moy <Matthieu.Moy@st.com>
Back to Pinapa Home Page