VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtDetonationElementProcessor.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2021 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvVrl/vrvVrl.h>
15 #include <set>
17 
18 #include <vl/detonationInteraction.h>
19 
20 
21 #ifndef DT_PROTOCOL_NAMESPACE
22 #error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
23 #endif
24 
25 namespace makVrv
26 {
27 
28  class DtAgent;
29  class DtModelAgent;
30 
31  namespace DT_PROTOCOL_NAMESPACE
32  {
33  class DtVrlinkDetonationInteractionStateListener;
34  class DtVrlinkConnection;
35 
37  {
38  public:
39 
42  static void registerInstance(DtVrlinkConnection& conn,
44 
46  static DtDetonationElementProcessor* findInstance(DtVrlinkConnection& conn);
47 
50 
53 
56 
59 
61  DtDetonationElementProcessor& operator=( const DtDetonationElementProcessor& ) = delete;
62 
64  virtual void processInteraction(const DtDetonationInteraction& fireInteraction );
65 
66  protected:
67 
68  const DtUnicode& chooseModelDefinition(
69  const std::vector<DtUnicode>& definitions);
70 
72  virtual void constructObjectsForModelSet( int modelSet,
74 
75  protected:
76 
79 
81 
82  };
83  }
84 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
Definition: DtDetonationElementProcessor.h:36
#define DL_DLL_IGCONVRLINK
Definition: dllExport.h:26
#define DT_PROTOCOL_NAMESPACE
Contains DLL export macros.
Definition: vrfDis.h:17
Contains makVrv::DtVirtualBaseClass class.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
DtDetonationPdu DtDetonationInteraction
Definition: DistributedSimulationDriver3A.h:14
bool myFireDetonatedEnabledFlag
Definition: DtDetonationElementProcessor.h:80
DtSignalConnectionManager myConnections
Definition: DtDetonationElementProcessor.h:78
Base class to provide boost signal/slot management.
DtVrlinkConnection & mySimulation
Definition: DtDetonationElementProcessor.h:77
Contains DLL export macros.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)