VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setDesignatorRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 
19 #include <readerWriter/rwInt.h>
20 #include <vlpi/netStructs.h>
21 
25 {
26  DtNetU16 myDesignator;
27 };
28 
36 {
37 
38 public:
39 
42 
45  DtSetDesignatorRequest(const DtString & writeName,
46  DtReaderWriterRegistry * parentRegistry = 0);
47 
49  DtSetDesignatorRequest(const DtString & writeName, const DtSetDesignatorRequest &
50  orig, DtReaderWriterRegistry * parentRegistry = 0);
51 
54 
55  virtual ~DtSetDesignatorRequest();
56 
58  virtual const DtSetMessageType& type() const;
59 
61  virtual DtSetDataRequest * clone(const DtString & name,
62  DtReaderWriterRegistry * parentRegistry = 0) const;
63 
65  virtual DtString stringRep() const;
66 
68  virtual int designator() const;
69  virtual void setDesignator(int designator);
70 
73  virtual int netRepSize() const;
74 
76  virtual bool setFromNet(const char* contentBuffer,
77  unsigned contentSize);
78 
81  virtual bool setToNet();
82 
83  static DtSetDataRequest * creator();
84 
85 protected:
86 
88 
89 };
90 
virtual bool setToNet()
Sets netRep buffer to the contents of this set request.
DtNetU16 myDesignator
Definition: setDesignatorRequest.h:26
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
DtSetDataRequest is an abstract base class from which real setDataRequests can derive.
Definition: setDataRequest.h:40
DtRwInt myDesignator
Definition: setDesignatorRequest.h:87
DtSetDesignatorRequest is used to set the designator for an entity.
Definition: setDesignatorRequest.h:35
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.
File: setDesig.h.
Definition: setDesignatorRequest.h:24

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)