VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
waitTask.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1999 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
14 
15 #pragma once
16 
17 #include "vrftasks/simTask.h"
18 #include <readerWriter/rwString.h>
19 
38 
41 {
42 
43 public:
44 
46  DtWaitTask();
47 
50  DtWaitTask(const DtString & writeName, DtReaderWriterRegistry *
51  parentRegistry = 0);
52 
54  DtWaitTask(const DtString & writeName, const DtWaitTask & orig,
55  DtReaderWriterRegistry * parentRegistry = 0);
56 
58  const DtWaitTask & operator=(const DtWaitTask & orig);
59 
60  virtual ~DtWaitTask();
61 
63  virtual const DtSimTaskMessageType& type() const;
64 
66  virtual DtSimTask * clone(const DtString & name, DtReaderWriterRegistry *
67  parentRegistry = 0) const;
68 
70  virtual DtString stringRep() const;
71 
74  virtual int netRepSize() const;
75 
77  virtual bool setFromNet(const char* contentBuffer,
78  unsigned contentSize);
79 
82  virtual bool setToNet();
83 
84  static DtSimTask * creator();
85 
86 };
87 
File: waitTask.h.
Definition: waitTask.h:40
Definition: readerWriterRegistry.h:39
virtual DtSimTask * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const =0
Make a copy of this task.
virtual bool setFromNet(const char *contentBuffer, unsigned contentSize)
Sets mySubtask member from the incoming contentBuffer (cast to type DtNetSimTask).
virtual bool setToNet()
Calls netRep() to create 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.
const DtSimTask & operator=(const DtSimTask &orig)
assignment operator; same as copy constructor
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”).
virtual int netRepSize() const
Returns the size in bytes of the network representation of the class.

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)