WSF
WsfBMPluginUtilities.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// The use, dissemination or disclosure of data in this file is subject to
7// limitation or restriction. See accompanying README and LICENSE for details.
8// ****************************************************************************
9/*******************************************************************************
10*
11* File: WsfBMPluginUtilities.hpp
12*
13* Classification: UNCLASSIFIED
14*
15* Details:
16*
17* Contract Number:
18* Contractor Name: Radiance Technologies
19* Address: 350 Wynn Drive
20* Huntsville, AL 35805
21*
22* Abstract: This is a core class implementation for a HELIOS-like C2 dissemination
23* model. It may be used or extended to meet individual IADS needs.
24*
25*******************************************************************************/
26
27#ifndef WSF_BM_PLUGIN_UTILITIES_HPP
28#define WSF_BM_PLUGIN_UTILITIES_HPP
29
30#include <string>
32#include <WsfPlugin.hpp>
33#include <WsfApplication.hpp>
34#include <WsfBMCommon.hpp>
35
36void RegisterBaseTypes(WsfApplication* aApplicationPtr);
37bool WSF_IADS_C2_LIB_EXPORT IsClassTypeRegistered(WsfApplication* aApplicationPtr, const std::string& type_name);
38// plugin types don't necessarily register themselves through the script manager. Therefore, to check plugin type registration,
39// use this call.
40// Class name in this case is the registered object type and type name is the object name registered
41extern "C" WSF_IADS_C2_LIB_EXPORT bool IsApplicationExtensionRegistered(WsfApplication* aApplicationPtr, const std::string& name);
42
43#endif
WSF_IADS_C2_LIB_EXPORT bool IsApplicationExtensionRegistered(WsfApplication *aApplicationPtr, const std::string &name)
Definition WsfBMPluginUtilities.cpp:152
bool WSF_IADS_C2_LIB_EXPORT IsClassTypeRegistered(WsfApplication *aApplicationPtr, const std::string &type_name)
Definition WsfBMPluginUtilities.cpp:144
void RegisterBaseTypes(WsfApplication *aApplicationPtr)
Definition WsfBMPluginUtilities.cpp:61
Definition WsfApplication.hpp:45
Copyrights Multiple, All Rights Reserved