NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
JournalManager.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// JournalManager.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/Preferences_SessionUserInterface.hxx>
22#include <NXOpen/TaggedObject.hxx>
23#include <NXOpen/libnxopencpp_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 class JournalManager;
34 class Session;
35 class JournalManagerImpl;
41 class NXOPENCPPEXPORT JournalManager
42 {
43 private: JournalManagerImpl * m_journalmanager_impl;
44 private: NXOpen::Session* m_owner;
46 public: explicit JournalManager(NXOpen::Session *owner);
48 public:
50 tag_t Tag() const;
51 public: ~JournalManager();
56 public: bool IsJournalRunning
57 (
58 );
62 public: bool IsJournalRecording
63 (
64 );
70 (
71 const NXString & userDefinedCode
72 );
78 (
79 const char * userDefinedCode
80 );
85 public: void InsertComment
86 (
87 const NXString & comment
88 );
95 (
96 const char * comment
97 );
109 public: bool PauseJournal
110 (
111 );
123 public: void SetPauseJournal
124 (
125 bool isJournalRunning
126 );
139 (
140 );
153 (
154 bool pauseBlockStylerCalls
155 );
162 (
163 );
170 public: void RecordJournal
171 (
172 const NXString & filename
173 );
181 (
182 const char * filename
183 );
189 (
190 );
191 }; //lint !e1712 default constructor not defined for class
192}
193#ifdef _MSC_VER
194#pragma warning(pop)
195#endif
196#ifdef __GNUC__
197#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
198#pragma GCC diagnostic warning "-Wdeprecated-declarations"
199#endif
200#endif
201#undef EXPORTLIBRARY