Changeset 181 in pacpusframework for trunk/src/DBITEPlayerLib/DbtPlyEngine.cpp


Ignore:
Timestamp:
Oct 21, 2013, 1:30:41 PM (11 years ago)
Author:
Marek Kurdej
Message:

Minor fixes. Clean-up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/DBITEPlayerLib/DbtPlyEngine.cpp

    r179 r181  
    2727static const SpeedType kMinSpeed = 1.0 / 32;
    2828static const SpeedType kMaxSpeed = 32;
     29
     30static const PlayMode kDefaultPlayMode = PlayModeLastData;
    2931
    3032////////////////////////////////////////////////////////////////////////////////
     
    4951    addParameters()
    5052        ("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")
    5254        ("log-config-file", po::value<string>(&mLoggerConfigFile), "set logger configuration file path")
    5355    ;
Note: See TracChangeset for help on using the changeset viewer.