WSF
WsfExtension.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 WSFEXTENSION_HPP
13#define WSFEXTENSION_HPP
14
15#include "wsf_export.h"
16
17#include <string>
18
19// Forward declarations for exceptions.
20class WsfDuplicationExtension;
22
25{
26public:
27 virtual ~WsfExtension() = default;
28
31 const std::string& GetExtensionName() const { return mExtensionName; }
32
33protected:
34 void InitializeExtensionName(const std::string& aName);
35
36private:
37 std::string mExtensionName;
38};
39
40#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
The base class for application, scenario and simulation extensions.
Definition WsfExtension.hpp:25
const std::string & GetExtensionName() const
Definition WsfExtension.hpp:31
virtual ~WsfExtension()=default
Exception thrown when attempting to get an unknown extension.
Definition WsfExtensionList.hpp:28
Copyrights Multiple, All Rights Reserved