Last change
on this file since 99 was
81,
checked in by rosiere, 16 years ago
|
- Finish Environment (and test)
- Continue predictor_unit
- Add external tools
- svn keyword "Id" set
|
-
Property svn:keywords set to
Id
|
File size:
1.1 KB
|
Rev | Line | |
---|
[20] | 1 | #ifndef morpheo_tools_viewer_bdd_ListePorts_h |
---|
| 2 | #define morpheo_tools_viewer_bdd_ListePorts_h |
---|
| 3 | |
---|
| 4 | #include <iostream> |
---|
| 5 | |
---|
| 6 | #include <iterator> |
---|
| 7 | #include "Tools/Viewer/Bdd/include/Port.h" |
---|
| 8 | #include "Tools/Viewer/Bdd/include/Coord.h" |
---|
| 9 | #include <qlist.h> |
---|
| 10 | |
---|
| 11 | |
---|
| 12 | using namespace std; |
---|
| 13 | namespace morpheo{ |
---|
| 14 | namespace tools{ |
---|
| 15 | namespace viewer{ |
---|
| 16 | namespace bdd{ |
---|
| 17 | |
---|
| 18 | |
---|
| 19 | class ListePorts |
---|
| 20 | { |
---|
| 21 | private: |
---|
| 22 | QList<morpheo::tools::viewer::bdd::Port> *ports; |
---|
| 23 | |
---|
| 24 | int countPort(string loc); |
---|
| 25 | |
---|
| 26 | protected: |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | public: |
---|
| 30 | ListePorts(); |
---|
| 31 | ~ListePorts(); |
---|
| 32 | QList<string> *listenames; |
---|
| 33 | QList<morpheo::tools::viewer::bdd::Port> getPortEast(Coord *c); |
---|
| 34 | QList<morpheo::tools::viewer::bdd::Port> getPortWest(Coord *c); |
---|
| 35 | QList<morpheo::tools::viewer::bdd::Port> getPortNorth(Coord *c); |
---|
| 36 | QList<morpheo::tools::viewer::bdd::Port> getPortSouth(Coord *c); |
---|
| 37 | morpheo::tools::viewer::bdd::Port *searchPort(string v); |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | void addport(morpheo::tools::viewer::bdd::Port *p); |
---|
| 41 | QList<Port> *getPort(); |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | };//end class ListePorts |
---|
| 45 | |
---|
| 46 | };//end bdd |
---|
| 47 | };//end viewer |
---|
| 48 | };//end tools |
---|
| 49 | };//end morpheo |
---|
| 50 | |
---|
| 51 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.