WSF
WsfDisActionResponseR.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 WSFDISACTIONRESPONSER_HPP
16#define WSFDISACTIONRESPONSER_HPP
17
18#include "wsf_export.h"
19
20#include "DisActionResponseR.hpp"
21
22class DisActionRequestR;
23class WsfDisInterface;
24
25class WSF_EXPORT WsfDisActionResponseR : public DisActionResponseR
26{
27public:
29 WsfDisActionResponseR(DisPdu& aPdu, GenI& aGenI, WsfDisInterface* aInterfacePtr);
31
35
36 void MakeJoinExerciseResponse(double aSimTime,
37 double aSimRate,
38 double aSimTimeStep,
39 unsigned int aRequestStatus,
40 unsigned int aTimeScheme,
41 unsigned int aFeedbackTime,
42 unsigned int aTimeLatency);
43
44 /* void MakeTimeAdvanceRequestResponse(double aSimTime,
45 double aSimRate,
46 int aRequestStatus,
47 int aTimeScheme,
48 DisUint32 aFeedbackTime,
49 DisUint32 aTimeLatency,
50 DisClockTime aSimTimeStep);
51
52 void MakeResignExerciseResponse(double aSimTime,
53 double aSimRate,
54 int aRequestStatus,
55 int aTimeScheme,
56 DisUint32 aFeedbackTime,
57 DisUint32 aTimeLatency,
58 DisClockTime aSimTimeStep); */
59
60protected:
61 // Disallow assignment
63 bool ProcessResponseTo(DisPdu* aInitiatorPtr);
64 bool ProcessJoinExerciseResponseTo(const DisActionRequestR* aRequestPtr);
65
66private:
67 WsfDisInterface* mInterfacePtr;
68};
69
70#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
void MakeJoinExerciseResponse(double aSimTime, double aSimRate, double aSimTimeStep, unsigned int aRequestStatus, unsigned int aTimeScheme, unsigned int aFeedbackTime, unsigned int aTimeLatency)
Definition WsfDisActionResponseR.cpp:53
WsfDisActionResponseR & operator=(const WsfDisActionResponseR &aRhs)=delete
~WsfDisActionResponseR() override
bool ProcessResponseTo(DisPdu *aInitiatorPtr)
Definition WsfDisActionResponseR.cpp:121
WsfDisActionResponseR(WsfDisInterface *aInterfacePtr)
Definition WsfDisActionResponseR.cpp:37
bool ProcessJoinExerciseResponseTo(const DisActionRequestR *aRequestPtr)
Definition WsfDisActionResponseR.cpp:148
Definition WsfDisInterface.hpp:83
Copyrights Multiple, All Rights Reserved