CFx SDK Documentation  2020SP3
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_
OdResult
OdResult
Definition: OdResult.h:29
OdString
Definition: OdString.h:95
OdModelerTools::executeInMainHistoryStream
virtual void executeInMainHistoryStream(MainHistStreamFunc func, void *data)=0
OdModelerTools::deleteModelerBulletins
virtual OdResult deleteModelerBulletins()=0
OdModelerTools::check3dSolid
virtual OdResult check3dSolid(const OdDb3dSolidPtr &, OdString &report)=0
OdRxObject
Definition: RxObject.h:564
TD_PackPop.h
data
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
Definition: gles2_ext.h:110
OdModelerTools::startThread
virtual bool startThread()=0
OdModelerTools::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdModelerTools)
OdSmartPtr
Definition: SmartPtr.h:58
func
GLenum func
Definition: gles2_ext.h:262
OdModelerTools::isThreadStarted
virtual bool isThreadStarted() const =0
TD_PackPush.h
OdModelerTools::OdModelerTools
OdModelerTools()
Definition: ModelerTools.h:50
MainHistStreamFunc
void(* MainHistStreamFunc)(void *)
Definition: ModelerTools.h:37
ModelerGeometry.h
OdModelerTools::beginThreadSafetyMode
virtual void beginThreadSafetyMode(unsigned nThreads, const unsigned *aThreads)=0
OdModelerTools::stopThread
virtual bool stopThread()=0
OdModelerTools
Definition: ModelerTools.h:48
TOOLKIT_EXPORT
#define TOOLKIT_EXPORT
Definition: DbExport.h:40
void
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
OdModelerToolsPtr
OdSmartPtr< OdModelerTools > OdModelerToolsPtr
Definition: ModelerTools.h:109
OdModelerTools::endThreadSafetyMode
virtual void endThreadSafetyMode(unsigned nThreads, const unsigned *aThreads)=0