WSF
WsfDisActionResponse.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 WSFDISACTIONRESPONSE_HPP
16#define WSFDISACTIONRESPONSE_HPP
17
18#include "wsf_export.h"
19
20#include "DisActionResponse.hpp"
21class DisActionRequest;
22class WsfDisInterface;
23
24class WSF_EXPORT WsfDisActionResponse : public DisActionResponse
25{
26public:
28 WsfDisActionResponse(DisPdu& aPdu, GenI& aGenI, WsfDisInterface* aInterfacePtr);
29 ~WsfDisActionResponse() override;
30
34 void MakeJoinExerciseResponse(const DisEntityId& aRequestorDisId,
35 int aRequestorSerialId,
36 int aRequestStatus,
37 int aTimeScheme,
38 DisUint32 aFeedbackTime,
39 DisUint32 aTimeLatency,
40 double aSimTime,
41 double aSimRate,
42 double aSimTimeStep);
43
44protected:
45 // Disallow assignment
47 // bool GetTimeParams(int& aTimeScheme,
48 // double& aFeedbackTime,
49 // double& aTimeLatency,
50 // double& aStartTime,
51 // double& aSimulationRate,
52 // double& aSimTimeStep) const;
53 // void FillInTimeParams(int aTimeScheme,
54 // double aStartTime,
55 // double aSimulationRate,
56 // double aSimTimeStep);
57 bool ProcessResponseTo(DisPdu* aInitiatorPtr);
58 bool ProcessJoinExerciseResponseTo(const DisActionRequest* aRequestPtr);
59
60private:
61 WsfDisInterface* mInterfacePtr;
62};
63
64#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
bool ProcessJoinExerciseResponseTo(const DisActionRequest *aRequestPtr)
Definition WsfDisActionResponse.cpp:107
bool ProcessResponseTo(DisPdu *aInitiatorPtr)
Definition WsfDisActionResponse.cpp:81
WsfDisActionResponse & operator=(const WsfDisActionResponse &aRhs)=delete
WsfDisActionResponse(WsfDisInterface *aInterfacePtr)
Definition WsfDisActionResponse.cpp:35
void MakeJoinExerciseResponse(const DisEntityId &aRequestorDisId, int aRequestorSerialId, int aRequestStatus, int aTimeScheme, DisUint32 aFeedbackTime, DisUint32 aTimeLatency, double aSimTime, double aSimRate, double aSimTimeStep)
Definition WsfDisActionResponse.cpp:51
Definition WsfDisInterface.hpp:83
Copyrights Multiple, All Rights Reserved