VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
targetPriorityEntry.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
14 #include "vrfutil/rwEntityType.h"
15 #include <readerWriter/rwInt.h>
16 
22 {
23 public:
26 
29  parentRegistry = 0);
30 
33  orig, DtReaderWriterRegistry * parentRegistry = 0);
34 
37 
38  virtual ~DtTargetPriorityEntry() override;
39 
40  virtual DtTargetPriorityEntry * clone(const DtString & name,
41  DtReaderWriterRegistry * parentRegistry = 0) const;
42 
45  virtual void setEntityType(const DtEntityType& entityType);
46  virtual const DtRwEntityType& entityType() const;
48 
51  virtual void setPriority(int priority);
52  virtual int priority() const;
54 
55  bool operator==(const DtTargetPriorityEntry&) const;
56 
60  virtual const char* readerWriterType() const override;
61 
63  static const char* theXmlType();
64 
65  virtual const char* xmlType() const override {
66  return theXmlType();
67  }
68 
69 protected:
73 
79 
85 
87 };
bool operator==(const DtReaderWriter &) const
Equivalence operator.
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...
#define DT_DLL_vrfobjparam
This file is used to determine how to build.
Definition: vrfobjparamDefines.h:28
Definition: readerWriter.h:85
DtRwInt myPriority
Parameter Name: priority Parameter Description: The priority assigned to this entity type when creati...
Definition: targetPriorityEntry.h:84
Definition: readerWriterRegistry.h:39
DtRwEntityType myEntityType
Parameter Name: entity-type Parameter Description: DIS/RPR enumerated entity type associated with pri...
Definition: targetPriorityEntry.h:78
Description: Readable, Writable int.
Definition: rwInt.h:25
File: rwEntType.h.
Definition: rwEntityType.h:26
const DtReaderWriter & operator=(const DtReaderWriter &orig)
assignment operator
virtual const char * xmlType() const override
Definition: targetPriorityEntry.h:65
static const char * theXmlType()
The type that is used when archiving to an XML stream.
DtTargetPriorityEntry; readable/writeable representation of a prioritized entity type.
Definition: targetPriorityEntry.h:21

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)