NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_MechatronicsSession.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件:JA API
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_MechatronicsSession.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_mechatronics_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
Mechatronics
33
{
34
class
MechatronicsSession
;
35
}
36
class
Session
;
37
namespace
Mechatronics
38
{
39
class
LogicObject
;
40
}
41
namespace
Mechatronics
42
{
43
class
MechatronicsSessionImpl;
47
class
NXOPENCPP_MECHATRONICSEXPORT
MechatronicsSession
48
{
50
public
:
enum
SimulationAction
51
{
52
SimulationActionStart
,
53
SimulationActionRestart
,
54
SimulationActionPause
,
55
SimulationActionResume
,
56
SimulationActionStop
57
};
58
private
:
MechatronicsSessionImpl
* m_mechatronicssession_impl;
59
private
:
NXOpen::Session
* m_owner;
61
public
:
explicit
MechatronicsSession
(
NXOpen::Session
*owner);
63
public
:
65
tag_t
Tag
()
const
;
66
public
:
~MechatronicsSession
();
70
public
:
void
PerformSimulation
71
(
72
NXOpen::Mechatronics::MechatronicsSession::SimulationAction
action
73
);
77
public
:
void
GetLogicalTypes
78
(
79
std::vector<NXString> & logicalTypeNames ,
80
std::vector<NXString> & logicalTypeBitmaps
81
);
85
public
:
void
GetLogicalAttributeNames
86
(
87
std::vector<NXString> & attributeNames
88
);
92
public
: std::vector<NXString>
GetLogicalAttributeValues
93
(
94
NXOpen::Mechatronics::LogicObject
* logicalObject ,
95
std::vector<NXString> & attributeNames
96
);
100
public
: std::vector<NXOpen::Mechatronics::LogicObject *>
GetExportableLogicalObjects
101
(
102
NXOpen::Mechatronics::LogicObject
* logicalObject
103
);
104
};
//lint !e1712 default constructor not defined for class
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