VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setSkillLevel.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2019 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <readerWriter/rwInt.h>
13 #include <vlpi/netStructs.h>
14 
21 
23 {
27 };
28 
29 //SkillLevel DT_DLL_vrfutil DtSkillLevelStringToEnum(const DtString& skillLevelString);
31 
33 {
34 
35 public:
36 
39 
42  DtSetSkillLevelRequest(const DtString & writeName,
43  DtReaderWriterRegistry * parentRegistry = 0);
44 
46  DtSetSkillLevelRequest(const DtString & writeName, const DtSetSkillLevelRequest &
47  orig, DtReaderWriterRegistry * parentRegistry = 0);
48 
51 
52  virtual ~DtSetSkillLevelRequest();
53 
55  virtual const DtSetMessageType& type() const;
56 
58  virtual DtSetDataRequest * clone(const DtString & name,
59  DtReaderWriterRegistry * parentRegistry = 0) const;
60 
62  virtual DtString stringRep() const;
63 
64  virtual SkillLevel skillLevel() const;
65  virtual void setSkillLevel(SkillLevel level);
66 
69  virtual int netRepSize() const;
70 
72  virtual bool setFromNet(const char* contentBuffer,
73  unsigned contentSize);
74 
77  virtual bool setToNet();
78 
79  static DtSetDataRequest * creator();
80 
81 protected:
82 
84 };
85 #pragma once
virtual bool setToNet()
Sets netRep buffer to the contents of this set request.
Definition: setSkillLevel.h:32
Definition: setSkillLevel.h:26
Definition: setSkillLevel.h:24
DT_DLL_VRVCORE DtTaitBryan level(const DtCoordinateSystem &cs, const DtVector &localOrigin, double topoHeading)
Returns a level orientation with the topographic heading.
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
DtSetDataRequest is an abstract base class from which real setDataRequests can derive.
Definition: setDataRequest.h:40
Definition: setSkillLevel.h:25
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h).
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this request.
const DtSetDataRequest & operator=(const DtSetDataRequest &orig)
assignment operator; same as copy costructor.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets the contents of this set request based on the network buffer.
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
virtual DtString stringRep() const =0
Get a readable string representation of this setDataRequest.
DtRwInt mySkillLevel
Definition: setSkillLevel.h:83
DtString DT_DLL_vrftasks DtSkillLevelEnumToString(const SkillLevel &SkillLevelEnum)
SkillLevel
DtSetSkillLevelRequest is used to set a Skill level for an entity.
Definition: setSkillLevel.h:22

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)