VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
releaseBombUnguidedTask.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 
13 #include <readerWriter/rwString.h>
14 
16 #include <vlutil/vlNetTypes.h>
17 #include "vrfutil/rwUUID.h"
18 
22 {
23 public:
26 
29  DtReleaseBombUnguidedTask(const DtString& writeName,
30  DtReaderWriterRegistry* parentRegistry = 0);
31 
33  DtReleaseBombUnguidedTask(const DtString& writeName, const
35  parentRegistry = 0);
36 
40 
42  virtual ~DtReleaseBombUnguidedTask() override;
43 
45  virtual const DtSimTaskMessageType& type() const override;
46 
48  virtual DtSimTask* clone(const DtString& name, DtReaderWriterRegistry* parentRegistry = 0) const override;
49 
51  virtual DtString stringRep() const override;
52 
53 
56  virtual int netRepSize() const override;
57 
59  virtual bool setFromNet(const char* contentBuffer, unsigned contentSize) override;
60 
63  virtual bool setToNet() override;
64 
66  static DtSimTask* creator();
67 
68 };
69 
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize) override
Fills in the task from the network buffer.
DtReleaseBombTask is the base class for all the other release bomb tasks. It is never used to launch ...
Definition: releaseBombTask.h:19
VR-Link includes.
Definition: releaseBombUnguidedTask.h:21
Definition: readerWriterRegistry.h:39
Contains the DtUUID class declaration.
virtual DtSimTask * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this task. Returns a newly allocated instance of a DtSimTask. Override this member fun...
const DtReleaseBombTask & operator=(const DtReleaseBombTask &orig)
assignment operator
virtual int netRepSize() const override
Returns the size of the full network representation padded to an 8-byte boundary. ...
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
DtSimTask is an abstract base class from which real tasks can derive. It manages the read/write capab...
Definition: simTask.h:30
virtual DtString stringRep() const =0
Returns a human-readable string representation of the task. This string representation is used to dis...
virtual bool setToNet() override
Fills in the network buffer (created by base class simTask) with the task contents.
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”). Derived classes must implement this member function to return a unique string representing the type of task. The set of standard task types supplied with VR-Forces is in taskTypes.h.

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)