VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
scriptedObjectsMovementManager.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 #pragma once
9 
12 #include <vlutil/vlFilename.h>
13 
14 class DtSimManager;
15 class DtSimMessage;
16 
19 
21 {
22 public:
23  typedef std::map<std::string, DtScriptedMovementObject> ScriptedMovementObjects;
24 
25 public:
28 
31 
32 private:
35 
38 
39 public:
40  virtual DtSimManager* simManager() const;
41 
43  virtual void removeAllScriptedMovementObjects();
44 
48  virtual bool loadScriptedMovementObjects(const DtFilename& dir, bool append = false);
49 
51  virtual void addScriptedMovementObject(const DtScriptedMovementObject&);
52 
54  virtual bool removeScriptedMovementObject(const std::string&);
55 
57  virtual const ScriptedMovementObjects& scriptedMovementObjects() const;
58 
60  virtual void setScriptedMovementObjects(const ScriptedMovementObjects&);
61 
64  virtual bool scriptedMovementObject(const std::string& objectToFind, DtScriptedMovementObject& object) const;
65 
69  virtual DtString fileConfigurationFor(const std::string& uniqueId) const;
70 
71 protected:
73  static void scriptedMovementObjectsRequestCallback(DtSimMessage* msg, void* usr);
74  virtual void processScriptedMovementObjectsRequest(DtSimMessage* msg);
75 
76 protected:
79 
80  typedef std::map<std::string, DtScriptedMovementFileConfiguration> MovementFileConfigurations;
82 };

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)