VR-Forces 4.1 Class Documentation
setBhaveMovementMode.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2006 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <vrftasks/setDataReq.h>
12 #include <vrfutil/rwString.h>
13 #include <vrfutil/rwInt.h>
15 
16 namespace BHAVE
17 {
18 const char DtBhaveMovementModeFree[] = "free";
19 const char DtBhaveMovementModePreferRoads[] = "prefer-roads";
20 const char DtBhaveMovementModeAvoidRoads[] = "avoid-roads";
21 
23 {
24 public:
25 
28 
31  DtSetBhaveMovementMode(const DtString & writeName,
32  DtReaderWriterRegistry * parentRegistry = 0);
33 
35  DtSetBhaveMovementMode(const DtString & writeName, const DtSetBhaveMovementMode &
36  orig, DtReaderWriterRegistry * parentRegistry = 0);
37 
39  const DtSetBhaveMovementMode & operator=(const DtSetBhaveMovementMode & orig);
40 
41  virtual ~DtSetBhaveMovementMode();
42 
44  virtual const DtSetMessageType& type() const;
45 
47  virtual DtSetDataRequest * clone(const DtString & name,
48  DtReaderWriterRegistry * parentRegistry = 0) const;
49 
51  virtual DtString stringRep() const;
52 
54 
55  virtual const DtString movementType() const;
56  virtual void setMovementType(const DtString& mode);
58 
59  virtual int netRepSize() const;
60 
62  virtual bool setFromNet(const char* contentBuffer,
63  unsigned contentSize);
64 
67  virtual bool setToNet();
68 
69  static DtSetDataRequest * creator();
70 
71  virtual void getSelf(DtlObjPtr args, const DtFilename& searchPath =
72  DtFilename::nullFilename());
73 
74 protected:
75 
77 
78 };
79 
80 }

Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (www.mak.com)