NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
RoutingCommon_CustomManager.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 布线系统设计器(RSD)二次开发接口C++头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// RoutingCommon_CustomManager.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/Routing_CustomManager.hxx>
22#include <NXOpen/TaggedObject.hxx>
23#include <NXOpen/libnxopencpp_routingcommon_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace RoutingCommon
34 {
35 class CustomManager;
36 }
37 class Session;
38 namespace Assemblies
39 {
40 class Component;
41 }
42 class NXObject;
43 class Part;
44 namespace Routing
45 {
47 }
48 namespace Routing
49 {
51 }
52 namespace Routing
53 {
55 }
56 namespace RoutingCommon
57 {
58 class CustomManagerImpl;
63 class NXOPENCPP_ROUTINGCOMMONEXPORT CustomManager
64 {
65 public:
75 public:
82 public:
89 public:
93 public:
99 public:
106 public:
112 public:
116 public:
120 public:
125 public:
130 public:
135 public:
140 private: CustomManagerImpl * m_custommanager_impl;
141 private: NXOpen::Session* m_owner;
143 public: explicit CustomManager(NXOpen::Session *owner);
145 public:
147 tag_t Tag() const;
148 public: ~CustomManager();
153 public: int AddDesignRule
154 (
156 const NXString & name ,
157 const NXString & description ,
159 );
165 (
167 const char * name ,
168 const char * description ,
170 );
174 public: void RemoveDesignRule
175 (
176 int designRuleMethodId
177 );
182 (
184 );
189 (
190 );
195 (
197 std::vector<int> & registeredDesignRuleIds
198 );
202 public: std::vector<NXOpen::Routing::DesignRuleViolation *> GetViolationsForReason
203 (
205 );
209 public: std::vector<NXOpen::Routing::DesignRuleViolation *> GetViolationsOfRule
210 (
211 const NXString & designRuleName
212 );
216 std::vector<NXOpen::Routing::DesignRuleViolation *> GetViolationsOfRule
217 (
218 const char * designRuleName
219 );
224 (
225 const NXString & designRuleName ,
227 const NXString & shortDescription ,
228 const NXString & longDescription ,
229 const std::vector<NXOpen::NXObject *> & objects
230 );
235 (
236 const char * designRuleName ,
238 const char * shortDescription ,
239 const char * longDescription ,
240 const std::vector<NXOpen::NXObject *> & objects
241 );
248 (
250 NXOpen::NXObject * nxObject
251 );
258 (
259 const NXString & designRuleName ,
260 NXOpen::NXObject * nxObject
261 );
268 (
269 const char * designRuleName ,
270 NXOpen::NXObject * nxObject
271 );
275 public: void RemoveAllPlugins
276 (
277 );
283 (
285 );
290 (
291 );
297 (
299 );
304 (
305 );
311 (
313 );
318 (
319 );
326 (
328 );
333 (
334 );
341 (
343 );
348 (
349 );
354 (
356 );
361 (
362 );
367 (
369 );
374 (
375 );
380 (
382 );
387 (
388 );
393 (
395 );
400 (
401 );
407 (
408 const NXOpen::RoutingCommon::CustomManager::ComponentNamePlugin& wiringComponentNamePlugin
409 );
414 (
415 );
421 (
423 );
428 (
429 );
435 (
437 );
442 (
443 );
444 }; //lint !e1712 default constructor not defined for class
445 }
446}
447#ifdef _MSC_VER
448#pragma warning(pop)
449#endif
450#ifdef __GNUC__
451#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
452#pragma GCC diagnostic warning "-Wdeprecated-declarations"
453#endif
454#endif
455#undef EXPORTLIBRARY