VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
iff.h
Go to the documentation of this file.
1 /*********************************************************************************
2 ** Copyright (c) 2018 MAK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************************/
5 
6 #pragma once
7 
8 
9 #include "strategies/export.h"
13 
14 #include <string>
15 #include <map>
16 
17 #include <matrix/vlVector.h>
18 
19 class DtMessage;
20 class DtManagedInterface;
21 class DtExerciseConn;
22 class DtReflected;
23 class DtReflectedIff;
24 class DtReflectedIffList;
25 class DtIffPublisher;
27 
28 
30 {
31 public:
32  virtual ~DtIffStrategy();
33 
34  std::string name();
35  static std::string theName();
36 
37  virtual bool init();
38  virtual void tick();
39  virtual void shutdown();
40 
41  static DtLinkStrategy* create(DtManagedInterface* gl);
42 
43 protected:
45 
46  void handleCSharpIffDiscovered(DtMessage* msg);
47  static void vrlIffDiscovered(DtReflectedIff* iff, void* usr);
48  void handleVrlIffDiscovered(DtReflectedIff* iff);
49 
50  void handleCSharpIffState(DtMessage* msg);
51  static void vrlIffState(DtReflectedIff* iff, void* usr);
52  void handleVrlIffState(DtReflectedIff* iff);
53 
54  void handleCSharpIffRemoved(DtMessage* msg);
55  static void vrlIffRemoved(DtReflectedIff* iff, void* usr);
56  void handleVrlIffRemoved(DtReflectedIff* iff);
57 
60 
61  static std::string theStrategyName;
62  const char* myIdTag = "iff";
63 
65 
69 };
DtMessageDelegate * myIffStateHandler
Definition: iff.h:67
class DtIffPublisher:
Definition: iffPublisherHLA.h:24
class DtReflectedIff:
Definition: reflectedIffHLA.h:32
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnHLA.h:60
DtReflectedIffList * myReflectedIffs
Definition: iff.h:58
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:57
#define MANAGEDINTERFACE_MODULE_DLL
Definition: export.h:34
This is the DtMessage class.
Definition: message.h:20
This file declares DtVector and DtVector32.
DtMessageDelegate * myIffDiscoveredHandler
Definition: iff.h:66
The DtManagedInterface Class is a singleton that is used to manage the message flow between C# and th...
Definition: managedInterface.h:49
DtPublisherList< DtIffPublisher > * myIffPubs
Definition: iff.h:59
DtMessageDelegate * myIffRemovedHandler
Definition: iff.h:68
An instance of this class manages the list of &quot;IFF&quot; objects that are simulated remotely, and reflected to us by the RTI.
Definition: reflectedIffListHLA.h:28
Defines the DtManagedInterface Singleton object that manages the message flow between C# and the rest...
Defines a template for maintaining a list of VR-Link Publisher objects.
Delegate template for binding static or member functions for callback at later time The return type a...
Definition: delegate.h:69
DtExerciseConn * myExconn
Definition: iff.h:64
Definition: iff.h:29
static std::string theStrategyName
Definition: iff.h:61

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)