22 #if defined( FX_STATIC_BUILD )
26 #define FXBIM_API __declspec(dllexport)
28 #define FXBIM_API __declspec(dllimport)
33 #include <QtCore/QString>
39 #include <sdk/FxBIMEntityReference.h>
41 #if defined (Q_OS_LINUX)
45 #if !defined( FX_STATIC_BUILD )
46 #include "../../Kernel/DDKERNEL/FxThreadUtils.h"
133 std::shared_ptr< CFxBIMIPC >
_ipc;
176 template <
typename T>
179 std::shared_ptr<T> p = std::dynamic_pointer_cast< T, CFxBIMObject >( pBase );
183 template <
typename T>
200 #include <functional>
351 #if !defined( FX_STATIC_BUILD )
std::shared_ptr< CFxBIMDbIterator > CFxBIMDbIteratorPtr
std::shared_ptr< CFxBIMDbIteratorRA > CFxBIMDbIteratorRAPtr
@ eCVTInvalidConversionType
@ eCVTInvalidDestinationFolder
@ eCVTInvalidDestinationExists
std::shared_ptr< CFxBIMIteratorRA > CFxBIMIteratorRAPtr
FXBIM_API OdString convert(const QString &qstr)
OdSmartPtr< CFxBIMDatabaseReference > CFxBIMDatabaseReferencePtr
std::shared_ptr< CFxBIMObject > CFxBIMObjectPtr
std::shared_ptr< CFxBIMIterator > CFxBIMIteratorPtr
bool operator<(const OdString &s1, const OdString &s2)
virtual ~CFxBIMDbIterator()
virtual void SetPredicate(std::function< bool(OdDbObjectId) > p)=0
virtual OdDbObjectId Object()=0
virtual ~CFxBIMDbIteratorRA()
virtual OdDbObjectId Object(size_t index)=0
virtual ~CFxBIMIterator()
virtual void SetPredicate(std::function< bool(CFxBIMObjectPtr) > p)=0
virtual CFxBIMObjectPtr Object()=0
virtual ~CFxBIMIteratorRA()
virtual CFxBIMObjectPtr Object(size_t index)=0
Standard(const OdString &name)
const BimStandards & Type() const
static OdString ToString(BimStandards standard)
const OdString & Name() const
static BimStandards FromString(const OdString &standard)
static void clearFinishedTasks()
void OnFinished() override
~CFxBIMTaskLoadDbRef() override
static void abortUnfinishedTasks()
static QString GetLoadingTag(int count)
static void pushTask(const OdDbObjectId &idObj, const QString &strTag)
static bool IsLoadingFinishedForTag(const QString &strTag)
CFxBIMTaskUnloadDb(OdDbDatabasePtr &ptrDb)
~CFxBIMTaskUnloadDb() override
void OnFinished() override
static void clearFinishedTasks()
static void abortUnfinishedTasks()
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
GLint GLenum GLsizei GLsizei GLint GLsizei const void * data
GLuint const GLchar * name
GLuint GLsizei GLsizei GLint GLenum * type
GLsizei const GLfloat * value
FXBIM_API double Scale(BimUnitsLength dst, BimUnitsLength src)
FXBIM_API OdInt64 currentVersion()
FXBIM_API void SetBIMCURRENTDIMSTYLE(OdDbDatabase *pDb, const OdString &value)
FXBIM_API OdString BIMCALLOUTBLOCKELEVATION(const OdDbDatabase *pDb)
FXBIM_API void SetBIMCALLOUTSFILE(OdDbDatabase *pDb, const OdString &value)
FXBIM_API void SetBIMCALLOUTBLOCKSECTIONALT(OdDbDatabase *pDb, const OdString &value)
FXBIM_API OdString BIMCALLOUTSFILE(const OdDbDatabase *pDb)
constexpr OdInt16 kCurrenVersionMinor
FXBIM_API bool BIMCALLOUTSONOFF(const OdDbDatabase *pDb)
FXBIM_API Error resolvePath(const OdDbDatabase *pDb, OdString &path, EFileType eFileType)
FXBIM_API void SetBIMVPSCALE(OdDbDatabase *pDb, const OdString &value)
FXBIM_API OdString BIMCALLOUTBLOCKSECTION(const OdDbDatabase *pDb)
FXBIM_API void SetBIMCALLOUTBLOCKSECTION(OdDbDatabase *pDb, const OdString &value)
FXBIM_API void SetBIMCALLOUTBLOCKELEVATION(OdDbDatabase *pDb, const OdString &value)
FXBIM_API OdString GetAbsoluteFilePath(const OdString &sPath, OdDbDatabase *pCurrentDb)
constexpr OdInt16 kCurrenVersionRevision
FXBIM_API OdInt64 bimVersion(OdInt16 major, OdInt16 minor, OdInt16 revision)
FXBIM_API OdString BIMCALLOUTBLOCKPLAN(const OdDbDatabase *pDb)
FXBIM_API OdString BIMPROJECTPATH(const OdDbDatabase *pDb)
FXBIM_API void SetBIMUNITSLENGTH(OdDbDatabase *pDb, const int &value)
const OdString kBIMModuleName
std::shared_ptr< T > cast(CFxBIMObjectPtr pBase)
FXBIM_API int BIMUNITSLENGTH(const OdDbDatabase *pDb)
FXBIM_API void SetBIMCALLOUTSONOFF(OdDbDatabase *pDb, const bool &value)
FXBIM_API OdString BIMCURRENTDIMSTYLE(const OdDbDatabase *pDb)
FXBIM_API void SetBIMHPSCALE(OdDbDatabase *pDb, const double &value)
FXBIM_API void SetBIMPROJECTPATH(OdDbDatabase *pDb, const OdString &value)
FXBIM_API void SetBIMCALLOUTBLOCKPLAN(OdDbDatabase *pDb, const OdString &value)
FXBIM_API OdString BIMVPSCALE(const OdDbDatabase *pDb)
FXBIM_API void SetBIMSTANDARD(OdDbDatabase *pDb, const OdString &value)
FXBIM_API void SetBIMCLIPPINGBOXONOFF(OdDbDatabase *pDb, const bool &value)
FXBIM_API void SetBIMVIEWTITLEBLOCK(OdDbDatabase *pDb, const OdString &value)
FXBIM_API bool BIMCLIPPINGBOXONOFF(const OdDbDatabase *pDb)
FXBIM_API OdString BIMCALLOUTBLOCKSECTIONALT(const OdDbDatabase *pDb)
OdSmartPtr< T > cast(OdDbObjectId id, OdDb::OpenMode mode=OdDb::kForRead, bool openErased=false)
constexpr OdInt16 kCurrenVersionMajor
FXBIM_API OdString BIMSTANDARD(const OdDbDatabase *pDb)
FXBIM_API OdString BIMVIEWTITLEBLOCK(const OdDbDatabase *pDb)
FXBIM_API double BIMHPSCALE(const OdDbDatabase *pDb)
void FXBIM_API WaitFinishLoading(const QString &strTag)
std::function< void(const OdString &viewName, OdInt64 idView) > fn_start_t
std::function< void(int exitCode, int exitStatus) > fn_finish_t
static Conversion::Type FromString(const OdString &arg)
std::function< void(const OdString &dwgPath, const OdString &originalPath, const OdString &viewName, OdInt64 idView, int flags) > fn_ready_t
std::shared_ptr< CFxBIMIPC > _ipc
std::function< bool() > fn_abort_t
static OdString ToString(const Conversion &c)
Conversion(fileType type, Data data, int flags)
std::function< void(const OdString &err) > fn_error_t