VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
genericTaskState.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
10 #include "vrftasks/simTaskState.h"
12 
16 {
17 public:
20 
23  DtGenericTaskState(const DtString & writeName,
24  DtReaderWriterRegistry * parentRegistry = 0);
25 
27  DtGenericTaskState(const DtString & writeName, const DtGenericTaskState & orig,
28  DtReaderWriterRegistry * parentRegistry = 0);
29 
31  const DtGenericTaskState & operator=(const DtGenericTaskState & orig);
32 
33  virtual ~DtGenericTaskState();
34 
36  virtual DtString type() const;
37 
39  virtual DtSimTaskState * clone(const DtString & name, DtReaderWriterRegistry *
40  parentRegistry = 0) const;
41 
43  virtual DtString stringRep() const;
44 
45  virtual DtRwVariableBindings& keyValueList();
46  virtual const DtRwVariableBindings& keyValueList() const;
47 
48  static DtSimTaskState * creator();
49 
50 protected:
52 
53 };
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...
Definition: readerWriterRegistry.h:39
ReaderWriter object that maintains a list of reader-writer variable bindings. It keeps a list of name...
Definition: rwVariableBindings.h:27
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
DtRwVariableBindings myKeyValueList
Definition: genericTaskState.h:51
virtual DtString type() const
What kind of task state object am I? Returns a string indicating the kind of task state object( for e...
#define DT_DLL_vrftasks
This file is used to determine how to build.
Definition: vrftasksDefines.h:26
A task state object that contains a generic key-value pair map. This may be used for any task that do...
Definition: genericTaskState.h:15

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)