15 #ifndef MOTIVE_ENGINE_H_
16 #define MOTIVE_ENGINE_H_
21 #include "motive/common.h"
22 #include "motive/processor.h"
37 struct ProcessorDetails {
39 bool operator<(
const ProcessorDetails& rhs)
const {
40 return processor->Priority() < rhs.processor->Priority();
43 typedef std::map<MotivatorType, MotiveProcessor*> ProcessorMap;
44 typedef std::pair<MotivatorType, MotiveProcessor*> ProcessorPair;
45 typedef std::multiset<ProcessorDetails> ProcessorSet;
46 typedef std::map<MotivatorType, MotiveProcessorFunctions> FunctionMap;
47 typedef std::pair<MotivatorType, MotiveProcessorFunctions> FunctionPair;
69 static void RegisterProcessorFactory(MotivatorType type,
76 ProcessorMap mapped_processors_;
81 ProcessorSet sorted_processors_;
88 static FunctionMap function_map_;
93 #endif // MOTIVE_ENGINE_H_
Current version information for the Motive animation system.
Definition: version.h:25
void AdvanceFrame(MotiveTime delta_time)
A MotiveProcessor processes all instances of one type of Motivator.
Definition: processor.h:58
Definition: processor.h:434
Hold and update all animation data.
Definition: engine.h:36