40 #ifndef _inputsequencecontainer_cpp
41 #define _inputsequencecontainer_cpp
43 #include "Input/sequencecontainer.h"
55 DeviceIndex(
std::numeric_limits<
UInt32>::max()),
82 if( Codes.size() < 3 ) {
84 "A sequence with only one(or less) actual MetaCode isn't a sequence.");
86 if( NullCode != Codes.back() )
92 if( std::numeric_limits<Int32>::max() == ID )
108 Ret.
SetCode(Input::COMPOUNDINPUT_CUSTOMSEQUENCE);
138 else return std::numeric_limits<Int32>::max();
184 TestVec.push_back( (*MCIt) );
185 TestVec.push_back(NullMetaCode);
199 "Don't know how that happened, but if you see this error then the class needs a patch.");
203 if( NullMetaCode != New )
204 SequenceCodes.push_back(New);
int32_t Int32
An 32-bit integer.
bool Boole
Generally acts a single bit, true or false.
Boole IsStopped()
Gets whether or not this Timer is currently running.
#define MEZZ_EXCEPTION(num, desc)
An easy way to throw exceptions with rich information.
Input::MetaCode::MetaCodeIterator MetaCodeIterator
Iterator type for convenient MetaCode storage.
This implements the exception hiearchy for Mezzanine.
uint32_t UInt32
An 32-bit unsigned integer.
void Start()
Activates the Timer.
void SetCountMode(const Mezzanine::CountMode Mode)
Sets the mode the timer should use to increment time.
void SetCurrentTimeInMilliseconds(const Whole Current)
Sets the current time in Milliseconds. The time that resetting sets the Timer to. ...
Thrown when the available information should have worked but failed for unknown reasons.
void Reset(const Whole StartTime=0)
Sets the current time to an initial value and stops the Timer if it is running.
Thrown when parameters are checked at runtime and found invalid.
Input::MetaCode::ConstMetaCodeIterator ConstMetaCodeIterator
Const Iterator type for convenient MetaCode storage.
Input::MetaCode::MetaCodeContainer MetaCodeContainer
Convenience datatype for storage of MetaCodes.
The timer counts down, meaning the Timer current time is showing remaining time.
A basic timer class to assist in timed operations.
The bulk of the engine components go in this namspace.