WSF
WsfRIPRCommon.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 WSF_RIPR_COMMON_HPP
16#define WSF_RIPR_COMMON_HPP
17
18#include <list>
19#include <map>
20#include <vector>
21
22#include "UtScriptData.hpp"
23#include "WsfStringId.hpp"
24
27namespace ripr
28{
29typedef std::map<UtScriptData, UtScriptData> RIPRJobDataMap;
30typedef std::vector<int> RIPRWinnerIdList;
31typedef std::map<unsigned int, int> RIPRWinnerMap;
32typedef std::map<unsigned int, double> RIPRJobProgressMap;
33typedef std::pair<unsigned int, double> RIPRBidderPair;
34typedef std::list<RIPRBidderPair> RIPRBidderList;
35typedef std::vector<unsigned int> JobChannelIdList;
36typedef std::map<int, int> RIPRChannelJobMap;
37typedef std::multimap<std::string, unsigned int> JobTypeChannelsMap;
38
40{
41 bool operator()(const RIPRBidderPair& aLhs, const RIPRBidderPair& aRhs) const { return aLhs.first < aRhs.first; }
42};
43
68typedef std::list<RIPRCommanderInfo> RIPRCommanderList;
69
70} // namespace ripr
71
72#endif
UtStringId WsfStringId
WsfStringId – the same thing as UtStringId.
Definition WsfStringId.hpp:23
Definition WsfRIPRCommon.hpp:28
std::map< int, int > RIPRChannelJobMap
Definition WsfRIPRCommon.hpp:36
std::map< UtScriptData, UtScriptData > RIPRJobDataMap
Definition WsfRIPRCommon.hpp:29
std::list< RIPRBidderPair > RIPRBidderList
Definition WsfRIPRCommon.hpp:34
std::pair< unsigned int, double > RIPRBidderPair
Definition WsfRIPRCommon.hpp:33
std::map< unsigned int, double > RIPRJobProgressMap
Definition WsfRIPRCommon.hpp:32
std::multimap< std::string, unsigned int > JobTypeChannelsMap
Definition WsfRIPRCommon.hpp:37
std::vector< unsigned int > JobChannelIdList
Definition WsfRIPRCommon.hpp:35
std::vector< int > RIPRWinnerIdList
Definition WsfRIPRCommon.hpp:30
std::list< RIPRCommanderInfo > RIPRCommanderList
Definition WsfRIPRCommon.hpp:68
std::map< unsigned int, int > RIPRWinnerMap
Definition WsfRIPRCommon.hpp:31
Definition WsfRIPRCommon.hpp:48
WsfStringId mRIPRProcessorName
Definition WsfRIPRCommon.hpp:52
void Serialize(T &aBuff)
For XIO (de)serialization.
Definition WsfRIPRCommon.hpp:56
WsfStringId mPlatformName
Definition WsfRIPRCommon.hpp:51
size_t mPlatformIndex
Definition WsfRIPRCommon.hpp:50
bool operator<(const RIPRCommanderInfo &aRhs) const
Definition WsfRIPRCommon.hpp:60
WsfStringId mCommandChainName
Definition WsfRIPRCommon.hpp:49
Definition WsfRIPRCommon.hpp:40
bool operator()(const RIPRBidderPair &aLhs, const RIPRBidderPair &aRhs) const
Definition WsfRIPRCommon.hpp:41
Copyrights Multiple, All Rights Reserved