VR-Forces Developer's Guide
 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() override;
42 
44  virtual const DtSetMessageType& type() const override;
45 
47  virtual DtSetDataRequest * clone(const DtString& name, DtReaderWriterRegistry* parentRegistry = 0) const override;
48 
50  virtual DtString stringRep() const override;
51 
54 
55  virtual const DtUUID& entity() const;
57 
59  virtual void setEntity(const DtUUID&);
61 
64  virtual int netRepSize() const override;
65 
67  virtual DtBoolean setFromNet(const char* contentBuffer, unsigned contentSize) override;
68 
71  virtual DtBoolean setToNet() override;
72 
73  static DtSetDataRequest * creator();
74 
75 protected:
77 };
78 
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...
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
virtual int netRepSize() const
uuid class
Definition: rwUUID.h:26
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...
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:76
virtual DtString stringRep() const =0
Get a readable string representation of this setDataRequest. Returns a human readable string represen...

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)