NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Mechatronics_GanttOperationBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Mechatronics_GanttOperationBuilder.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/Expression.hxx>
22#include <NXOpen/Builder.hxx>
23#include <NXOpen/ObjectList.hxx>
24#include <NXOpen/libnxopencpp_mechatronics_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 Mechatronics
35 {
37 }
38 class BasePart;
39 class Builder;
40 class Expression;
41 namespace Mechatronics
42 {
44 }
45 namespace Mechatronics
46 {
48 }
49 namespace Mechatronics
50 {
52 }
53 namespace Mechatronics
54 {
56 }
57 namespace Mechatronics
58 {
60 }
61 class NXObject;
62 namespace Mechatronics
63 {
64 class _GanttOperationBuilderBuilder;
65 class GanttOperationBuilderImpl;
69 class NXOPENCPP_MECHATRONICSEXPORT GanttOperationBuilder : public NXOpen::Builder
70 {
77
85 private: GanttOperationBuilderImpl * m_ganttoperationbuilder_impl;
86 private: friend class _GanttOperationBuilderBuilder;
87 protected: GanttOperationBuilder();
88 public: ~GanttOperationBuilder();
93 (
94 );
98 public: void SetContext
99 (
100 NXOpen::BasePart * context
101 );
106 (
107 );
111 public: void SetOperationID
112 (
113 const NXString & id
114 );
119 (
120 const char * id
121 );
126 (
127 );
131 public: void SetOperationName
132 (
133 const NXString & name
134 );
139 (
140 const char * name
141 );
146 (
147 );
151 public: void SetParentID
152 (
153 const NXString & parent
154 );
159 (
160 const char * parent
161 );
166 (
167 );
171 public: void SetPhysics
172 (
173 NXOpen::NXObject * physics
174 );
179 (
180 );
184 public: void SetOperationTypes
185 (
187 );
191 public: double Duration
192 (
193 );
197 public: void SetDuration
198 (
199 double duration
200 );
205 (
206 );
210 public: double StartTime
211 (
212 );
216 public: void SetStartTime
217 (
218 double start
219 );
224 (
225 );
229 public: void AddParameterList
230 (
231 const std::vector<NXOpen::Mechatronics::GanttOperationParameterBuilder *> & parameters
232 );
237 (
238 );
242 public: void AddConditionList
243 (
244 const std::vector<NXOpen::Mechatronics::GanttOperationConditionBuilder *> & conditions
245 );
249 public: bool ActiveStatus
250 (
251 );
255 public: void SetActiveStatus
256 (
257 bool status
258 );
263 (
264 );
268 public: void SetType
269 (
271 );
276 (
278 const std::vector<NXOpen::Mechatronics::GanttOperationObject *> & objects
279 );
281
284 public: void SetSequenceNumber
285 (
286 int index
287 );
289 };
290 }
291}
292#ifdef _MSC_VER
293#pragma warning(pop)
294#endif
295#ifdef __GNUC__
296#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
297#pragma GCC diagnostic warning "-Wdeprecated-declarations"
298#endif
299#endif
300#undef EXPORTLIBRARY