NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Motion_PortVariable.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Motion_PortVariable.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/Motion_ControlPort.hxx>
22
#include <NXOpen/GeometricUtilities_IComponentBuilder.hxx>
23
#include <NXOpen/TaggedObject.hxx>
24
#include <NXOpen/libnxopencpp_motion_exports.hxx>
25
#ifdef _MSC_VER
26
#pragma warning(push)
27
#pragma warning(disable:4996)
28
#endif
29
#ifdef __GNUC__
30
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31
#endif
32
namespace
NXOpen
33
{
34
namespace
Motion
35
{
36
class
PortVariable
;
37
}
38
namespace
GeometricUtilities
39
{
40
class
IComponentBuilder
;
41
}
42
namespace
Motion
43
{
44
class
ControlPort
;
45
}
46
namespace
Motion
47
{
48
class
_PortVariableBuilder;
49
class
PortVariableImpl;
53
class
NXOPENCPP_MOTIONEXPORT PortVariable :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
54
{
55
private
:
PortVariableImpl
* m_portvariable_impl;
56
private
:
friend
class
_PortVariableBuilder;
57
protected
: PortVariable();
58
public
: ~PortVariable();
62
public
:
NXString
Name
63
(
64
);
68
public
:
int
Unit
69
(
70
);
74
public
:
NXString
AssociatedPortName
75
(
76
);
80
public
:
void
SetAssociatedPortName
81
(
82
const
NXString
& associatedPortName
83
);
87
void
SetAssociatedPortName
88
(
89
const
char
* associatedPortName
90
);
94
public
:
NXOpen::Motion::ControlPort
*
Port
95
(
96
);
101
public
:
virtual
bool
Validate
102
(
103
);
104
};
105
}
106
}
107
#ifdef _MSC_VER
108
#pragma warning(pop)
109
#endif
110
#ifdef __GNUC__
111
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
112
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
113
#endif
114
#endif
115
#undef EXPORTLIBRARY