WSF
PPLI_MessageProxy.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI//REL TO USA ONLY
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#ifndef L16_PPLI_MESSAGEPROXY_HPP
12#define L16_PPLI_MESSAGEPROXY_HPP
13
14#include <string>
15
16#include "MessagesPreDef.hpp"
17
18namespace WsfL16
19{
22{
23public:
24 virtual ~PPLI_MessageProxy() {}
25
33
34 virtual bool GetLocationLLA(double& aLat, double& aLon, double& aAlt) const = 0;
35
36 virtual double GetSpeed() const = 0;
37
38 virtual double GetCourse() const = 0;
39
40 virtual std::string GetCallsign() const = 0;
41
42 virtual void SetLocationLLA(double aLat, double aLon, double aAlt) = 0;
43
44
46 virtual Environment GetEnvironment() const = 0;
47
48 static PPLI_MessageProxy* Create(Messages::InitialBase* aMsg);
49 static const PPLI_MessageProxy* Create(const Messages::InitialBase* aMsg);
50
51private:
52};
53} // namespace WsfL16
54#endif
Allows access to PPLI message in a generic format.
Definition PPLI_MessageProxy.hpp:22
virtual Environment GetEnvironment() const =0
Returns the environment – determined by the message type.
Environment
Definition PPLI_MessageProxy.hpp:27
@ cAIR
Definition PPLI_MessageProxy.hpp:28
@ cSUBSURFACE
Definition PPLI_MessageProxy.hpp:30
@ cSURFACE
Definition PPLI_MessageProxy.hpp:29
@ cLAND
Definition PPLI_MessageProxy.hpp:31
virtual ~PPLI_MessageProxy()
Definition PPLI_MessageProxy.hpp:24
virtual void SetLocationLLA(double aLat, double aLon, double aAlt)=0
static PPLI_MessageProxy * Create(Messages::InitialBase *aMsg)
Definition PPLI_MessageProxy.cpp:258
virtual std::string GetCallsign() const =0
virtual double GetSpeed() const =0
virtual double GetCourse() const =0
virtual bool GetLocationLLA(double &aLat, double &aLon, double &aAlt) const =0
This file should be included prior to defining a message. Currently there is a limit of 32 fields per...
Definition AllMessages.hpp:55
Copyrights Multiple, All Rights Reserved