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() override;
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, const DtReaderWriter::SearchPaths& searchPaths,
48  const DtVariableBindingsList& variableBindings) override;
49 
50 protected:
53  virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
54  const DtVariableBindingsList& variableBindings) override;
55 
59  virtual void reindexModes();
60 
63  void removeAndDeleteModes();
64 
68  void copyListItemsFrom(const DtActiveSonarModeList& sourceList);
69 
70 protected:
74  virtual const char* readerWriterType() const override;
75 };
virtual DtlObjPtr getData(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override=0
This method must be overridden by a subclass. Within this method, new instances of the DtReaderWriter...
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
Definition: readerWriterRegistry.h:39
std::list< const DtRwVariableBindings * > DtVariableBindingsList
Definition: readerWriterRegistry.h:29
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths=SearchPaths(), const DtVariableBindingsList &variableBindings=nullVariableReference()) override
Top level to read itself from an input stream. searchPath is passed down to all DtReaderWriter member...
std::vector< DtFilename > SearchPaths
Definition: readerWriter.h:92
DtActiveSonarModeList; Readable/writeable container for DtActiveSonarModeEntry* items.
Definition: activeSonarModeList.h:21
virtual const char * readerWriterType() const override
Used to supply a string type that this reader writer type is. This can be used in place of dynamic-ca...
const DtRwList & operator=(const DtRwList &orig)
Calls down to DtReaderWriter::operator=(). List elements are not copied.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)