WSF
WsfGroupTypes.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#ifndef WSFGROUPTYPES_HPP
13#define WSFGROUPTYPES_HPP
14
15#include "WsfGroup.hpp"
16#include "WsfObjectTypeList.hpp"
17#include "WsfPlatform.hpp"
18#include "WsfPlatformPart.hpp"
19
20class WsfGroupTypes : public WsfObjectTypeList<WsfGroup>
21{
22public:
24
25 static WSF_EXPORT WsfGroupTypes& Get(WsfScenario& aScenario);
26 static WSF_EXPORT const WsfGroupTypes& Get(const WsfScenario& aScenario);
28
29 WsfGroupTypes(WsfScenario& aScenario);
30
31 bool LoadType(UtInput& aInput, WsfPlatformPart* aPlatformPartPtr);
32 bool LoadType(UtInput& aInput, WsfPlatform* aPlatformPtr);
33
34 LoadResult LoadType(UtInput& aInput) override;
35
36 bool JoinGroupType(const std::string& aGroupType, const std::string& aGroupName, WsfPlatform* aPlatformPtr) const;
37
38 bool JoinGroupType(const std::string& aGroupType, const std::string& aGroupName, WsfPlatformPart* aPlatformPartPtr) const;
39
40private:
41};
42
43#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
bool JoinGroupType(const std::string &aGroupType, const std::string &aGroupName, WsfPlatform *aPlatformPtr) const
Definition WsfGroupTypes.cpp:52
static WSF_EXPORT WsfGroupTypes & Get(WsfScenario &aScenario)
Return a modifiable reference to the type list associated with the specified scenario.
Definition WsfGroupTypes.cpp:26
WsfGroupTypes(WsfScenario &aScenario)
Definition WsfGroupTypes.cpp:39
bool LoadType(UtInput &aInput, WsfPlatformPart *aPlatformPartPtr)
Definition WsfGroupTypes.cpp:167
WsfObjectTypeList(WsfScenario &aScenario, unsigned int aFlags, const std::string &aBlockName)
Definition WsfObjectTypeList.hpp:76
Definition WsfPlatformPart.hpp:61
Platforms represent a entity within the simulation.
Definition WsfPlatform.hpp:115
Contains the data required to create a simulation, and acts as the entry point for input file process...
Definition WsfScenario.hpp:111
Copyrights Multiple, All Rights Reserved