root/applications/doprava/aimsun_bdm/aimsun_fake.h @ 1279

Revision 903, 0.6 kB (checked in by smidl, 15 years ago)

UI build for AimsunDS

Line 
1/*!
2  \file
3  \brief DataSource for experiments with Aimsun
4  \author Jan Prikryl.
5
6*/
7#include <base/loggers.h>
8
9/* WIN32 stuff removed */
10using namespace bdm;
11
12
13//! Simulator of traffic - AIMSUN
14class AimsunDS : public DS
15{
16
17public:
18    //! Constructor with fixed sampling period
19    AimsunDS ();
20
21    //! Get measurements and signal plans from ELS3 controllers
22    void getdata ( vec &dt ) const;
23
24    //! Write new signal plans to ELS3
25    void write ( vec &ut );
26
27    //! Wait for new data and copy them out to local buffers
28    void step();
29
30        //! number of steps
31        int max_length() {return 960;}
32};
33UIREGISTER(AimsunDS);
Note: See TracBrowser for help on using the browser.