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

Last change on this file since 313 was 286, checked in by Sanahuja Guillaume, 5 years ago

draw vrpn axis in simulator

File size: 1.2 KB
RevLine 
[10]1// %flair:license{
[15]2// This file is part of the Flair framework distributed under the
3// CECILL-C License, Version 1.0.
[10]4// %flair:license}
[8]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
[15]23namespace flair {
24namespace simulator {
25class Simulator;
26class Model;
27class GenericObject;
[8]28}
[15]29}
[8]30
[158]31class Model_impl;
32
[15]33class Simulator_impl : public vrpn_Connection_IP, private flair::core::Thread {
[158]34 friend class ::Model_impl;
[15]35 friend class flair::simulator::GenericObject;
[8]36
[15]37public:
38 Simulator_impl(flair::simulator::Simulator *self, int optitrack_mstime = 10,
[286]39 float yaw_deg = 30, int port=3883);
[15]40 ~Simulator_impl();
[8]41
[15]42 void RunSimu(void);
43 float yaw_rad;
[8]44
[15]45private:
46 void Run(void);
47 flair::simulator::Simulator *self;
48 std::vector<flair::simulator::Model *> models;
49 std::vector<flair::simulator::GenericObject *> objects;
50 int optitrack_mstime;
[8]51};
52
53#endif // SIMULATOR_IMPL_H
Note: See TracBrowser for help on using the repository browser.