WSF
WsfXIO_PlatformInfoRequest.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#ifndef WSFXIO_PLATFORMINFOREQUEST_HPP
13#define WSFXIO_PLATFORMINFOREQUEST_HPP
14
15#include "wsf_export.h"
16
17#include "UtMath.hpp"
19
22{
23public:
24 WsfXIO_PlatformInfoRequest(int aPlatformIndex,
25 unsigned int aInformationTypes,
26 WsfXIO_Connection* aConnectionPtr,
27 bool aIsReliable = true);
28 void SetDeadReckonParameters(double aDeadReckonInterval = 1.0,
29 double aMaxDeadReckonError = 5.0,
30 double aMaxDeadReckonOrientationError = 3.0 * UtMath::cRAD_PER_DEG);
31
32 void Initialized() override;
33
34 int GetPlatformIndex() const { return mPlatformIndex; }
35 unsigned int GetInfoType() const { return mInfoType; }
36 double GetDeadReckonInterval() const { return mDeadReckonInterval; }
37 double GetMaxDeadReckonError() const { return mMaxDeadReckonError; }
39
40protected:
42 unsigned int mInfoType;
47};
48#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfXIO_Connection.hpp:37
unsigned int GetInfoType() const
Definition WsfXIO_PlatformInfoRequest.hpp:35
double GetMaxDeadReckonError() const
Definition WsfXIO_PlatformInfoRequest.hpp:37
double mMaxDeadReckonError
Definition WsfXIO_PlatformInfoRequest.hpp:45
int GetPlatformIndex() const
Definition WsfXIO_PlatformInfoRequest.hpp:34
int mPlatformIndex
Definition WsfXIO_PlatformInfoRequest.hpp:41
void SetDeadReckonParameters(double aDeadReckonInterval=1.0, double aMaxDeadReckonError=5.0, double aMaxDeadReckonOrientationError=3.0 *UtMath::cRAD_PER_DEG)
Definition WsfXIO_PlatformInfoRequest.cpp:30
bool mUseDeadReckonDefaults
Definition WsfXIO_PlatformInfoRequest.hpp:43
WsfXIO_PlatformInfoRequest(int aPlatformIndex, unsigned int aInformationTypes, WsfXIO_Connection *aConnectionPtr, bool aIsReliable=true)
Definition WsfXIO_PlatformInfoRequest.cpp:17
double mDeadReckonInterval
Definition WsfXIO_PlatformInfoRequest.hpp:44
double mMaxDeadReckonOrientationError
Definition WsfXIO_PlatformInfoRequest.hpp:46
double GetMaxDeadReckonOrientationError() const
Definition WsfXIO_PlatformInfoRequest.hpp:38
unsigned int mInfoType
Definition WsfXIO_PlatformInfoRequest.hpp:42
double GetDeadReckonInterval() const
Definition WsfXIO_PlatformInfoRequest.hpp:36
virtual void Initialized()=0
WsfXIO_Request(WsfXIO_Connection *aConnectionPtr, bool aIsReliable=true)
Definition WsfXIO_Request.cpp:160
Copyrights Multiple, All Rights Reserved