WSF
WsfScriptMessageClass.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 WSFSCRIPTMESSAGECLASS_HPP
13#define WSFSCRIPTMESSAGECLASS_HPP
14
15#include "wsf_export.h"
16
17#include "UtScriptClass.hpp"
19
21class WSF_EXPORT WsfScriptMessageClass : public UtScriptClass
22{
23public:
24 WsfScriptMessageClass(const std::string& aClassName, UtScriptTypes* aTypesPtr);
25
26 ~WsfScriptMessageClass() override;
27
28 // See the base class for a description of Create, Clone, and Destroy.
29
30 void* Create(const UtScriptContext& aInstance) override;
31 void* Clone(void* aObjectPtr) override;
32 void Destroy(void* aObjectPtr) override;
33
34 // Each of the exported methods are defined as function objects.
35
40 UT_DECLARE_SCRIPT_METHOD(SetSizeInBytes);
53
55};
56
57#endif
#define UT_DECLARE_AUX_DATA_SCRIPT_METHODS()
Definition WsfScriptAuxDataUtil.hpp:194
#define WSF_EXPORT
Definition WsfXIO_Export.hpp:35
UT_DECLARE_SCRIPT_METHOD(Originator)
void * Create(const UtScriptContext &aInstance) override
Definition WsfScriptMessageClass.cpp:59
UT_DECLARE_SCRIPT_METHOD(SerialNumber)
void Destroy(void *aObjectPtr) override
Definition WsfScriptMessageClass.cpp:87
UT_DECLARE_SCRIPT_METHOD(SubType)
UT_DECLARE_SCRIPT_METHOD(SetType)
UT_DECLARE_SCRIPT_METHOD(SetSizeInBits)
WsfScriptMessageClass(const std::string &aClassName, UtScriptTypes *aTypesPtr)
Definition WsfScriptMessageClass.cpp:22
UT_DECLARE_SCRIPT_METHOD(SetSubType)
UT_DECLARE_SCRIPT_METHOD(DataTag)
UT_DECLARE_SCRIPT_METHOD(SizeInBytes)
UT_DECLARE_SCRIPT_METHOD(CreateDataTag)
UT_DECLARE_SCRIPT_METHOD(SizeInBits)
UT_DECLARE_SCRIPT_METHOD(Destination)
UT_DECLARE_SCRIPT_METHOD(NextHop)
UT_DECLARE_SCRIPT_METHOD(Priority)
UT_DECLARE_SCRIPT_METHOD(SetDataTag)
UT_DECLARE_SCRIPT_METHOD(SetSizeInBytes)
UT_DECLARE_SCRIPT_METHOD(SetPriority)
void * Clone(void *aObjectPtr) override
Definition WsfScriptMessageClass.cpp:80
Copyrights Multiple, All Rights Reserved