VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
kynapsePSR.h
Go to the documentation of this file.
1 
2 /*******************************************************************************
3 ** Copyright (c) 2009 MAK Technologies, Inc.
4 ** All rights reserved.
5 *******************************************************************************/
6 /*******************************************************************************
7 * Copyright 2009 Autodesk, Inc. All rights reserved.
8 * Use of this software is subject to the terms of the Autodesk license
9 * agreement provided at the time of installation or download, or which otherwise
10 * accompanies this software in either electronic or hard copy form.
11 *******************************************************************************/
12 
13 /*******************************************************************************
14 ** $RCSfile: timeKeeperPSR.h,v $ $Revision: 1.2 $ $State: Exp $
15 *******************************************************************************/
16 
17 #pragma once
18 
20 #include <vrfutil/rwString.h>
21 #include <vrfutil/rwInt.h>
22 #include <vrfutil/rwReal.h>
23 #include <vrfutil/rwVector.h>
25 
26 namespace BHAVE
27 {
28 
29 const char DtKynapsePSRType[] = "kynapse-psr-type";
30 
34 {
35 public:
36 
38  DtKynapsePSR(DtVrfObject* vrfObject,
39  const DtString& rwName = DtString::nullString(),
40  DtReaderWriterRegistry* parentRegistry = 0);
41 
43  DtKynapsePSR(const DtKynapsePSR& orig,
44  const DtString& rwName = DtString::nullString(),
45  DtReaderWriterRegistry* parentRegistry = 0);
46 
48  virtual ~DtKynapsePSR();
49 
51  DtKynapsePSR& operator=(const DtKynapsePSR& orig);
52 
54  virtual DtVrfProcessStateRepository* clone(
55  const DtString& rwName = DtString::nullString(),
56  DtReaderWriterRegistry* parentRegistry = 0) const;
57 
59  virtual DtString type() const;
60 
63 
64  virtual DtString debugRouteName() const;
65  virtual void setDebugRouteName(const DtString& val);
67 
71 
72  virtual DtString movementMode() const;
73  virtual void setMovementMode(const DtString& mode);
74  virtual bool movementModeSpecified() const;
76 
80  virtual int taskRouteCurrentPointIndex() const;
81  virtual void taskSetRouteCurrentPointIndex(const int currentIndex);
82  virtual bool taskRouteCurrentPointIndexSpecified() const;
84 
88  virtual DtVector taskWanderCurrentDestination() const;
89  virtual void taskWanderSetCurrentDestination(const DtVector & currentDest);
90  virtual bool taskWanderCurrentDestinationSpecified() const;
91 
92  virtual DtReal taskWanderRemainingTime() const;
93  virtual void taskWanderSetRemainingTime(const DtReal & remainingTime);
94  virtual bool taskWanderRemainingTimeSpecified() const;
96 
97  virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths& searchPaths,
98  const DtVariableBindingsList& variableBindings);
99 
100 public:
101 
103  static DtVrfProcessStateRepository* creator (const DtString& rwName,
104  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
105 
106 protected:
109 
110 
111  /* Kynapse agent checkpointing: the task and its parameters is already saved ; but
112  for some agent, we need to record additional information */
114 
115 
122 };
123 
124 } //namespace BHAVE

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)