WSF
WsfEventOutput.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 WSFEVENTOUTPUT_HPP
16#define WSFEVENTOUTPUT_HPP
17
18#include "wsf_export.h"
19
21
30
33{
34public:
35 static WsfEventOutput* Find(const WsfSimulation& aSimulation);
36
38 : wsf::event::output::SimulationExtension(mEVT_Data)
39 , mEVT_Data(std::move(aData))
40 {
41 }
42
43private:
44 void PrintEvent(const wsf::event::Result& aResult) const override;
45
46 WsfEventOutputData mEVT_Data;
47};
48
49#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
static WsfEventOutput * Find(const WsfSimulation &aSimulation)
Definition WsfEventOutput.cpp:22
WsfEventOutput(WsfEventOutputData aData)
Definition WsfEventOutput.hpp:37
friend class WsfSimulation
Definition WsfSimulationExtension.hpp:43
Definition WsfEventResult.hpp:117
A simulation extension that serves as an abstract base class for observers which write an event outpu...
Definition WsfEventOutputBase.hpp:48
SimulationExtension(Data &aData)
Definition WsfEventOutputBase.hpp:50
virtual void PrintEvent(const Result &aResult) const =0
Print an event result in the desired format. Must be implemented by derived classes.
Template specialization for wsf::comm::Address. Allows usage of Address in std::unordered_map/set.
Definition WsfCommAddress.hpp:185
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Definition WsfEventOutput.hpp:23
bool mPrintCGMissDist
Definition WsfEventOutput.hpp:26
bool mPrintFailedSensorDetectionAttempts
Definition WsfEventOutput.hpp:28
bool mPrintFailedMessageDeliveryAttempts
Definition WsfEventOutput.hpp:27
bool ProcessInput(UtInput &aInput) override
Definition WsfEventOutput.cpp:33
Definition WsfEventOutputBase.hpp:36
Copyrights Multiple, All Rights Reserved