![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2008 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtPropAdder.h,v $ $Revision: 1.12 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 00015 #include <vrvCore/vrvCore.h> 00016 #include <string> 00017 00018 namespace makArchives 00019 { 00020 class DtAddPropsRuleRecord; 00021 } 00022 00023 namespace makVrv 00024 { 00025 class DtDe; 00026 class DtAgentManagerInterface; 00027 class DtTerrainLayer; 00028 00032 class DT_DLL_VRVCORE DtPropAdder 00033 { 00034 public: 00035 00037 DtPropAdder(DtDe& de,DtAgentManagerInterface& agentManagerInterface); 00038 00040 virtual ~DtPropAdder(); 00041 00044 virtual void addProps(const makArchives::DtAddPropsRuleRecord& rule, 00045 DtTerrainLayer* terrainLayer) = 0; 00046 00047 protected: 00048 00049 DtDe& myDe; 00050 DtAgentManagerInterface& myAgentInterface; 00051 00052 }; 00053 00056 class DT_DLL_VRVCORE DtPropAdderCreator 00057 { 00058 public: 00059 00060 virtual ~DtPropAdderCreator(); 00061 virtual DtPropAdder* create( const std::string& filename, 00062 DtAgentManagerInterface&) = 0; 00063 }; 00064 }