VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
releaseBombOnTargetTask.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2012 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include <readerWriter/rwString.h>
13 
15 #include <vlutil/vlNetTypes.h>
16 #include "vrfutil/rwUUID.h"
17 
22 {
23 public:
26 
29  DtReleaseBombOnTargetTask(const DtString & writeName,
30  DtReaderWriterRegistry * parentRegistry = 0);
31 
33  DtReleaseBombOnTargetTask(const DtString & writeName, const
35  parentRegistry = 0);
36 
40 
42  virtual ~DtReleaseBombOnTargetTask();
43 
45  virtual const DtSimTaskMessageType& type() const;
46 
48  virtual DtSimTask* clone(const DtString& name,
49  DtReaderWriterRegistry* parentRegistry = 0) const;
50 
52  virtual DtString stringRep() const;
53 
55 
56  virtual const DtUUID & target() const;
58 
60  virtual void setTarget(const DtUUID&);
62 
65  virtual int netRepSize() const;
66 
68  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize);
69 
72  virtual bool setToNet();
73 
75  static DtSimTask* creator();
76 
77 protected:
79 };
80 
UUID is a unique ID wrapper class.
Definition: rwUUID.h:222
DtReleaseBombTask is the base class for all the other release bomb tasks.
Definition: releaseBombTask.h:19
Definition: readerWriterRegistry.h:39
virtual DtSimTask * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this task.
Description: Readable, Writable uuid string.
Definition: rwUUID.h:419
const DtReleaseBombTask & operator=(const DtReleaseBombTask &orig)
assignment operator
virtual bool setToNet()
Fills in the network buffer (created by base class simTask) with the task contents.
virtual int netRepSize() const
Returns the size of the full network representation padded to an 8-byte boundary. ...
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Fills in the task from the network buffer.
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
DtRwUUID myTarget
Definition: releaseBombOnTargetTask.h:78
VR-Link includes.
Definition: releaseBombOnTargetTask.h:21
DtSimTask is an abstract base class from which real tasks can derive.
Definition: simTask.h:31
virtual DtString stringRep() const =0
Returns a human-readable string representation of the task.
virtual const DtSimTaskMessageType & type() const =0
What kind of task am I? Returns a string indicating the kind of task (for example, “move-to”, “follow-entity”).

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)