WSF
WsfCyberEventUtils.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 2019 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
12#ifndef WSFCYBEREVENTUTILS_HPP
13#define WSFCYBEREVENTUTILS_HPP
14
15#include "wsf_cyber_export.h"
16
17#include <ostream>
18#include <sstream>
19
20namespace wsf
21{
22namespace cyber
23{
24class Engagement;
25} // namespace cyber
26namespace event
27{
28
29namespace utils
30{
31std::string WSF_CYBER_EXPORT GetCyberEvent(const std::string& aEvent, const cyber::Engagement& aEngagement);
32std::string WSF_CYBER_EXPORT GetThresholdDraw(double aThreshold, double aDraw);
33std::string WSF_CYBER_EXPORT GetAttackFailureReason(const cyber::Engagement& aEngagement);
34std::string WSF_CYBER_EXPORT GetAttackReportStatus(const cyber::Engagement& aEngagement);
35std::string WSF_CYBER_EXPORT GetImmunityStatus(const cyber::Engagement& aEngagement);
36std::string WSF_CYBER_EXPORT GetScanFailureReason(const cyber::Engagement& aEngagement);
37} // namespace utils
38
39namespace utilsCSV
40{
41std::string WSF_CYBER_EXPORT GetCyberEvent(const std::string& aEventName, const cyber::Engagement& aEngagement);
42} // namespace utilsCSV
43
44} // namespace event
45} // namespace wsf
46
47#endif
A class that represents the cyber engagements between two platforms.
Definition WsfCyberEngagement.hpp:37
Definition WsfCyberApplicationExtension.cpp:24
csv_event_output utilities for printing of CSV based event results
Definition WsfXIO_EventUtils.cpp:30
std::string GetCyberEvent(const std::string &aEventName, const cyber::Engagement &aEngagement)
Definition WsfCyberEventUtils.cpp:99
event_output utilities for printing of text based event results
Definition WsfXIO_EventUtils.cpp:22
std::string GetAttackReportStatus(const cyber::Engagement &aEngagement)
Definition WsfCyberEventUtils.cpp:64
std::string GetThresholdDraw(double aThreshold, double aDraw)
Definition WsfCyberEventUtils.cpp:40
std::string GetCyberEvent(const std::string &aEvent, const cyber::Engagement &aEngagement)
Definition WsfCyberEventUtils.cpp:33
std::string GetAttackFailureReason(const cyber::Engagement &aEngagement)
Definition WsfCyberEventUtils.cpp:48
std::string GetImmunityStatus(const cyber::Engagement &aEngagement)
Definition WsfCyberEventUtils.cpp:74
std::string GetScanFailureReason(const cyber::Engagement &aEngagement)
Definition WsfCyberEventUtils.cpp:80
Definition WsfXIO_EventResults.cpp:33
Function definitions for those who need run-time access to the version.
Definition WsfComm.cpp:32
Copyrights Multiple, All Rights Reserved