WSF
WsfFuelObserver.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 WSFFUELOBSERVER_HPP
13#define WSFFUELOBSERVER_HPP
14
15#include "wsf_export.h"
16
17#include "UtCallback.hpp"
18#include "WsfFuel.hpp"
20class WsfSimulation;
21
22namespace WsfObserver
23{
24using FuelEventCallback = UtCallbackListN<void(double, WsfFuel*, WsfStringId)>;
25using TankingEventCallback = UtCallbackListN<void(double, WsfFuelingOperation*, WsfStringId)>;
26
29} // namespace WsfObserver
30
34{
35 //-----------------------------------------------------------------------
36 // Callback attributes
37 //-----------------------------------------------------------------------
38
44
50};
51
52#endif
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfFuel.hpp:30
Definition WsfFuelingOperation.hpp:37
The main controller for a simulation.
Definition WsfSimulation.hpp:109
Observer definitions for cyber events.
Definition WsfAdvancedBehaviorObserver.hpp:22
UtCallbackListN< void(double, WsfFuelingOperation *, WsfStringId)> TankingEventCallback
Definition WsfFuelObserver.hpp:25
WSF_EXPORT TankingEventCallback & TankingEvent(const WsfSimulation *aSimulationPtr)
WSF_EXPORT FuelEventCallback & FuelEvent(const WsfSimulation *aSimulationPtr)
UtCallbackListN< void(double, WsfFuel *, WsfStringId)> FuelEventCallback
Definition WsfFuelObserver.hpp:24
Definition WsfFuelObserver.hpp:34
WsfObserver::FuelEventCallback FuelEvent
Definition WsfFuelObserver.hpp:43
WsfObserver::TankingEventCallback TankingEvent
Definition WsfFuelObserver.hpp:49
Copyrights Multiple, All Rights Reserved