VR-Forces 5.0.1 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 
27 {
28 
29 public:
30 
33 
36  DtSetTargetRequest(const DtString & writeName,
37  DtReaderWriterRegistry * parentRegistry = 0);
38 
40  DtSetTargetRequest(const DtString & writeName, const DtSetTargetRequest &
41  orig, DtReaderWriterRegistry * parentRegistry = 0);
42 
44  const DtSetTargetRequest & operator=(const DtSetTargetRequest & orig);
45 
46  virtual ~DtSetTargetRequest();
47 
49  virtual const DtSetMessageType& type() const;
50 
52  virtual DtSetDataRequest * clone(const DtString & name,
53  DtReaderWriterRegistry * parentRegistry = 0) const;
54 
56  virtual DtString stringRep() const;
57 
59 
60  virtual const DtUUID & target() const;
61  virtual void setTarget(const DtUUID & target);
63 
66  virtual int netRepSize() const;
67 
69  virtual bool setFromNet(const char* contentBuffer,
70  unsigned contentSize);
71 
74  virtual bool setToNet();
75 
76  static DtSetDataRequest * creator();
77 
78 protected:
79 
81 
82 };
83 
84 
UUID is a unique ID wrapper class.
Definition: rwUUID.h:226
virtual bool setToNet()
Sets netRep buffer to the contents of this set request. Base class does nothing and returns true...
DtSetTargetRequest.
Definition: setTargetRequest.h:26
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:428
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:80

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)