VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
setSyncLaserCode.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
14 #include <readerWriter/rwString.h>
16 #include "vrfutil/rwUUID.h"
17 
23 {
24 public:
25 
28 
31  DtSetSyncLaserCode(const DtString & writeName,
32  DtReaderWriterRegistry * parentRegistry = 0);
33 
35  DtSetSyncLaserCode(const DtString& writeName, const DtSetSyncLaserCode&
36  orig, DtReaderWriterRegistry* parentRegistry = 0);
37 
39  const DtSetSyncLaserCode & operator=(const DtSetSyncLaserCode & orig);
40 
41  virtual ~DtSetSyncLaserCode();
42 
44  virtual const DtSetMessageType& type() const;
45 
47  virtual DtSetDataRequest * clone(const DtString & name,
48  DtReaderWriterRegistry * parentRegistry = 0) const;
49 
51  virtual DtString stringRep() const;
52 
55 
56  virtual const DtUUID& entity() const;
58 
60  virtual void setEntity(const DtUUID&);
62 
65  virtual int netRepSize() const;
66 
68  virtual DtBoolean setFromNet(const char* contentBuffer,
69  unsigned contentSize);
70 
73  virtual DtBoolean setToNet();
74 
75  static DtSetDataRequest * creator();
76 
77 protected:
79 };
80 
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
virtual bool setToNet()
Sets netRep buffer to the contents of this set request.
Definition: readerWriterRegistry.h:39
virtual int netRepSize() const
Description: Readable, Writable uuid string.
Definition: rwUUID.h:419
DtSetDataRequest is an abstract base class from which real setDataRequests can derive.
Definition: setDataRequest.h:40
virtual const DtSetMessageType & type() const =0
What kind of setDataRequest am I? (from radioMsgTypes.h).
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.
Set request which can be sent to a laser guided launcher, and tells the launcher to synchronize its l...
Definition: setSyncLaserCode.h:22
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
DtRwUUID myEntity
Definition: setSyncLaserCode.h:78
virtual DtString stringRep() const =0
Get a readable string representation of this setDataRequest.

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)