VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
fireForEffectOnLocationTask.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999-2000 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include "readerWriter/rwVector.h"
13 #include <vlpi/netStructs.h>
14 
15 
19 {
20  DtNet64Vector myLocation;
21 };
22 
28 {
29 
30 public:
31 
34 
37  DtFireForEffectOnLocationTask(const DtString & writeName,
38  DtReaderWriterRegistry * parentRegistry = 0);
39 
41  DtFireForEffectOnLocationTask(const DtString & writeName, const
43  parentRegistry = 0);
44 
48 
49 
51 
53  virtual const DtSimTaskMessageType& type() const;
54 
56  virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry *
57  parentRegistry = 0) const;
58 
60  virtual DtString stringRep() const;
61 
63  virtual void setLocation(const DtVector & location);
64  virtual const DtVector & location() const;
65 
68  virtual int netRepSize() const;
69 
71  virtual bool setFromNet(const char* contentBuffer,
72  unsigned contentSize);
73 
76  virtual bool setToNet();
77 
78  static DtSimTask * creator();
79 
80 protected:
81 
83 
84 };
85 
DtNet64Vector myLocation
Definition: fireForEffectOnLocationTask.h:20
DtFireForEffectOnTargetTask represents an artillery task to fire for effect on the specified entity...
Definition: fireForEffectOnLocationTask.h:27
Definition: readerWriterRegistry.h:39
virtual DtSimTask * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this task.
Definition: rwVector.h:23
virtual bool setToNet()
Fills in the network buffer (created by base class simTask) with the task contents.
const DtFireForEffectTask & operator=(const DtFireForEffectTask &orig)
assignment operator
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
DtRwVector myLocation
Definition: fireForEffectOnLocationTask.h:82
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 bool setFromNet(const char *contentBuffer, unsigned contentSize)
Fills in the task from the network buffer.
This struct is the FIXED portion of the simulation network representation of a fire for effect task...
Definition: fireForEffectOnLocationTask.h:18
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”).
DtFireForEffectTask is an abstract base class which used to create fire for effect tasks that differ ...
Definition: fireForEffectTask.h:51
virtual int netRepSize() const
Returns the size of the full network representation padded to an 8-byte boundary. ...
File: rwVector.h.

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)