Changeset 67 in pacpusframework for trunk/include/Pacpus/DbitePlayer
- Timestamp:
- Jan 9, 2013, 7:17:44 PM (12 years ago)
- Location:
- trunk/include/Pacpus/DbitePlayer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/DbitePlayer/DbtPlyEngine.h
r66 r67 16 16 #define DEF_PACPUS_DBTPLYENGINE_H 17 17 18 #include <QSemaphore>19 20 18 #include <Pacpus/kernel/ComponentBase.h> 21 19 #include <Pacpus/kernel/ComponentFactory.h> … … 24 22 #include <Pacpus/DbitePlayer/DbtPlyUserInterface.h> 25 23 24 #include <QSemaphore> 25 #include <QThread> 26 26 27 namespace pacpus { 27 28 … … 29 30 class DbtPlyEngineState; 30 31 32 /// @todo Documentation 31 33 enum PlayMode 32 34 { 33 PlayModeLastData = 1, // replay_mode="1"34 PlayModeAllData = 2 // replay_mode="2"35 PlayModeLastData = 1, ///< replay_mode="1" 36 PlayModeAllData = 2 ///< replay_mode="2" 35 37 }; 36 38 … … 61 63 } 62 64 63 /// @returns true if the player is playing65 /// @returns @b true if the player is playing, @b false otherwise 64 66 bool isPlaying(); 65 67 /// Accessor to playmode … … 69 71 } 70 72 73 /// @todo Documentation 71 74 const DbtPlyEngineState * getState(); 75 /// @todo Documentation 72 76 void setState(DbtPlyEngineState * newState); 73 77 -
trunk/include/Pacpus/DbitePlayer/DbtPlyFileManager.h
r66 r67 23 23 #define DEF_PACPUS_DBTPLYFILEMANAGER_H 24 24 25 #include <QThread>26 27 25 #include <Pacpus/DbitePlayer/DbitePlayerConfig.h> 28 26 #include <Pacpus/DbitePlayer/DbtPlyEngine.h> … … 30 28 #include <Pacpus/kernel/ComponentBase.h> 31 29 #include <Pacpus/kernel/DbiteFile.h> 30 31 #include <QThread> 32 32 33 33 class QSemaphore; … … 66 66 /// virtual method: call when new DBT data are replayed 67 67 virtual void processData(road_time_t time, road_timerange_t timeRange, void * data) = 0; 68 /// @todo Documentation 68 69 virtual void displayUI(); 69 70 … … 98 99 /// the absolute path of the DBT file 99 100 QString dbtProperty_; 101 /// @todo Documentation 100 102 QStringList mDbtFilenameList; 101 103 … … 109 111 struct dbtStruct 110 112 { 113 /// Data buffer 111 114 char * buffer; 115 /// Acquisition time 112 116 road_time_t t; 117 /// Acquisition timerange 113 118 road_timerange_t tr; 114 119 }; … … 117 122 struct dbtStructFile 118 123 { 119 // the DBT file descriptor124 /// the DBT file descriptor 120 125 pacpus::DbiteFile * pfile; 121 // the buffer where the data are stored after the reading and the associated time, timerange and file descriptor126 /// the buffer where the data are stored after the reading and the associated time, timerange and file descriptor 122 127 dbtStruct cur; 123 // the previous DBT data, these ones that must be processed128 /// the previous DBT data, these ones that must be processed 124 129 dbtStruct toProcess; 125 130 }; 126 131 132 /// @todo Documentation 127 133 QList<dbtStructFile> dbt_; 134 /// @todo Documentation 128 135 int dbtIndex_; 129 136
Note:
See TracChangeset
for help on using the changeset viewer.