]> OCCT Git - occt.git/commit
Data Exchange, DE Wrapper - Reorganisation of plugin system for Configuration Nodes...
authorPasukhin Dmitry <dpasukhi@opencascade.com>
Wed, 3 Sep 2025 15:51:18 +0000 (16:51 +0100)
committerGitHub <noreply@github.com>
Wed, 3 Sep 2025 15:51:18 +0000 (16:51 +0100)
commite7e1f8a0a250c2a75ebbb19ea268c3797b266e88
tree30482166f50c6aeaa95c5b224f26945f33109e7e
parent1f02122211f085bb1e302864e09770cedc230fe1
Data Exchange, DE Wrapper - Reorganisation of plugin system for Configuration Nodes (#696)

- Added Register and UnRegister methods to DE_ConfigurationNode for managing bindings with DE_Wrapper.
- Introduced DE_MultiPluginHolder to facilitate registration of multiple configuration nodes simultaneously.
- Created new plugin factory functions for various configuration nodes (DEBREP, DEXCAF, DEGLTF, DEIGES, DEOBJ, DEPLY, DESTEP, DESTL, DEVRML) to streamline their registration with DE_Wrapper.
- Removed unnecessary DE_PluginHolder instances from individual configuration node implementations.
- Updated CMake files to include newly created source files for each configuration node.
- Implemented singleton patterns in draw commands to ensure plugins are registered only once during initialization.
37 files changed:
src/DataExchange/TKDE/DE/DE_ConfigurationNode.cxx
src/DataExchange/TKDE/DE/DE_ConfigurationNode.hxx
src/DataExchange/TKDE/DE/DE_PluginHolder.hxx
src/DataExchange/TKDE/DE/DE_ShapeFixConfigurationNode.cxx
src/DataExchange/TKDECascade/DEBREP/DEBREP_ConfigurationNode.cxx
src/DataExchange/TKDECascade/DEXCAF/DEXCAF_ConfigurationNode.cxx
src/DataExchange/TKDECascade/FILES.cmake
src/DataExchange/TKDECascade/TKDECascade.cxx [new file with mode: 0644]
src/DataExchange/TKDEGLTF/DEGLTF/DEGLTF_ConfigurationNode.cxx
src/DataExchange/TKDEGLTF/FILES.cmake
src/DataExchange/TKDEGLTF/TKDEGLTF.cxx [new file with mode: 0644]
src/DataExchange/TKDEIGES/DEIGES/DEIGES_ConfigurationNode.cxx
src/DataExchange/TKDEIGES/FILES.cmake
src/DataExchange/TKDEIGES/TKDEIGES.cxx [new file with mode: 0644]
src/DataExchange/TKDEOBJ/DEOBJ/DEOBJ_ConfigurationNode.cxx
src/DataExchange/TKDEOBJ/FILES.cmake
src/DataExchange/TKDEOBJ/TKDEOBJ.cxx [new file with mode: 0644]
src/DataExchange/TKDEPLY/DEPLY/DEPLY_ConfigurationNode.cxx
src/DataExchange/TKDEPLY/FILES.cmake
src/DataExchange/TKDEPLY/TKDEPLY.cxx [new file with mode: 0644]
src/DataExchange/TKDESTEP/DESTEP/DESTEP_ConfigurationNode.cxx
src/DataExchange/TKDESTEP/FILES.cmake
src/DataExchange/TKDESTEP/TKDESTEP.cxx [new file with mode: 0644]
src/DataExchange/TKDESTL/DESTL/DESTL_ConfigurationNode.cxx
src/DataExchange/TKDESTL/FILES.cmake
src/DataExchange/TKDESTL/TKDESTL.cxx [new file with mode: 0644]
src/DataExchange/TKDEVRML/DEVRML/DEVRML_ConfigurationNode.cxx
src/DataExchange/TKDEVRML/FILES.cmake
src/DataExchange/TKDEVRML/TKDEVRML.cxx [new file with mode: 0644]
src/Draw/TKXSDRAWDE/XSDRAWDE/XSDRAWDE.cxx
src/Draw/TKXSDRAWGLTF/XSDRAWGLTF/XSDRAWGLTF.cxx
src/Draw/TKXSDRAWIGES/XSDRAWIGES/XSDRAWIGES.cxx
src/Draw/TKXSDRAWOBJ/XSDRAWOBJ/XSDRAWOBJ.cxx
src/Draw/TKXSDRAWPLY/XSDRAWPLY/XSDRAWPLY.cxx
src/Draw/TKXSDRAWSTEP/XSDRAWSTEP/XSDRAWSTEP.cxx
src/Draw/TKXSDRAWSTL/XSDRAWSTL/XSDRAWSTL.cxx
src/Draw/TKXSDRAWVRML/XSDRAWVRML/XSDRAWVRML.cxx