WSF
WsfSensorSchedulerTypes.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 2020 Infoscitex, a DCS 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 WSFSENSORSCHEDULERTYPES_HPP
13#define WSFSENSORSCHEDULERTYPES_HPP
14
15#include <functional>
16#include <memory>
17#include <string>
18
19class UtInput;
20#include "wsf_export.h"
22
24{
25using FactoryPtr = std::function<std::unique_ptr<WsfSensorScheduler>(const std::string&)>;
26
27bool LoadInstance(UtInput& aInput, std::unique_ptr<WsfSensorScheduler>& aSensorSchedulerPtr);
28
29WSF_EXPORT void AddObjectFactory(FactoryPtr aFactoryPtr);
30} // namespace WsfSensorSchedulerTypes
31
32#endif
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
Definition WsfSensorScheduler.hpp:29
Definition WsfSensorSchedulerTypes.hpp:24
std::function< std::unique_ptr< WsfSensorScheduler >(const std::string &)> FactoryPtr
Definition WsfSensorSchedulerTypes.hpp:25
bool LoadInstance(UtInput &aInput, std::unique_ptr< WsfSensorScheduler > &aSensorSchedulerPtr)
Definition WsfSensorSchedulerTypes.cpp:44
WSF_EXPORT void AddObjectFactory(FactoryPtr aFactoryPtr)
Definition WsfSensorSchedulerTypes.cpp:102
Copyrights Multiple, All Rights Reserved