source: sources/src/process_dependency.h @ 35

Last change on this file since 35 was 35, checked in by buchmann, 15 years ago

Code cleanup.

Add --dynamiclink option to systemcass executable.

File size: 1.6 KB
Line 
1/*------------------------------------------------------------\
2|                                                             |
3| Tool    :                  systemcass                       |
4|                                                             |
5| File    :                 process_dependency.h              |
6|                                                             |
7| Author  :                 Buchmann Richard                  |
8|                                                             |
9| Date    :                   09_07_2004                      |
10|                                                             |
11\------------------------------------------------------------*/
12#ifndef MODULE_DEPENDENCY_H
13#define MODULE_DEPENDENCY_H
14
15#include "signal_dependency.h"
16
17namespace sc_core {
18
19// Signal Dependency Graph
20struct ProcessDependency {
21  const method_process_t *source;
22  const method_process_t *destination;
23  bool operator < (const ProcessDependency &) const;
24};
25
26typedef std::set<ProcessDependency>        ProcessDependencyGraph;
27typedef std::list<const method_process_t*> ProcessDependencyList;
28
29// Convert Port Dependency Graph to Signal Dependency Graph
30extern ProcessDependencyGraph* MakeProcessDependencyGraph (const SignalDependencyGraph&);
31extern ProcessDependencyList* MakeProcessDependencyList (const SignalDependencyGraph&);
32
33// Dump to dot file
34extern bool ProcessDependencyGraph2dot (const char *name, const ProcessDependencyGraph&);
35extern bool ProcessDependencyList2dot (const char *name, const ProcessDependencyList&);
36
37} // end of sc_core namespace
38
39#endif
40
Note: See TracBrowser for help on using the repository browser.