source: flair-src/trunk/lib/FlairSimulator/src/unexported/Simulator_impl.h@ 137

Last change on this file since 137 was 15, checked in by Bayard Gildas, 8 years ago

sources reformatted with flair-format-dir script

File size: 1.2 KB
Line 
1// %flair:license{
2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
4// %flair:license}
5// created: 2013/03/25
6// filename: Simulator_impl.h
7//
8// author: Guillaume Sanahuja
9// Copyright Heudiasyc UMR UTC/CNRS 7253
10//
11// version: $Id: $
12//
13// purpose: classe de base du simulateur
14//
15/*********************************************************************/
16
17#ifndef SIMULATOR_IMPL_H
18#define SIMULATOR_IMPL_H
19
20#include <vrpn_Connection.h>
21#include <Thread.h>
22
23namespace flair {
24namespace simulator {
25class Simulator;
26class Model;
27class GenericObject;
28}
29}
30
31class Simulator_impl : public vrpn_Connection_IP, private flair::core::Thread {
32 friend class flair::simulator::Model;
33 friend class flair::simulator::GenericObject;
34
35public:
36 Simulator_impl(flair::simulator::Simulator *self, int optitrack_mstime = 10,
37 float yaw_deg = 30);
38 ~Simulator_impl();
39
40 void RunSimu(void);
41 float yaw_rad;
42
43private:
44 void Run(void);
45 flair::simulator::Simulator *self;
46 std::vector<flair::simulator::Model *> models;
47 std::vector<flair::simulator::GenericObject *> objects;
48 int optitrack_mstime;
49};
50
51#endif // SIMULATOR_IMPL_H
Note: See TracBrowser for help on using the repository browser.