WSF
OutputItem.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// 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 OUTPUTITEM_HPP
16#define OUTPUTITEM_HPP
17
18#include <iosfwd>
19#include <string>
20
21class UtInput;
22
23
24namespace engage
25{
26
27class Simulation;
28
35{
36public:
45
46 OutputItem();
47
48 bool ProcessInput(UtInput& aInput);
49
50 void SetRealVariable(size_t aVariableIndex, double aScaleFactor)
51 {
53 mVariableIndex = aVariableIndex;
54 mScaleFactor = aScaleFactor;
55 }
56
57 void DoOutput(std::ostream& aStream, Simulation& aSimulation) const;
58
61 std::string mFormat;
62 std::string mLiteral;
64};
65
66} // namespace engage
67
68#endif
void DoOutput(std::ostream &aStream, Simulation &aSimulation) const
Definition OutputItem.cpp:111
std::string mLiteral
Definition OutputItem.hpp:62
ItemType mItemType
Definition OutputItem.hpp:59
void SetRealVariable(size_t aVariableIndex, double aScaleFactor)
Definition OutputItem.hpp:50
ItemType
Definition OutputItem.hpp:38
@ cINTEGER_VARIABLE
Definition OutputItem.hpp:40
@ cLITERAL
Definition OutputItem.hpp:42
@ cREAL_VARIABLE
Definition OutputItem.hpp:39
@ cNEW_LINE
Definition OutputItem.hpp:43
@ cSTRING_VARIABLE
Definition OutputItem.hpp:41
bool ProcessInput(UtInput &aInput)
Definition OutputItem.cpp:40
size_t mVariableIndex
Definition OutputItem.hpp:60
double mScaleFactor
Definition OutputItem.hpp:63
std::string mFormat
Definition OutputItem.hpp:61
OutputItem()
Definition OutputItem.cpp:30
Definition Simulation.hpp:34
Definition ApplicationExtension.cpp:26
Copyrights Multiple, All Rights Reserved