VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
activeSonarModeList.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
7 
10 
11 #pragma once
12 
13 #include <readerWriter/rwList.h>
15 
20 
22 {
23 public:
25  DtActiveSonarModeList(const DtString& writeName,
26  DtReaderWriterRegistry* parentRegistry = NULL);
27 
28  DtActiveSonarModeList(const DtSymbolString& writeName,
29  DtReaderWriterRegistry* parentRegistry = NULL);
30 
32  virtual ~DtActiveSonarModeList();
33 
35  DtActiveSonarModeList(const DtString& writeName,
36  const DtActiveSonarModeList& orig,
37  DtReaderWriterRegistry* parentRegistry = NULL);
38 
39  DtActiveSonarModeList(const DtSymbolString& writeName,
40  const DtActiveSonarModeList& orig,
41  DtReaderWriterRegistry* parentRegistry = NULL);
42 
45 
47  virtual void getSelf(DtlObjPtr args,
48  const DtReaderWriter::SearchPaths& searchPaths,
49  const DtVariableBindingsList& variableBindings);
50 
51 protected:
54  virtual DtlObjPtr getData(DtlObjPtr args,
55  const DtReaderWriter::SearchPaths& searchPaths,
56  const DtVariableBindingsList& variableBindings);
57 
61  virtual void reindexModes();
62 
65  void removeAndDeleteModes();
66 
70  void copyListItemsFrom(const DtActiveSonarModeList& sourceList);
71 
72 protected:
76  virtual const char* readerWriterType() const;
77 };
This class allows one to collect and compare strings using an index number instead of having to do st...
Definition: symbolString.h:27
A Readable, Writable version of DtList. This class cannot be used directly, but must be inherited to ...
Definition: rwList.h:26
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings)=0
This method must be overridden by a subclass. Within this method, new instances of the DtReaderWriter...
Definition: readerWriterRegistry.h:39
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
DtActiveSonarModeList; Readable/writeable container for DtActiveSonarModeEntry* items.
Definition: activeSonarModeList.h:21
const DtRwList & operator=(const DtRwList &orig)
Calls down to DtReaderWriter::operator=(). List elements are not copied.
virtual const char * readerWriterType() const
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference())
Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter member...

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)