NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Routing_Run.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 管路分析(JA)API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Routing_Run.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/NXObject.hxx>
22#include <NXOpen/Routing_CharacteristicList.hxx>
23#include <NXOpen/Routing_RunItem.hxx>
24#include <NXOpen/libnxopencpp_routing_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
32namespace NXOpen
33{
34 namespace Routing
35 {
36 class Run;
37 }
38 namespace Assemblies
39 {
40 class Component;
41 }
42 class NXObject;
43 class ObjectList;
44 namespace Routing
45 {
47 }
48 namespace Routing
49 {
50 class ISegment;
51 }
52 namespace Routing
53 {
54 class RoutingSystem;
55 }
56 namespace Routing
57 {
58 class RunItem;
59 }
60 namespace Routing
61 {
62 class _RunBuilder;
63 class RunImpl;
67 class NXOPENCPP_ROUTINGEXPORT Run : public NXOpen::NXObject
68 {
76
87
99 private: RunImpl * m_run_impl;
100 private: friend class _RunBuilder;
101 protected: Run();
102public: ~Run();
108 (
109 );
115 (
116 );
121 public: std::vector<NXOpen::NXObject *> GetFromItems
122 (
123 );
128 public: std::vector<NXOpen::Routing::RunItem *> GetFromItemData
129 (
130 );
135 public: std::vector<NXOpen::NXObject *> GetToItems
136 (
137 );
142 public: std::vector<NXOpen::Routing::RunItem *> GetToItemData
143 (
144 );
149 public: std::vector<NXOpen::Routing::RunItem *> GetMemberItemData
150 (
151 );
157 (
158 const NXString & runId ,
159 const NXString & runType ,
160 const std::vector<NXOpen::NXObject *> & from ,
162 const std::vector<NXOpen::NXObject *> & to ,
164 const std::vector<NXOpen::NXObject *> & member
166 );
172 (
173 const char * runId ,
174 const char * runType ,
175 const std::vector<NXOpen::NXObject *> & from ,
177 const std::vector<NXOpen::NXObject *> & to ,
179 const std::vector<NXOpen::NXObject *> & member
181 );
185 public: void Edit
186 (
187 const NXString & runId ,
188 const NXString & runType ,
189 const std::vector<NXOpen::Routing::RunItem *> & fromItems ,
190 const std::vector<NXOpen::Routing::RunItem *> & toItems ,
191 const std::vector<NXOpen::Routing::RunItem *> & memberItems
192 );
196 void Edit
197 (
198 const char * runId ,
199 const char * runType ,
200 const std::vector<NXOpen::Routing::RunItem *> & fromItems ,
201 const std::vector<NXOpen::Routing::RunItem *> & toItems ,
202 const std::vector<NXOpen::Routing::RunItem *> & memberItems
203 );
209 (
210 );
216 (
217 );
223 (
224 );
229 (
231 );
236 (
237 NXOpen::Routing::ISegment * segment ,
238 int flowState
239 );
244 (
246 );
251 public: std::vector<NXOpen::ObjectList *> DetectRunSpools
252 (
253 );
257 public: void DeleteRunPath
258 (
259 );
265 (
266 );
271 (
273 );
279 (
281 );
286 public: void MakeActive
287 (
288 );
293 public: void MakeInactive
294 (
295 );
300 public: bool GetActiveStatus
301 (
302 );
307 public: std::vector<NXOpen::NXObject *> GetMembers
308 (
309 );
315 (
316 );
317 };
318 }
319}
320#ifdef _MSC_VER
321#pragma warning(pop)
322#endif
323#ifdef __GNUC__
324#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
325#pragma GCC diagnostic warning "-Wdeprecated-declarations"
326#endif
327#endif
328#undef EXPORTLIBRARY