VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
releaseBombOnLaserSpotTask.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/rwInt.h>
13 
15 #include <vlutil/vlNetTypes.h>
16 
23 {
24 public:
27 
30  DtReleaseBombOnLaserSpotTask(const DtString & writeName,
31  DtReaderWriterRegistry * parentRegistry = 0);
32 
34  DtReleaseBombOnLaserSpotTask(const DtString & writeName, const
36  parentRegistry = 0);
37 
41 
44 
46  virtual const DtSimTaskMessageType& type() const;
47 
49  virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry *
50  parentRegistry = 0) const;
51 
53  virtual DtString stringRep() const;
54 
56 
57  virtual int laserCode() const;
58  virtual void setLaserCode(int code);
60 
63  virtual int netRepSize() const;
64 
66  virtual bool setFromNet(const char* contentBuffer,
67  unsigned contentSize);
68 
71  virtual bool setToNet();
72 
74  static DtSimTask * creator();
75 
76 protected:
78 };
DtReleaseBombTask is the base class for all the other release bomb tasks.
Definition: releaseBombTask.h:19
VR-Link includes.
Definition: releaseBombOnLaserSpotTask.h:22
Definition: readerWriterRegistry.h:39
virtual DtSimTask * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this task.
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. ...
Description: Readable, Writable int.
Definition: rwInt.h:25
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
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.
DtRwInt myLaserCode
Definition: releaseBombOnLaserSpotTask.h:77
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)