source: pacpussensors/trunk/StdDbtPlayerComponents/DbtPlySickLDMRSManager.h@ 67

Last change on this file since 67 was 50, checked in by phudelai, 10 years ago

Flea3Component: Shared memory changed for stereovision
StereoVisionDisparity: Added for the PFE of Pierre

File size: 1.5 KB
Line 
1// *********************************************************************
2// created: 2014-02-11 - 16:51
3// filename: DbtPlySickLDMRSManager.h
4//
5// author: Cyril Fougeray
6// Copyright Heudiasyc UMR UTC/CNRS 6599
7//
8// version: $Id: $
9//
10// purpose:
11// *********************************************************************
12
13#ifndef DBTPLYSICKLDMRSMANAGER_H
14#define DBTPLYSICKLDMRSMANAGER_H
15
16#include <fstream>
17
18#include "Pacpus/DbitePlayer/DbtPlyFileManager.h"
19#include "../Sick/SickLDMRSData.h"
20
21// Export macro for DbtPlySick DLL for Windows only
22#ifdef WIN32
23# ifdef DBTPLYSICK_EXPORTS
24 // make DLL
25# define DBTPLYSICK_API __declspec(dllexport)
26# else
27 // use DLL
28# define DBTPLYSICK_API __declspec(dllimport)
29# endif
30#else
31 // On other platforms, simply ignore this
32# define DBTPLYSICK_API
33#endif
34
35namespace pacpus {
36
37class ShMem;
38
39class DBTPLYSICK_API DbtPlySickLDMRSManager
40 : public DbtPlyFileManager
41{
42public:
43 DbtPlySickLDMRSManager(QString name);
44 ~DbtPlySickLDMRSManager();
45
46protected:
47 void processData(road_time_t t, road_timerange_t tr, void * buffer);
48 void displayUI();
49
50 virtual ComponentBase::COMPONENT_CONFIGURATION configureComponent(XmlComponentConfig config);
51 virtual void startActivity();
52 virtual void stopActivity();
53
54private:
55 // ShMem * mShMem;
56 SickLDMRS_dbt mSickDbt;
57
58 std::ifstream mDataFile;
59 QString mDataFilename;
60
61 QStringList mDataFilenameList;
62};
63
64} // namespace pacpus
65
66#endif
Note: See TracBrowser for help on using the repository browser.