WSF
WsfDisObserver.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 2018 Infoscitex, a DCS 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 WSFDISOBSERVER_HPP
12#define WSFDISOBSERVER_HPP
13
14#include "wsf_export.h"
15
16#include "UtCallback.hpp"
18#include "dis/WsfDisData.hpp"
22#include "dis/WsfDisSetData.hpp"
24#include "dis/WsfDisSignal.hpp"
28
29class WsfSimulation;
30
31namespace WsfObserver
32{
33template<class PDU>
34using PDU_ReceivedCallback = UtCallbackListN<void(WsfDisInterface*, const PDU&)>;
35
47} // namespace WsfObserver
48
65
66#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfDisInterface.hpp:83
The main controller for a simulation.
Definition WsfSimulation.hpp:109
Observer definitions for cyber events.
Definition WsfAdvancedBehaviorObserver.hpp:22
WSF_EXPORT PDU_ReceivedCallback< WsfDisSignal > & DisSignalReceived(const WsfSimulation *aSimulationPtr)
WSF_EXPORT PDU_ReceivedCallback< WsfDisEmission > & DisEmissionReceived(const WsfSimulation *aSimulationPtr)
WSF_EXPORT PDU_ReceivedCallback< WsfDisDesignator > & DisDesignatorReceived(const WsfSimulation *aSimulationPtr)
WSF_EXPORT PDU_ReceivedCallback< WsfDisTransmitter > & DisTransmitterReceived(const WsfSimulation *aSimulationPtr)
WSF_EXPORT PDU_ReceivedCallback< WsfDisAcknowledgeR > & DisAcknowledgeRReceived(const WsfSimulation *aSimulationPtr)
WSF_EXPORT PDU_ReceivedCallback< WsfDisSetRecordR > & DisSetRecordRReceived(const WsfSimulation *aSimulationPtr)
WSF_EXPORT PDU_ReceivedCallback< WsfDisEntityState > & DisEntityStateReceived(const WsfSimulation *aSimulationPtr)
UtCallbackListN< void(WsfDisInterface *, const PDU &)> PDU_ReceivedCallback
Definition WsfDisObserver.hpp:34
WSF_EXPORT PDU_ReceivedCallback< WsfDisStartResume > & DisStartResumeReceived(const WsfSimulation *aSimulationPtr)
WSF_EXPORT PDU_ReceivedCallback< WsfDisTransferOwnership > & DisTransferOwnershipReceived(const WsfSimulation *aSimulationPtr)
WSF_EXPORT PDU_ReceivedCallback< WsfDisSetData > & DisSetDataReceived(const WsfSimulation *aSimulationPtr)
WSF_EXPORT PDU_ReceivedCallback< WsfDisData > & DisDataReceived(const WsfSimulation *aSimulationPtr)
Definition WsfDisObserver.hpp:52
WsfObserver::PDU_ReceivedCallback< WsfDisTransferOwnership > TransferOwnershipReceived
Definition WsfDisObserver.hpp:62
WsfObserver::PDU_ReceivedCallback< WsfDisEmission > EmissionReceived
Definition WsfDisObserver.hpp:56
WsfObserver::PDU_ReceivedCallback< WsfDisStartResume > StartResumeReceived
Definition WsfDisObserver.hpp:61
WsfObserver::PDU_ReceivedCallback< WsfDisSetRecordR > SetRecordRReceived
Definition WsfDisObserver.hpp:59
WsfObserver::PDU_ReceivedCallback< WsfDisSignal > SignalReceived
Definition WsfDisObserver.hpp:60
WsfObserver::PDU_ReceivedCallback< WsfDisEntityState > EntityStateReceived
Definition WsfDisObserver.hpp:57
WsfObserver::PDU_ReceivedCallback< WsfDisAcknowledgeR > AcknowledgeRReceived
Definition WsfDisObserver.hpp:53
WsfObserver::PDU_ReceivedCallback< WsfDisData > DataReceived
Definition WsfDisObserver.hpp:54
WsfObserver::PDU_ReceivedCallback< WsfDisDesignator > DesignatorReceived
Definition WsfDisObserver.hpp:55
WsfObserver::PDU_ReceivedCallback< WsfDisSetData > SetDataReceived
Definition WsfDisObserver.hpp:58
WsfObserver::PDU_ReceivedCallback< WsfDisTransmitter > TransmitterReceived
Definition WsfDisObserver.hpp:63
Copyrights Multiple, All Rights Reserved