WSF
WsfCallbackTypes.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 WSFCALLBACKTYPES_HPP
13#define WSFCALLBACKTYPES_HPP
14
15#include "WsfCallback.hpp"
16#include "WsfObjectTypeList.hpp"
17
18class WsfCallbackTypes : public WsfObjectTypeList<WsfCallback>
19{
20public:
22
23 static WSF_EXPORT WsfCallbackTypes& Get(WsfScenario& aScenario);
24 static WSF_EXPORT const WsfCallbackTypes& Get(const WsfScenario& aScenario);
26
27 WsfCallbackTypes(WsfScenario& aScenario);
28 LoadResult LoadType(UtInput& aInput) override;
29 bool LoadInstance(UtInput& aInput, WsfPlatform& aPlatform);
30};
31
32#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
bool LoadInstance(UtInput &aInput, WsfPlatform &aPlatform)
Definition WsfCallbackTypes.cpp:67
static WSF_EXPORT WsfCallbackTypes & Get(WsfScenario &aScenario)
Return a modifiable reference to the type list associated with the specified scenario.
Definition WsfCallbackTypes.cpp:39
WsfCallbackTypes(WsfScenario &aScenario)
Definition WsfCallbackTypes.cpp:52
LoadResult LoadType(UtInput &aInput) override
Definition WsfCallbackTypes.cpp:131
WsfObjectTypeList(WsfScenario &aScenario, unsigned int aFlags, const std::string &aBlockName)
Definition WsfObjectTypeList.hpp:76
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