VR-Forces 4.0.4 Class Documentation
include/vrfutil/munRsrc.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 1999-2000 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: munRsrc.h,v $ $Revision: 1.9 $ $State: Exp $
00007 *******************************************************************************/
00008 
00012 
00015 
00016 #ifndef munRsrc_H_
00017 #define munRsrc_H_
00018 
00019 #include <vlutil/vlMachineTypes.h>
00020 #include "vrfutil/intRsrc.h"
00021 #include "vrfutil/simMunition.h"
00022 
00023 #include "vrfutil/vrfutilDefines.h"
00024 class DT_DLL_vrfutil DtMunitionResource : public DtIntegerResource
00025 {
00026 
00027 public:
00028 
00030    DtMunitionResource();
00031 
00036    DtMunitionResource(const DtString& resourceName, DtReaderWriterRegistry* 
00037       parentRegistry = 0);
00038 
00040    DtMunitionResource(const DtMunitionResource& orig, DtReaderWriterRegistry* 
00041       parentRegistry = 0);
00042 
00043 protected:
00045    DtMunitionResource& operator=(const DtMunitionResource& orig);
00046 
00047 public:
00049    virtual ~DtMunitionResource();
00050 
00052    virtual DtSimResource * clone(DtReaderWriterRegistry* parentRegistry = 0) 
00053       const;
00054 
00056    virtual DtString type() const;
00057 
00058    virtual const DtSimMunition & munitionType() const;
00059    virtual void setMunitionType(const DtSimMunition & munitionType);
00060 
00061    static DtSimResource * creator();
00062 
00066    virtual const char* readerWriterType() const;
00067 
00068 protected:
00069 
00070    DtSimMunition myMunitionType;
00071 
00072 };
00073 
00074 #endif

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)