source: sources/src/port_dependency.h

Last change on this file was 52, checked in by meunier, 11 years ago

Code formatting in all source files.

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};
28
29typedef std::list<PortDependency> PortDependencyGraph;
30
31// Accessor
32extern const PortDependencyGraph& get_port_dependency_graph ();
33
34// Dump to dot file
35extern bool PortDependencyGraph2dot(const char * name, const PortDependencyGraph& = get_port_dependency_graph());
36
37} // end of sc_core namespace
38
39#endif
40
Note: See TracBrowser for help on using the repository browser.