VR-Forces 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) 2023 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvVrl/vrvVrl.h>
15 #include <set>
16 
17 #include <vl/detonationInteraction.h>
18 
19 
20 #ifndef DT_PROTOCOL_NAMESPACE
21 #error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
22 #endif
23 
24 namespace makVrv
25 {
26 
27  class DtAgent;
28  class DtModelAgent;
29 
30  namespace DT_PROTOCOL_NAMESPACE
31  {
32  class DtVrlinkDetonationInteractionStateListener;
33  class DtVrlinkConnection;
34 
36  {
37  public:
38 
41  static void registerInstance(DtVrlinkConnection& conn,
43 
45  static DtDetonationElementProcessor* findInstance(DtVrlinkConnection& conn);
46 
49 
52 
55 
58 
60  DtDetonationElementProcessor& operator=( const DtDetonationElementProcessor& ) = delete;
61 
63  virtual void processInteraction(const DtDetonationInteraction& fireInteraction );
64 
65  protected:
66 
68  virtual void constructObjectsForModelSet( DtModelSetId modelSet,
70 
71  protected:
72 
75 
77 
78  };
79  }
80 }
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:35
#define DT_PROTOCOL_NAMESPACE
Contains defines and includes header files for protocols.
Definition: vrfProtocol.h:13
#define DL_DLL_IGCONVRLINK
Definition: dllExport.h:26
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:76
DtSignalConnectionManager myConnections
Definition: DtDetonationElementProcessor.h:74
Base class to provide boost signal/slot management.
DtVrlinkConnection & mySimulation
Definition: DtDetonationElementProcessor.h:73
DtModelSetId
Definition: DtModelSetEnums.h:19
Contains DLL export macros.

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)