VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
commModelDescriptor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: commModelDescriptor.h,v $ $Revision: 1.3 $ $State: Exp $
7 *******************************************************************************/
8 
11 
13 
14 #ifndef commModelDescriptor_h
15 #define commModelDescriptor_h
16 
18 
19 #include "vrfutil/readerWriter.h"
20 #include "vrfutil/rwString.h"
21 #include "vrfutil/rwReal.h"
22 #include "vrfutil/rwBoolean.h"
24 #include "tdbutil/stringKeyFactory.h"
25 
27 
29 typedef DtStringKeyFactory<DtCommModelDescriptor> DtCommModelDescriptorFactory;
30 
32 class DtFilename;
33 
38 {
39 public:
41  DtCommModelDescriptor(const DtString& name,
42  DtReaderWriterRegistry* parentRegistry = NULL);
43 
44  DtCommModelDescriptor(const DtSymbolString& name,
45  DtReaderWriterRegistry* parentRegistry = NULL);
46 
49  DtReaderWriterRegistry* parentRegistry = NULL);
50 
53  const DtCommModelDescriptor& orig);
54 
55  virtual ~DtCommModelDescriptor();
56 
59  virtual DtString type() const;
60 
61  virtual DtCommModelDescriptor* clone(
62  DtReaderWriterRegistry* parentRegistry = NULL) const;
63 
65 
66  virtual void setCommModelType(const DtString& typeString);
67  virtual DtString commModelType() const;
69 
71 
72  virtual bool publishTransmitters() const;
73  virtual void setPublishTransmitters(bool value);
75 
77  virtual void putData(FILE* fp, int indentLevel = 0);
78 
81  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
82  const DtVariableBindingsList& variableBindings);
83 
87  virtual bool init();
88 
92  static void setFactory(DtCommModelDescriptorFactory* factory);
93 
95 
96  static DtCommModelDescriptor* createCommModelDescriptor(
97  DtlObjPtr mtlStream, const DtReaderWriter::SearchPaths& searchPaths,
98  const DtVariableBindingsList& variableBindings);
99 
100  static DtCommModelDescriptor* createCommModelDescriptor(
101  const char* typeString);
103 
105  static DtCommModelDescriptor* creator();
106 
107 private:
110 
111 protected:
114 
115 
116 
117 
120 
128 
130 };
131 
132 #endif

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)