VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
additionalDataRecord.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: additionalDataRecord.h,v $ $Revision: 1.2 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef additionalDataRecord_h
13 #define additionalDataRecord_h
14 
17 
18 // This is a terrain metafile record that specifies some type of additional
19 // data. Subclasses of this type can hold any additional data necessary.
20 // This class contains an includeInMtd function that must be implemented by
21 // the subclasses.
23 {
24 
25 public:
26 
29 
31  virtual ~DtAdditionalDataRecord();
32 
35 
38 
39  // The return value of this method determines whether this record will
40  // be included in the .mtd file created by the TDB Tool.
41  // Typically this will be true when this data is an output of the TDB
42  // tool and necessary to be read in with the generated terrain into the
43  // simulation applications. False when this is treated as an input
44  // to generating a terrain.
45  virtual bool includeInMtd() const = 0;
46 
47  // \return DtConfigAdditionalDataType
48  virtual DtConfigCategoryType recordCategory() const;
49 };
50 
51 #endif
52 
DtConfigCategoryType
Definition: terrainDefines.h:19
Definition: additionalDataRecord.h:22
virtual DtConfigCategoryType recordCategory() const =0
Each record should have a category of configuration they represent. I.e does this record configure te...
#define DT_DLL_terrainDbFactory
Definition: terrainDbFactoryDefines.h:23
Definition: metafileRecord.h:28
DtMetafileRecord & operator=(const DtMetafileRecord &orig)
assignment operator

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)