00001 #ifndef VR_DVDEVICEMANAGER_H
00002 #define VR_DVDEVICEMANAGER_H
00003
00004 #include "DVVirtualDevicePool.h"
00005 #include "DRRealDevicePool.h"
00006 #include <iosfwd>
00007
00008 namespace Spr {
00009
00010 class SPR_DLL DVDeviceManager{
00011 DVVirtualDevicePool vpool;
00012 DRRealDevicePool rpool;
00013 public:
00014 DVVirtualDevicePool& VPool() { return vpool; }
00015 const DVVirtualDevicePool& VPool() const { return vpool; }
00016 DRRealDevicePool& RPool() { return rpool; }
00017 const DRRealDevicePool& RPool() const { return rpool; }
00018 void Init();
00019 void Clear();
00020 void Print(std::ostream& o) const;
00021 };
00022 inline std::ostream& operator << (std::ostream& o, const DVDeviceManager& m){
00023 m.Print(o);
00024 return o;
00025 }
00026
00027 }
00028
00029 #endif