VR-Forces 5.0.3 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
moveAlongTaskState.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include "vrftasks/simTaskState.h"
15 
16 #include <readerWriter/rwInt.h>
17 #include <readerWriter/rwBoolean.h>
19 {
20 
21 public:
22 
25 
28  DtMoveAlongTaskState(const DtString & writeName,
29  DtReaderWriterRegistry * parentRegistry = 0);
30 
32  DtMoveAlongTaskState(const DtString & writeName, const DtMoveAlongTaskState & orig,
33  DtReaderWriterRegistry * parentRegistry = 0);
34 
37 
38  virtual ~DtMoveAlongTaskState();
39 
41  virtual DtString type() const;
42 
44  virtual DtSimTaskState * clone(const DtString & name, DtReaderWriterRegistry *
45  parentRegistry = 0) const;
46 
48  virtual DtString stringRep() const;
49 
53  virtual void setCurrentVertex(int vertex);
54  virtual int currentVertex() const;
56 
57  virtual void setReverseDirection(bool reverse);
58  virtual bool reverseDirection() const;
59 
60  static DtSimTaskState * creator();
61 
62 protected:
65 };
66 
virtual DtSimTaskState * clone(const DtString &name, DtReaderWriterRegistry *parentRegistry=0) const
Make a copy of this task. Returns a newly allocated instance of a DtSimTaskState. Override this membe...
DtRwInt myCurrentVertex
Definition: moveAlongTaskState.h:64
Definition: readerWriterRegistry.h:39
DtSimTaskState holds the current execution state of a given task.
Definition: simTaskState.h:26
const DtSimTaskState & operator=(const DtSimTaskState &orig)
assignment operator; same as copy constructor
Description: Readable, Writable int.
Definition: rwInt.h:25
virtual DtString type() const
What kind of task state object am I? Returns a string indicating the kind of task state object( for e...
DtMoveAlongTaskState; task state associated with a DtMoveAlongTaskState.
Definition: moveAlongTaskState.h:18
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
Description: Readable, Writable bool.
Definition: rwBoolean.h:26
DtRwBoolean myReverseDirection
Definition: moveAlongTaskState.h:63

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)