VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setTargetRequest.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 #pragma once
11 
12 
14 #include <readerWriter/rwString.h>
15 #include <vlutil/vlNetTypes.h>
17 #include "vrfutil/rwUUID.h"
18 
26 {
27 
28 public:
29 
32 
35  DtSetTargetRequest(const DtString & writeName,
36  DtReaderWriterRegistry * parentRegistry = 0);
37 
39  DtSetTargetRequest(const DtString & writeName, const DtSetTargetRequest &
40  orig, DtReaderWriterRegistry * parentRegistry = 0);
41 
43  const DtSetTargetRequest & operator=(const DtSetTargetRequest & orig);
44 
45  virtual ~DtSetTargetRequest() override;
46 
48  virtual const DtSetMessageType& type() const override;
49 
51  virtual DtSetDataRequest * clone(const DtString& name, DtReaderWriterRegistry* parentRegistry = 0) const override;
52 
54  virtual DtString stringRep() const override;
55 
57 
58  virtual const DtUUID & target() const;
59  virtual void setTarget(const DtUUID & target);
61 
64  virtual int netRepSize() const override;
65 
67  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
68 
71  virtual bool setToNet() override;
72 
73  static DtSetDataRequest * creator();
74 
75 protected:
76 
78 
79 };
80 
81 
UUID is a unique ID wrapper class.
Definition: uuid.h:59
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
DtSetTargetRequest.
Definition: setTargetRequest.h:25
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
virtual int netRepSize() const
Description: Readable, Writable uuid string. Use this class in order to convert from object marking t...
Definition: rwUUID.h:25
DtSetDataRequest is an abstract base class from which real setDataRequests can derive. It manages the read/write capability; derived classes need only use and register read/writatble data types for derived information.
Definition: setDataRequest.h:41
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h). Returns a string representing the kind of d...
virtual DtSetDataRequest * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this request. Returns a pointer to a newly created copy of this data 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. Base class does nothing and return...
#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. Returns a human readable string represen...
DtRwUUID myTarget
Definition: setTargetRequest.h:77

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)