00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef _SUBSYSTEMS_ALLOCATOR_H_
00021 #define _SUBSYSTEMS_ALLOCATOR_H_
00022
00023 #include "ISubsystemsAllocator.h"
00024 #include "IThreadCallable.h"
00025 #include "Scene.h"
00026
00027 namespace TaskBasedFlockSim
00028 {
00029
00030 class SubsystemsAllocator :
00031 public TestFrameWork::ISubsystemsAllocator
00032 {
00033 public:
00034 SubsystemsAllocator(void);
00035
00036 ~SubsystemsAllocator(void);
00037
00038 TestFrameWork::IRenderCallablePtr AllocateRender(TestFrameWork::ScenePtr scene, HDC canvasContext, size_t width, size_t height) const;
00039
00040 TestFrameWork::ILogicCallablePtr AllocateLogic(TestFrameWork::ScenePtr scene) const;
00041
00042 TestFrameWork::ScenePtr AllocateScene(void) const;
00043
00044 TestFrameWork::ITabVector AllocateSettingsTabs(TestFrameWork::UserEventQueue& eventQueue) const;
00045 };
00046
00047 }
00048
00049 #endif