VR-Exchange 2.6 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
detonationInterface.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2014 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #if DtTENA
11 
12 #pragma once
13 
15 #include <TENA/Engagement/Detonation/Includes.h>
18 
19 namespace MAKVrExchange
20 {
21 
22  namespace DtTenaBroker
23  {
24 
25  class DtExerciseConn;
26 
32  class DT_DLL_COMMONLROM DtDetonationInterface : public DtMessageInterface
33  {
34  public:
35 
37  DtDetonationInterface();
38 
40  virtual ~DtDetonationInterface();
41 
43  virtual void send( const DtInteraction& inter, DtExerciseConn& exConn ) const;
44 
46  virtual void addCallback( DtExerciseConn* conn, void* usr );
47 
49  virtual void removeCallback( DtExerciseConn* conn, void* usr );
50 
53  static void encode( const DtDetonationInteraction& inter,
54  TENA::Engagement::Detonation::Pointer msgPtr,
55  const DtGlobalObjectDesignator& messageId );
56 
58  static void decode( const TENA::Engagement::Detonation::Pointer msgPtr,
59  DtDetonationInteraction* inter );
60 
61  };
62 
63  }
64 }
65 
66 #endif // DtTENA

Document ID: Generated on Wed Jan 30 18:15:18 EST 2019 from SVN revision 195534
Copyright © 2005-2019 VT MÄK. All Rights Reserved (www.mak.com)