Line | |
---|
1 | // Generated by Yao |
---|
2 | |
---|
3 | #ifndef YAOPROJECT_$PNAME_PROJECT_HPP_INCLUDED |
---|
4 | #define YAOPROJECT_$PNAME_PROJECT_HPP_INCLUDED |
---|
5 | |
---|
6 | #include "Project.hpp" |
---|
7 | #include "Model.hpp" |
---|
8 | $LoopIncludeTraj |
---|
9 | using namespace yaoProject; |
---|
10 | |
---|
11 | namespace $pname |
---|
12 | { |
---|
13 | |
---|
14 | class Project$PName: public Project |
---|
15 | { |
---|
16 | void initialize(); |
---|
17 | void mappingStructure(); |
---|
18 | }; |
---|
19 | |
---|
20 | |
---|
21 | void Project$PName::initialize() |
---|
22 | { |
---|
23 | activeModel = new Model; |
---|
24 | Trajectory *t; |
---|
25 | $LoopCreateTraj |
---|
26 | |
---|
27 | } |
---|
28 | |
---|
29 | void Project$PName::mappingStructure() |
---|
30 | { |
---|
31 | /// TMP |
---|
32 | for (unsigned int i = 0; i<activeModel->trajectories.size(); ++i) |
---|
33 | { |
---|
34 | activeModel->trajectories[i]->YRobs = YTabTraj[i].YRobs; |
---|
35 | activeModel->trajectories[i]->TRobs = YTabTraj[i].TRobs; |
---|
36 | } |
---|
37 | |
---|
38 | } |
---|
39 | |
---|
40 | |
---|
41 | |
---|
42 | } |
---|
43 | |
---|
44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.