Last change
on this file since 32 was
26,
checked in by chou, 17 years ago
|
Release 3 du viewer:
Etape 1 et 2 du projet complet et à jour.
|
File size:
603 bytes
|
Rev | Line | |
---|
[20] | 1 | /* |
---|
| 2 | * |
---|
| 3 | * [desc.] |
---|
| 4 | */ |
---|
| 5 | #include "Tools/Viewer/Bdd/include/Component.h" |
---|
| 6 | |
---|
| 7 | namespace morpheo{ |
---|
| 8 | namespace tools{ |
---|
| 9 | namespace viewer{ |
---|
| 10 | namespace bdd{ |
---|
| 11 | void Component::setComment(string s){ |
---|
| 12 | comment=s; |
---|
| 13 | } |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | string Component::getComment(){ return comment;} |
---|
| 17 | string Component::getName(){ return name;} |
---|
[26] | 18 | string Component::getType(){ return type;} |
---|
[20] | 19 | int Component::get_x(){return pos_x+size_x;} |
---|
| 20 | int Component::get_y(){return pos_y+size_y;} |
---|
| 21 | |
---|
| 22 | |
---|
| 23 | QList<morpheo::tools::viewer::bdd::PortMap> *Component::getPortMap() |
---|
| 24 | { |
---|
| 25 | return signal; |
---|
| 26 | } |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | };//end bdd |
---|
| 30 | };//end viewer |
---|
| 31 | };//end tools |
---|
| 32 | };//end morpheo |
---|
Note: See
TracBrowser
for help on using the repository browser.