CFx SDK Documentation  2022 SP0
ModelerTools.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 // ModelerTools.h : auxilary functionality of geometry modeler
24 
25 // Copyright © Menhirs NV. All rights reserved.
26 
27 //HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
28 
29 #ifndef _OD_MODELERTOOLS_INCLUDED_
30 #define _OD_MODELERTOOLS_INCLUDED_
31 
32 //#include "BricsysChanges.h"
33 #include "ModelerGeometry.h"
34 
35 #include "TD_PackPush.h"
36 
37 typedef void (*MainHistStreamFunc)(void*);
38 
39 
48 {
49 protected:
51 public:
53 
58 
64  virtual void beginThreadSafetyMode(unsigned nThreads, const unsigned* aThreads) = 0;
65 
70  virtual void endThreadSafetyMode(unsigned nThreads, const unsigned* aThreads) = 0;
71 
76  virtual bool startThread() = 0;
77 
82  virtual bool stopThread() = 0;
83 
87  virtual bool isThreadStarted() const = 0;
88 
93  virtual OdResult check3dSolid(const OdDb3dSolidPtr&, OdString& report) = 0;
94 
99 };
100 
101 
110 
111 #include "TD_PackPop.h"
112 
113 #endif //_OD_MODELERTOOLS_INCLUDED_
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
void(* MainHistStreamFunc)(void *)
Definition: ModelerTools.h:37
OdSmartPtr< OdModelerTools > OdModelerToolsPtr
Definition: ModelerTools.h:109
OdResult
Definition: OdResult.h:29
virtual OdResult deleteModelerBulletins()=0
virtual bool startThread()=0
virtual OdResult check3dSolid(const OdDb3dSolidPtr &, OdString &report)=0
ODRX_DECLARE_MEMBERS(OdModelerTools)
virtual void executeInMainHistoryStream(MainHistStreamFunc func, void *data)=0
virtual void beginThreadSafetyMode(unsigned nThreads, const unsigned *aThreads)=0
virtual void endThreadSafetyMode(unsigned nThreads, const unsigned *aThreads)=0
virtual bool isThreadStarted() const =0
virtual bool stopThread()=0
GLenum func
Definition: gles2_ext.h:262
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
Definition: gles2_ext.h:110