source: latest/src/port_dependency.h @ 1

Last change on this file since 1 was 1, checked in by buchmann, 17 years ago

Initial import from CVS repository

File size: 1.3 KB
Line 
1/*------------------------------------------------------------\
2|                                                             |
3| Tool    :                  systemcass                       |
4|                                                             |
5| File    :                  port_dependency.h                |
6|                                                             |
7| Author  :                 Buchmann Richard                  |
8|                                                             |
9| Date    :                   09_07_2004                      |
10|                                                             |
11\------------------------------------------------------------*/
12#ifndef PORT_DEPENDENCY_H
13#define PORT_DEPENDENCY_H
14
15#include "sc_fwd.h"
16#include <list>
17
18#include "port_dependency_ext.h"
19
20namespace sc_core {
21
22// Port Dependency Graph
23struct PortDependency {
24        const method_process_t *method;
25        const sc_port_base     *source;
26        const sc_port_base     *destination;
27};
28typedef std::list<PortDependency> PortDependencyGraph;
29
30// Accessor
31extern const PortDependencyGraph& get_port_dependency_graph ();
32
33// Dump to dot file
34extern bool PortDependencyGraph2dot (const char *name, const PortDependencyGraph& = get_port_dependency_graph());
35
36} // end of sc_core namespace
37
38#endif
39
Note: See TracBrowser for help on using the repository browser.