WSF
WsfDefaultSensorsManagerImpl.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// The use, dissemination or disclosure of data in this file is subject to
7// limitation or restriction. See accompanying README and LICENSE for details.
8// ****************************************************************************
9/*******************************************************************************
10*
11* File: WsfDefaultSensorsManagerImpl.hpp
12*
13* Classification: UNCLASSIFIED
14*
15* Details:
16*
17* Contract Number:
18* Contractor Name: Radiance Technologies
19* Address: 350 Wynn Drive
20* Huntsville, AL 35805
21*
22* Abstract: This abstract class provides default implementations in C++ for
23* what could be overridden in script for the Sensors Manager base class.
24* The intention was to provide the classical implementation of what was originally
25* done in script so default usage of the processor works without supplemental scripting.
26*
27*******************************************************************************/
28
29#ifndef WSF_DEFAULT_SENSORS_MANAGER_IMPL_HPP
30#define WSF_DEFAULT_SENSORS_MANAGER_IMPL_HPP
31
32#include <memory>
33
34#include <WsfBMCommon.hpp>
36#include <WsfBMTrackMessage.hpp>
37
38// forward declarations
39class WsfPlatform;
40class WsfAssetManager;
41class WsfMessage;
43
44class WSF_IADS_C2_LIB_EXPORT WsfDefaultSensorsManagerImpl
45{
46 public:
48
49 virtual bool ProcessInput(UtInput& aInput);
50 virtual void Initialize(WsfBMSensorsManager* sm);
51 virtual void Initialize2(WsfBMSensorsManager* sm);
52
53 virtual void on_update(const double sim_time_s, WsfPlatform* this_plat, WsfBMSensorsManager* sm);
54 virtual bool on_message(const double sim_time_s, const WsfMessage& message, WsfBMSensorsManager* sm);
55
56 private:
57 WsfAssetManager* m_am_ref;
58};
59
60#endif
Definition WsfAssetManager.hpp:63
Definition WsfBMSensorsManager.hpp:50
virtual void Initialize(WsfBMSensorsManager *sm)
Definition WsfDefaultSensorsManagerImpl.cpp:53
WsfDefaultSensorsManagerImpl()
Definition WsfDefaultSensorsManagerImpl.cpp:44
virtual bool ProcessInput(UtInput &aInput)
Definition WsfDefaultSensorsManagerImpl.cpp:48
virtual void Initialize2(WsfBMSensorsManager *sm)
Definition WsfDefaultSensorsManagerImpl.cpp:58
virtual bool on_message(const double sim_time_s, const WsfMessage &message, WsfBMSensorsManager *sm)
Definition WsfDefaultSensorsManagerImpl.cpp:99
virtual void on_update(const double sim_time_s, WsfPlatform *this_plat, WsfBMSensorsManager *sm)
Definition WsfDefaultSensorsManagerImpl.cpp:71
A base class for messages sent among simulation communication objects, processors and sensors.
Definition WsfMessage.hpp:33
Platforms represent a entity within the simulation.
Definition WsfPlatform.hpp:115
Copyrights Multiple, All Rights Reserved