WSF
WsfBMAssetRecord.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// Classification: UNCLASSIFIED
10
11#ifndef WSF_BM_ASSET_HPP
12#define WSF_BM_ASSET_HPP
13
14#include <string>
15#include <map>
16#include <vector>
17#include <memory>
18
19#include <UtInput.hpp>
20#include <WsfObject.hpp>
21#include <WsfPlatform.hpp>
22#include <WsfZoneDefinition.hpp>
23
24#include "WsfBMCommon.hpp"
26
27#include <iadsLib/assetRecord.hpp>
28
29class WsfAssetMap;
30
31class WSF_IADS_C2_LIB_EXPORT WsfBMAssetRecord : public WsfObject
32{
33 public:
34
35 WsfBMAssetRecord(std::weak_ptr<il::logger::GlobalLogger> aGlobalLogger);
36 WsfBMAssetRecord(const std::shared_ptr<il::assetRecord>& raw_record);
38
39 WsfBMAssetRecord* Clone() const override;
40
41 inline const char* GetScriptClassName() const override { return "WsfBMAssetRecord"; }
42
43 // Wrapper accessors
44 inline const std::shared_ptr<il::assetRecord>& GetRawRecord() const { return m_record; }
45 inline void SetRawRecord(const std::shared_ptr<il::assetRecord>& record) { m_record = record; }
46
47 private:
48 std::shared_ptr<il::assetRecord> m_record;
49};
50
51#endif
Definition WsfAssetMap.hpp:23
const char * GetScriptClassName() const override
Definition WsfBMAssetRecord.hpp:41
const std::shared_ptr< il::assetRecord > & GetRawRecord() const
Definition WsfBMAssetRecord.hpp:44
void SetRawRecord(const std::shared_ptr< il::assetRecord > &record)
Definition WsfBMAssetRecord.hpp:45
WsfBMAssetRecord(std::weak_ptr< il::logger::GlobalLogger > aGlobalLogger)
Definition WsfBMAssetRecord.cpp:19
WsfObject()
This is the constructor for the WsfObject class.
Definition WsfObject.cpp:88
virtual WsfObject * Clone() const =0
Copyrights Multiple, All Rights Reserved