VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
humanUseDoorController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2017 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
11 
12 #pragma once
13 
17 #include <vrfNavigation/navArea.h>
18 
20 class DtScriptedTaskTask;
23 class DtVectorOutputPort;
26 
32 {
33 private:
40 public:
42  DtHumanUseDoorController(const DtString& name, DtVrfObject* owner,
43  DtSimManager* simManager, DtComponentDescriptor* desc=0, DtReaderWriterRegistry *parentRegistry=0);
44 
46  virtual ~DtHumanUseDoorController();
47 
49  virtual bool init();
50 
52  virtual const char* type() const;
53 
55  virtual void tick();
56 
58  static DtSimComponent* creator(const DtString& name, DtVrfObject* owner, DtSimManager* simManager,
59  DtComponentDescriptor* desc=0, DtReaderWriterRegistry* parentRegistry=0);
60 
61 protected:
62 
63  static void setAutomaticDoorClosingCallback(DtSimMessage* msg, void* usrData);
64  virtual void processSetAutomaticDoorClosing(DtSimMessage* msg);
65 
67  virtual bool isDoorNavTag(const DtNavTag& navTag) const;
68 
70  virtual DtVector findDoor();
71 
73  virtual bool isDoorOpen(const DtVector& doorLoc);
74 
76  virtual bool createPortGroups();
77 
79  virtual bool createPorts();
80 
82  virtual DtHumanUseDoorControllerPSR* createPSR();
83 
84  virtual bool usingNavBot() const;
85 
86  virtual bool taskVisualizationsActive() const;
87  virtual void updateTaskVisualizations();
88 
89  static void navigationInterfaceChanged(DtVrfObject*, void* usr);
90  virtual void processNavigationInterfaceChanged(DtVrfObject*);
91 
92 protected:
93 
95 
99 
102 
109 
112 
115 
122 
129 
131 };

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)