NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
ShipDesign_ApplicationUtils.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 船舶API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// ShipDesign_ApplicationUtils.ja
9
//
10
// 生成工具:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成,请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.hxx>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/TaggedObject.hxx>
22
#include <NXOpen/libnxopencpp_shipdesign_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
namespace
ShipDesign
33
{
34
class
ApplicationUtils
;
35
}
36
namespace
ShipDesign
37
{
38
class
ShipSession
;
39
}
40
class
Part
;
41
namespace
ShipDesign
42
{
43
class
ApplicationUtilsImpl;
47
class
NXOPENCPP_SHIPDESIGNEXPORT
ApplicationUtils
48
{
49
private
:
ApplicationUtilsImpl
* m_applicationutils_impl;
50
private
:
NXOpen::ShipDesign::ShipSession
* m_owner;
52
public
:
explicit
ApplicationUtils
(
NXOpen::ShipDesign::ShipSession
*owner);
54
public
:
56
tag_t
Tag
()
const
;
57
public
:
~ApplicationUtils
();
62
public
:
NX_DEPRECATED
(
"于NX2007.0.0版本弃用。 该功能不再受支持。"
) void
RegisterButtonApplication
63
(
64
int
appId ,
65
const
NXString
&
buttonName
66
);
71
void
RegisterButtonApplication
72
(
73
int
appId ,
74
const
char
*
buttonName
75
);
80
public:
NX_DEPRECATED
(
"于NX2007.0.0版本弃用。 该功能不再受支持。"
)
void
RegisterApplicationForModlFeatureEdit
81
(
82
const
NXString
& appName
83
);
88
void
RegisterApplicationForModlFeatureEdit
89
(
90
const
char
* appName
91
);
96
public:
NX_DEPRECATED
(
"于NX2007.0.0版本弃用。 该功能不再受支持。"
)
void
RegisterApplicationSensitivityOnApplicationChange
97
(
98
const
NXString
& appName ,
99
std::vector<
NXString
> &
appsWhereToLive
100
);
105
void
RegisterApplicationSensitivityOnApplicationChange
106
(
107
const
char
* appName ,
108
std::vector<
NXString
> &
appsWhereToLive
109
);
114
public:
NX_DEPRECATED
(
"于NX2007.0.0版本弃用。 该功能不再受支持。"
)
void
RegisterLastApplication
115
(
116
NXOpen
::
Part
* part ,
117
const
NXString
& appName
118
);
123
void
RegisterLastApplication
124
(
125
NXOpen
::
Part
* part ,
126
const
char
* appName
127
);
128
};
//lint !e1712 default constructor not defined for class
129
}
130
}
131
#ifdef _MSC_VER
132
#pragma warning(pop)
133
#endif
134
#ifdef __GNUC__
135
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
136
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
137
#endif
138
#endif
139
#undef EXPORTLIBRARY