WSF
WsfDefaultBattleManagerImpl.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: WsfDefaultBattleManagerImpl.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 class provides default implementations in C++ for
23* what could be overridden in script for the Battle 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_BATTLE_MANAGER_IMPL_HPP
30#define WSF_DEFAULT_BATTLE_MANAGER_IMPL_HPP
31
32#include <string>
33#include <set>
34
35#include "UtInput.hpp"
36#include "WsfMessage.hpp"
37
38#include "WsfBMCommon.hpp"
39
40// forward declarations
41class WsfPlatform;
43
44class WSF_IADS_C2_LIB_EXPORT WsfDefaultBattleManagerImpl
45{
46 public:
48
49 virtual bool ProcessInput(UtInput& aInput);
50 virtual void Initialize(WsfBattleManager* bm);
51 virtual void Initialize2(WsfBattleManager* bm);
52
53 virtual void on_update(const double sim_time_s, WsfPlatform* this_plat, WsfBattleManager* bm);
54 virtual bool on_message(const double sim_time_s, const WsfMessage& message, WsfBattleManager* bm);
55};
56
57#endif
Definition WsfBattleManager.hpp:61
virtual void on_update(const double sim_time_s, WsfPlatform *this_plat, WsfBattleManager *bm)
Definition WsfDefaultBattleManagerImpl.cpp:63
virtual void Initialize(WsfBattleManager *bm)
Definition WsfDefaultBattleManagerImpl.cpp:53
WsfDefaultBattleManagerImpl()
Definition WsfDefaultBattleManagerImpl.cpp:42
virtual void Initialize2(WsfBattleManager *bm)
Definition WsfDefaultBattleManagerImpl.cpp:58
virtual bool on_message(const double sim_time_s, const WsfMessage &message, WsfBattleManager *bm)
Definition WsfDefaultBattleManagerImpl.cpp:68
virtual bool ProcessInput(UtInput &aInput)
Definition WsfDefaultBattleManagerImpl.cpp:46
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