VR-Forces 4.2 Class Documentation
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 
19 #include <vrfobjcore/processSR.h>
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 DtFilename& searchPath, const DtVariableBindingsList& variableBindings);
98 
99 public:
100 
102  static DtVrfProcessStateRepository* creator (const DtString& rwName,
103  DtVrfObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
104 
105 protected:
108 
109 
110  /* Kynapse agent checkpointing: the task and its parameters is already saved ; but
111  for some agent, we need to record additional information */
113 
114 
121 };
122 
123 } //namespace BHAVE

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)