Changeset 181 in pacpusframework for trunk/src/DBITEPlayerLib/DbtPlyEngine.cpp
- Timestamp:
- Oct 21, 2013, 1:30:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/DBITEPlayerLib/DbtPlyEngine.cpp
r179 r181 27 27 static const SpeedType kMinSpeed = 1.0 / 32; 28 28 static const SpeedType kMaxSpeed = 32; 29 30 static const PlayMode kDefaultPlayMode = PlayModeLastData; 29 31 30 32 //////////////////////////////////////////////////////////////////////////////// … … 49 51 addParameters() 50 52 ("datadir", po::value<string>(&mDataDir)->required(), "set root data directory") 51 ("replay_mode", po::value< int>(&reinterpret_cast<int&>(replayMode_))->default_value(PlayModeLastData), "set data replay mode")53 ("replay_mode", po::value<unsigned>(&reinterpret_cast<unsigned&>(replayMode_))->default_value(kDefaultPlayMode), "set data replay mode") 52 54 ("log-config-file", po::value<string>(&mLoggerConfigFile), "set logger configuration file path") 53 55 ;
Note:
See TracChangeset
for help on using the changeset viewer.