source: trunk/yao/templates/Project$PName.hpp @ 540

Last change on this file since 540 was 540, checked in by grlod, 13 years ago

Adding templates for version 9.2 (#15 & #16)

File size: 683 bytes
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
9using namespace yaoProject;
10
11namespace $pname
12{
13
14class Project$PName: public Project
15{
16  void initialize();
17  void mappingStructure();
18};
19
20
21void Project$PName::initialize()
22{
23  activeModel = new Model;
24  Trajectory *t;
25$LoopCreateTraj
26
27}
28
29void 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.