WSF
WsfDisExchange.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11// ****************************************************************************
12// Updated by Infoscitex, a DCS Company.
13// ****************************************************************************
14
15#ifndef WSFDISEXCHANGE_HPP
16#define WSFDISEXCHANGE_HPP
17
18#include "wsf_export.h"
19
20class DisEntityId;
21#include "WsfExchange.hpp"
22class WsfDisInterface;
23class WsfDisPlatform;
24class DisPdu;
25#include "UtCallbackHolder.hpp"
26
30
32{
33public:
34 static bool DebugEnabled() { return sDebug; }
35
38
39 bool Initialize(WsfDisInterface* aDisInterfacePtr);
40
41 static bool ProcessInput(UtInput& aInput);
42
43 // Callback calls.
44 void ExchangeQueried(double aSimTime, const WsfExchange::Query& aQuery);
45
46private:
47 static bool sDebug;
48
49 void FillInPduHeader(double aSimTime, DisPdu* aPduPtr);
50
51 WsfDisExchange(const WsfDisExchange& aSrc); // declare but do not define.
52
53 WsfDisInterface* mDisInterfacePtr;
54 UtCallbackHolder mCallbacks;
55};
56
57#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfDisExchange.hpp:32
static bool DebugEnabled()
Definition WsfDisExchange.hpp:34
WsfDisExchange()
Definition WsfDisExchange.cpp:40
Definition WsfDisInterface.hpp:83
An internal class used by WsfDisInterface to maintain information about a platform.
Definition WsfDisPlatform.hpp:67
Callback Query class.
Definition WsfExchange.hpp:164
Copyrights Multiple, All Rights Reserved