NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
SelectionSubscriber.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// SelectionSubscriber.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/TransientObject.hxx>
22
#include <NXOpen/libnxopenuicpp_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
class
SelectionSubscriber
;
33
class
TaggedObject
;
34
class
SelectionSubscriberImpl;
40
class
NXOPENUICPPEXPORT
SelectionSubscriber
:
public
NXOpen::TransientObject
41
{
42
public
:
45
typedef
NXOpen::Callback3<void, bool, std::vector<NXOpen::TaggedObject *>
, std::vector<NXOpen::TaggedObject *>>
OnSelectionChangeCallback
;
46
private
:
SelectionSubscriberImpl
* m_selectionsubscriber_impl;
48
public
:
explicit
SelectionSubscriber
(
void
*ptr);
50
53
public
:
void
Activate
54
(
55
);
59
public
:
void
Deactivate
60
(
61
);
65
public
:
bool
IsActive
66
(
67
);
71
public
:
void
RegisterOnSelectionChangeCallback
72
(
73
const
NXOpen::SelectionSubscriber::OnSelectionChangeCallback
& callbackToRegister
74
);
78
public
:
virtual
~SelectionSubscriber
();
80
83
public
:
void
IsTest
84
(
85
const
std::vector<NXOpen::TaggedObject *> & removeList
86
);
88
};
//lint !e1712 default constructor not defined for class
89
}
90
#ifdef _MSC_VER
91
#pragma warning(pop)
92
#endif
93
#ifdef __GNUC__
94
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
95
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
96
#endif
97
#endif
98
#undef EXPORTLIBRARY