NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Routing_CustomManager.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 用于JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Routing_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/TaggedObject.hxx>
22#include <NXOpen/libnxopencpp_routing_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
30namespace NXOpen
31{
32 namespace Routing
33 {
34 class CustomManager;
35 }
36 class Session;
37 namespace Assemblies
38 {
39 class Component;
40 }
41 class Curve;
42 class NXObject;
43 namespace Routing
44 {
46 }
47 namespace Routing
48 {
50 }
51 namespace Routing
52 {
54 }
55 namespace Routing
56 {
57 namespace Electrical
58 {
59 class Connection;
60 }
61 }
62 namespace Routing
63 {
64 namespace Electrical
65 {
66 class HarnessDevice;
67 }
68 }
69 namespace Routing
70 {
71 namespace Electrical
72 {
74 }
75 }
76 namespace Routing
77 {
78 class Overstock;
79 }
80 namespace Routing
81 {
82 class Stock;
83 }
84 namespace Routing
85 {
86 class StockData;
87 }
88 namespace Routing
89 {
90 class CustomManagerImpl;
95 class NXOPENCPP_ROUTINGEXPORT CustomManager
96 {
135 public:
142 public: enum DesignRuleReason
143 {
197 };
198 public:
208 public:
214 public:
220 public:
224 public:
228 public:
232 public:
238 public:
242 public:
247 public:
258
265 public:
269 public:
273 public:
278 public:
283 public:
295public:
309 public:
320 public:
325 public:
330 public:
335 public:
340 public:
345 public:
350 public:
355 private: CustomManagerImpl * m_custommanager_impl;
356 private: NXOpen::Session* m_owner;
358 public: explicit CustomManager(NXOpen::Session *owner);
360 public:
362 tag_t Tag() const;
363 public: ~CustomManager();
368 public: int AddCallback
369 (
371 const NXOpen::Routing::CustomManager::Callback& callbackMethod
372 );
376 public: void RemoveCallback
377 (
378 int callbackMethodId
379 );
384 (
386 );
391 (
392 );
397 (
399 std::vector<int> & registeredCallbackIds
400 );
405 public: int AddDesignRule
406 (
408 const NXString & name ,
409 const NXString & description ,
410 const NXOpen::Routing::CustomManager::DesignRule& designRuleMethod
411 );
417 (
419 const char * name ,
420 const char * description ,
421 const NXOpen::Routing::CustomManager::DesignRule& designRuleMethod
422 );
426 public: void RemoveDesignRule
427 (
428 int designRuleMethodId
429 );
434 (
436 );
441 (
442 );
447 (
449 std::vector<int> & registeredDesignRuleIds
450 );
454 public: std::vector<NXOpen::Routing::DesignRuleViolation *> GetViolationsForReason
455 (
457 );
461 public: std::vector<NXOpen::Routing::DesignRuleViolation *> GetViolationsOfRule
462 (
463 const NXString & designRuleName
464 );
468 std::vector<NXOpen::Routing::DesignRuleViolation *> GetViolationsOfRule
469 (
470 const char * designRuleName
471 );
476 (
477 const NXString & designRuleName ,
479 const NXString & shortDescription ,
480 const NXString & longDescription ,
481 const std::vector<NXOpen::NXObject *> & objects
482 );
487 (
488 const char * designRuleName ,
490 const char * shortDescription ,
491 const char * longDescription ,
492 const std::vector<NXOpen::NXObject *> & objects
493 );
500 (
502 NXOpen::NXObject * nxObject
503 );
510 (
511 const NXString & designRuleName ,
512 NXOpen::NXObject * nxObject
513 );
520 (
521 const char * designRuleName ,
522 NXOpen::NXObject * nxObject
523 );
527 public: void RemoveAllPlugins
528 (
529 );
535 (
536 const NXOpen::Routing::CustomManager::ApplicationEnterPlugin& applicationEnterPlugin
537 );
542 (
543 );
549 (
551 );
556 (
557 );
563 (
565 );
570 (
571 );
577 (
579 );
584 (
585 );
591 (
593 );
598 (
599 );
605 (
607 );
612 (
613 );
619 (
620 const NXOpen::Routing::CustomManager::ImportExportPlugin& plmXmlPreImportPlugin
621 );
626 (
627 );
633 (
634 const NXOpen::Routing::CustomManager::ImportExportPlugin& plmXmlPostExportPlugin
635 );
640 (
641 );
647 (
648 const NXOpen::Routing::CustomManager::PlmxmlObjectNamePlugin& plmXmlRouteNodeNamePlugin
649 );
654 (
655 );
661 (
662 const NXOpen::Routing::CustomManager::PlmxmlObjectNamePlugin& plmXmlRouteSectionNamePlugin
663 );
668 (
669 );
675 (
677 );
683 (
684 );
690 (
692 );
698 (
699 );
705 public: void SetBomPlugin
706 (
708 );
713 public: void RemoveBomPlugin
714 (
715 );
722 (
724 );
730 (
731 );
738 (
740 );
746 (
747 );
753 public: void SetUnroutePlugin
754 (
756 );
762 (
763 );
769 (
771 );
776 (
777 );
783 (
784 const NXOpen::Routing::CustomManager::NavigatorObjectSelectedPlugin& navigatorObjectSelectedPlugin
785 );
790 (
791 );
796 public: void SetBundlePlugin
797 (
799 );
804 (
805 );
811 (
812 const NXOpen::Routing::CustomManager::ValidateFormboardPlugin& validateFormboardPlugin
813 );
818 (
819 );
825 (
826 const NXOpen::Routing::CustomManager::StockComponentLockedPlugin& stockComponentLockedPlugin
827 );
832 (
833 );
839 (
841 );
846 (
847 );
853 (
854 const NXOpen::Routing::CustomManager::PipingComponentFilePlugin& pipingComponentFilePlugin
855 );
860 (
861 );
867 (
869 );
874 (
875 );
881 (
883 );
888 (
889 );
895 (
896 const NXOpen::Routing::CustomManager::DisciplineChangedPlugin& disciplineChangedPlugin
897 );
902 (
903 );
909 (
910 const NXOpen::Routing::CustomManager::SpecificationChangedPlugin& specificationChangedPlugin
911 );
916 (
917 );
923 (
925 );
930 (
931 );
937 (
938 const NXOpen::Routing::CustomManager::ComponentNamePlugin& stockComponentNamePlugin
939 );
944 (
945 );
951 (
952 const NXOpen::Routing::CustomManager::ComponentNamePlugin& stockComponentNamePlugin
953 );
958 (
959 );
965 (
966 const NXOpen::Routing::CustomManager::ComponentNamePlugin& cutElbowComponentNamePlugin
967 );
972 (
973 );
979 (
980 const NXOpen::Routing::CustomManager::GenerateStockComponentNameplugin& generateStockComponentNamePlugin
981 );
986 (
987 );
992 (
994 );
999 (
1000 );
1001 }; //lint !e1712 default constructor not defined for class
1002 }
1003}
1004#ifdef _MSC_VER
1005#pragma warning(pop)
1006#endif
1007#ifdef __GNUC__
1008#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
1009#pragma GCC diagnostic warning "-Wdeprecated-declarations"
1010#endif
1011#endif
1012#undef EXPORTLIBRARY