VR-Link API Documentation for DIS
 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;
38 
39 
41 {
42 public:
43  virtual ~DtIffStrategy();
44 
45  std::string name();
46  static std::string theName();
47 
48  virtual bool init();
49  virtual void tick();
50  virtual void shutdown();
51 
52  static DtLinkStrategy* create(DtManagedInterface* gl);
53 
54 protected:
56 
57  void handleCSharpIffDiscovered(DtMessage* msg);
58  static void vrlIffDiscovered(DtReflectedIff* iff, void* usr);
59  void handleVrlIffDiscovered(DtReflectedIff* iff);
60 
61  void handleCSharpIffState(DtMessage* msg);
62  static void vrlIffState(DtReflectedIff* iff, void* usr);
63  void handleVrlIffState(DtReflectedIff* iff);
64 
65  void handleCSharpIffRemoved(DtMessage* msg);
66  static void vrlIffRemoved(DtReflectedIff* iff, void* usr);
67  void handleVrlIffRemoved(DtReflectedIff* iff);
68 
71 
72  static std::string theStrategyName;
73  const char* myIdTag = "iff";
74 
76 
80 };
Instances of DtSovietStateRepository are used to store state data for IFFData.Soviet objects...
Definition: iffSovietStateRepository.h:29
DtMessageDelegate * myIffStateHandler
Definition: iff.h:78
Instances of DtIffPublisher are used to take care of the details associated with publishing the state...
Definition: iffPublisherDIS.h:41
Instances of DtReflectedIff represent Iff object simulated by remote applications.
Definition: reflectedIffDIS.h:34
Instances of DtTCASDataStateRepository are used to store state data for IFFData.TCASData objects...
Definition: iffTCASDataStateRepository.h:29
Instances of DtExerciseConn are used to provide an application&#39;s interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtMode2StateRepository are used to store state data for IFFData.Mode2 objects...
Definition: iffMode2StateRepository.h:29
Instances of DtModeSStateRepository are used to store state data for IFFData.ModeS objects...
Definition: iffModeSStateRepository.h:29
DtReflectedIffList * myReflectedIffs
Definition: iff.h:69
Defines a protocol independent repository of attributes for IFF objects.
Definition: iffStateRepository.h:39
#define MANAGEDINTERFACE_MODULE_DLL
Definition: export.h:34
This is the DtMessage class.
Definition: message.h:20
Instances of DtIFFDataStateRepository are used to store state data for IFFData objects.
Definition: IFFDataStateRepository.h:32
This file declares DtVector and DtVector32.
DtMessageDelegate * myIffDiscoveredHandler
Definition: iff.h:77
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:70
DtMessageDelegate * myIffRemovedHandler
Definition: iff.h:79
Instances of DtRRBStateRepository are used to store state data for IFFData.RRB objects.
Definition: iffRRBStateRepository.h:29
Instances of DtMode1StateRepository are used to store state data for IFFData.Mode1 objects...
Definition: iffMode1StateRepository.h:29
Instances of DtMode3CStateRepository are used to store state data for IFFData.ModeC objects...
Definition: iffMode3CStateRepository.h:28
Instances of DtMode4StateRepository are used to store state data for IFFData.Mode4 objects...
Definition: iffMode4StateRepository.h:29
Instances of this class provide a protocol independent interface to a list of reflected emitters in a...
Definition: reflectedIffListDIS.h:28
Defines the DtManagedInterface Singleton object that manages the message flow between C# and the rest...
Instances of DtMode5StateRepository are used to store state data for IFFData.Mode5 objects...
Definition: iffMode5StateRepository.h:30
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
Instances of DtMode3AStateRepository are used to store state data for IFFData.Mode3A objects...
Definition: iffMode3AStateRepository.h:29
DtExerciseConn * myExconn
Definition: iff.h:75
Definition: iff.h:40
static std::string theStrategyName
Definition: iff.h:72

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)