VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
breachObstacleController.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
12 #include "vlutil/vlString.h"
14 #include "vrfutil/rwVectorList.h"
15 
18 
21 {
22 public:
24  DtBreachObstacleController(const DtString & name, DtVrfObject* owner,
25  DtSimManager * simManager, DtComponentDescriptor* desc = NULL,
26  DtReaderWriterRegistry * parentRegistry = 0);
27 
29  virtual ~DtBreachObstacleController();
30 
32  virtual bool init();
33 
34 private:
37 
40 
41 public:
42 
43  virtual const char* type() const;
44 
46  static DtSimComponent* creator(const DtString & name, DtVrfObject* owner,
47  DtSimManager * simManager, DtComponentDescriptor* desc,
48  DtReaderWriterRegistry * parentRegistry);
49 
53  virtual void processCreateTask(DtSimMessage* msg);
54 
58  virtual void processImproveTask(DtSimMessage* msg);
59 
60 protected:
61 
66  virtual bool resourcesStrengthAndRangeToBreach(
67  const DtVertexList& breachPoints,
68  const DtRwProperties& breachParameterProperties,
69  double& strength, double& range,
71  const DtUUID& breachId);
72 
73 protected:
75 
77  std::map<DtObjectType, DtRwAffectableEngineeringObject*> myObstacleInfoByObjType;
78 
79 };
80 

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)