VR-Forces 4.0.4 Class Documentation
include/vrvVrl/DtEntityAppearanceMapperFactory.h
Go to the documentation of this file.
00001 /******************************************************************************
00002 ** Copyright (c) 2008 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 ******************************************************************************/
00005 /******************************************************************************
00006 ** $RCSfile: DtEntityAppearanceMapperFactory.h,v $ $Revision: 1.7 $ $State: Exp $
00007 ******************************************************************************/
00008 
00012 
00013 #pragma once
00014 
00015 #include <vrvVrl/vrvVrl.h>
00016 #include <vrvUtil/DtVirtualBaseClass.h>
00017 
00018 class DtEntityType;
00019 
00020 namespace makVrv
00021 {
00022    class DtEntityAppearanceMapper;
00023    class DtDe;
00024 
00027    class DT_DLL_VRVVRL DtEntityAppearanceMapperFactory
00028    {
00029    public:
00030 
00032       friend class DtEntityAppearanceMapperFactoryCreator;
00033 
00035       virtual ~DtEntityAppearanceMapperFactory();
00036 
00038       DtEntityAppearanceMapper* createMapper(const DtEntityType& type);
00039 
00040    protected:
00041 
00043       DtEntityAppearanceMapperFactory();
00044 
00046       virtual DtEntityAppearanceMapper* createPlatformMapper(const DtEntityType& type);
00047 
00049       virtual DtEntityAppearanceMapper* createMunitionMapper(const DtEntityType& type);
00050 
00052       virtual DtEntityAppearanceMapper* createLifeFormMapper(const DtEntityType& type);
00053 
00055       virtual DtEntityAppearanceMapper* createEnvironmentalMapper(const DtEntityType& type);
00056 
00058       virtual DtEntityAppearanceMapper* createCulturalMapper(const DtEntityType& type);
00059 
00061       virtual DtEntityAppearanceMapper* createSensorMapper(const DtEntityType& type);
00062    };
00063 
00066    class DT_DLL_VRVVRL DtEntityAppearanceMapperFactoryCreator : public DtVirtualBaseClass
00067    {
00068    public:
00069 
00071       static const DtEntityAppearanceMapperFactoryCreator& instance(DtDe& de);
00072 
00074       virtual ~DtEntityAppearanceMapperFactoryCreator();
00075 
00077       virtual DtEntityAppearanceMapperFactory* create() const;
00078 
00079    protected:
00081       DtEntityAppearanceMapperFactoryCreator();
00082    };
00083 }
00084 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)