VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
iffInterrogatorEvent.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2023 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 #pragma once
6 
9 #include <vrfutil/rwUUID.h>
10 #include <vlpi/entityType.h>
11 
12 namespace makVrfEvents
13 {
15  {
16  public:
20 
21  virtual ~DtIffInterrogatorEvent() override;
22 
23  virtual DtEvent* clone() const override { return new DtIffInterrogatorEvent(*this); };
24 
25  void setRequestingId(const DtUUID&);
26  const DtUUID& requestingId() const;
27 
28  void setTargetId(const DtUUID&);
29  const DtUUID& targetId() const;
30 
31  void setMode1Included(const bool& val);
32  bool mode1Included() const;
33  void setMode2Included(const bool& val);
34  bool mode2Included() const;
35  void setMode3AIncluded(const bool& val);
36  bool mode3AIncluded() const;
37  void setMode5Included(const bool& val);
38  bool mode5Included() const;
39  void setModeSIncluded(const bool& val);
40  bool modeSIncluded() const;
41  void setMode3CIncluded(const bool& val);
42  bool mode3CIncluded() const;
43  void setTCASIncluded(const bool& val);
44  bool TCASIncluded() const;
45  void setIsLethalInterrogation(const bool& val);
46  bool isLethalInterrogation() const;
47  void setEventCount(unsigned short);
48  unsigned short eventCount() const;
49  bool anyModesSet() const { return (myFlags != 0); };
50 
51  protected:
52  DtUUID myRequestingId;
54  int myFlags;
55  unsigned short myEventCount;
56  };
57 }
UUID is a unique ID wrapper class.
Definition: uuid.h:59
int myFlags
Definition: iffInterrogatorEvent.h:54
Definition: iffInterrogatorEvent.h:14
Contains the DtUUID class declaration.
virtual DtEvent * clone() const override
Definition: iffInterrogatorEvent.h:23
Definition: event.h:13
DtUUID myTargetId
Definition: iffInterrogatorEvent.h:53
#define DT_DLL_vrfMsgTransport
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfCommunicationManagerDefines.h:26
unsigned short myEventCount
Definition: iffInterrogatorEvent.h:55

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)