WSF
WsfMoverMode.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 WSFMOVERMODE_HPP
16#define WSFMOVERMODE_HPP
17
18#include "wsf_export.h"
19
20#include "WsfMode.hpp"
21#include "WsfMover.hpp"
22#include "WsfStringId.hpp"
23
29{
30public:
32 WsfMoverMode(const WsfMoverMode& aSrc);
34 ~WsfMoverMode() override = default;
35
38
40 WsfMover* GetMover() const { return mMoverPtr; }
41
43 WsfMode* Clone() const override = 0;
44
46 virtual bool Initialize(double aSimTime, WsfMover* aMoverPtr);
47
48 bool ProcessInput(UtInput& aInput) override;
49
54 void Deselect(double aSimTime) override = 0;
55
60 void Select(double aSimTime) override = 0;
61
62protected:
67};
68
69#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
virtual bool ProcessInput(UtInput &aInput)
Definition WsfMode.cpp:24
WsfMode()
Definition WsfMode.cpp:15
virtual bool Initialize(double aSimTime, WsfMover *aMoverPtr)
Initialize the Mover Mode.
Definition WsfMoverMode.cpp:63
WsfMover * GetMover() const
Return the pointer to the Mover with which this mode is associated.
Definition WsfMoverMode.hpp:40
WsfMoverMode()
Definition WsfMoverMode.cpp:30
WsfPlatform * mPlatformPtr
Pointer to the platform with which the sensor is associated.
Definition WsfMoverMode.hpp:66
WsfMover * mMoverPtr
Pointer to the Mover with which the mode is associated.
Definition WsfMoverMode.hpp:64
void Deselect(double aSimTime) override=0
WsfMode * Clone() const override=0
Create an exact duplicate of this mode.
WsfPlatform * GetPlatform() const
Return the pointer to the platform to which the associated sensor is attached.
Definition WsfMoverMode.hpp:37
void Select(double aSimTime) override=0
~WsfMoverMode() override=default
Definition WsfMover.hpp:37
WsfNamed & operator=(const WsfNamed &)=default
Platforms represent a entity within the simulation.
Definition WsfPlatform.hpp:115
Copyrights Multiple, All Rights Reserved