VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
humanObstructionSensor.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2004 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 \
8 
11 
12 #pragma once
13 
16 
17 class DtBooleanInputPort;
18 
24 {
25 
26 public:
27 
31  DtVrfObject* owner,
32  DtSimManager* simManager,
33  DtComponentDescriptor* desc = 0,
34  DtReaderWriterRegistry* parentRegistry = 0);
35 
37  virtual ~DtHumanObstructionSensor();
38 
41  virtual const char* type() const;
42 
43 private:
46 
49 
50 
51 public:
52 
53 protected:
54 
59  virtual bool calculateStoppingDistance(
60  const DtObstructionSensorDescriptor& obstructionSensorDesc,
61  double& stoppingDistance);
62 
63 public:
67  static DtSimComponent * creator(const DtString& name,
68  DtVrfObject* owner,
69  DtSimManager* simManager,
70  DtComponentDescriptor* desc = 0,
71  DtReaderWriterRegistry* parentRegistry = 0);
72 
73  //Checks value of suspend port.
74  virtual void tick();
75 
80  virtual bool createPorts();
81 
82 protected:
86 };

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)