Archived issue #0032099
Visualization - define OSD_FileSystem class managing opening of file streams
Description
Add new classes to handle std::istream/ostream/iostream and some file system to manage files opening.
Steps to reproduce
Not required
Public activity
20 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Jan 29 18:04:51 2021 +0300
0032099: Visualization - create file stream system
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Jan 29 18:04:51 2021 +0300
0032099: Visualization - create file stream system
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Thu Feb 4 17:30:17 2021 +0300
0032099: Visualization - create file stream system
1) Remove unnecessary includes of "Standard_OStream.hxx" file and add it only into files where it is really used.
2) Create the base interface to some possible file system OSD_FileSystem and its inheritor OSD_CachedFileSystem that caches previously opened stream
and can reuse it during next opening operations.
3) Use OSD_CachedFileSystem object instead of RWGltf_GltfSharedIStream during Gltf reading.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Thu Feb 4 17:30:17 2021 +0300
0032099: Visualization - create file stream system
1) Remove unnecessary includes of "Standard_OStream.hxx" file and add it only into files where it is really used.
2) Create the base interface to some possible file system OSD_FileSystem and its inheritor OSD_CachedFileSystem that caches previously opened stream
and can reuse it during next opening operations.
3) Use OSD_CachedFileSystem object instead of RWGltf_GltfSharedIStream during Gltf reading.
The patches are ready to review:
- OCCT: CR32099_1
- OCCT Products: CR32099
- CAD Assistant: CR32099_1
- OCCT: CR32099_1
- OCCT Products: CR32099
- CAD Assistant: CR32099_1
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Feb 5 17:51:17 2021 +0300
0032099: Visualization - define OSD_FileSystem class managing opening of file streams
1) Remove unnecessary includes of "Standard_OStream.hxx" file and add it only into files where it is really used.
2) Create the base interface for a file stream provider OSD_FileSystem and its inheritor OSD_CachedFileSystem that keeping last stream to be reused for opening a stream with the same URL.
3) Use OSD_CachedFileSystem object instead of RWGltf_GltfSharedIStream during Gltf reading.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Feb 5 17:51:17 2021 +0300
0032099: Visualization - define OSD_FileSystem class managing opening of file streams
1) Remove unnecessary includes of "Standard_OStream.hxx" file and add it only into files where it is really used.
2) Create the base interface for a file stream provider OSD_FileSystem and its inheritor OSD_CachedFileSystem that keeping last stream to be reused for opening a stream with the same URL.
3) Use OSD_CachedFileSystem object instead of RWGltf_GltfSharedIStream during Gltf reading.
The patches were updated and are ready to review:
- OCCT: CR32099_2
- OCCT Products: CR32099
- CAD Assistant: CR32099_1
- OCCT: CR32099_2
- OCCT Products: CR32099
- CAD Assistant: CR32099_1
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Mon Feb 8 14:30:22 2021 +0300
#kgv remarks
[revision removed]
Detailed log of new commits:
Author: Author
Date: Mon Feb 8 14:30:22 2021 +0300
#kgv remarks
Branch [archived branch] has been created by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Feb 5 17:51:17 2021 +0300
0032099: Visualization - define OSD_FileSystem class managing opening of file streams
1) Remove unnecessary includes of "Standard_OStream.hxx" file and add it only into files where it is really used.
2) Create the base interface for a file stream provider OSD_FileSystem and its inheritor OSD_CachedFileSystem that keeping last stream to be reused for opening a stream with the same URL.
3) Use OSD_CachedFileSystem object instead of RWGltf_GltfSharedIStream during Gltf reading.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Fri Feb 5 17:51:17 2021 +0300
0032099: Visualization - define OSD_FileSystem class managing opening of file streams
1) Remove unnecessary includes of "Standard_OStream.hxx" file and add it only into files where it is really used.
2) Create the base interface for a file stream provider OSD_FileSystem and its inheritor OSD_CachedFileSystem that keeping last stream to be reused for opening a stream with the same URL.
3) Use OSD_CachedFileSystem object instead of RWGltf_GltfSharedIStream during Gltf reading.
The patches were updated and are ready to review:
- OCCT: CR32099_3
- OCCT Products: CR32099
- CAD Assistant: CR32099_1
- OCCT: CR32099_3
- OCCT Products: CR32099
- CAD Assistant: CR32099_1
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated forcibly by Author.
[revision removed]
[revision removed]
Branch [archived branch] has been updated by Author.
[revision removed]
Detailed log of new commits:
Author: Author
Date: Thu Feb 11 13:35:10 2021 +0300
fix compilation for VC2008
[revision removed]
Detailed log of new commits:
Author: Author
Date: Thu Feb 11 13:35:10 2021 +0300
fix compilation for VC2008
Combination -
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17805.430000000237 / 17802.420000000013 [+0.02%]
Products
Total CPU difference: 11513.250000000124 / 11523.070000000105 [-0.09%]
Windows-64-VC14:
OCCT
Total CPU difference: 19375.296875 / 19372.265625 [+0.02%]
Products
Total CPU difference: 12857.265625 / 12882.921875 [-0.20%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
OCCT branch : [archived branch]
master SHA - [revision removed]
[revision removed]
Products branch : [archived branch] SHA - [revision removed]
was compiled on Linux, MacOS and Windows platforms and tested in optimize mode.
Number of compiler warnings:
No new/fixed warnings
Regressions/Differences/Improvements:
No regressions/differences
CPU differences:
Debian80-64:
OCCT
Total CPU difference: 17805.430000000237 / 17802.420000000013 [+0.02%]
Products
Total CPU difference: 11513.250000000124 / 11523.070000000105 [-0.09%]
Windows-64-VC14:
OCCT
Total CPU difference: 19375.296875 / 19372.265625 [+0.02%]
Products
Total CPU difference: 12857.265625 / 12882.921875 [-0.20%]
Image differences :
No differences that require special attention
Memory differences :
No differences that require special attention
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records
- #0032086 · related to · closedVisualization - support deferred data loading
- #0032455 · parent of · closedData Exchange - replace OSD_OpenStream() usage with OSD_FileSystem::DefaultFileSystem()
- #0032490 · parent of · closedData Exchange - provide OSD_FileSystem::OpenOStream() for output streams
- #0032564 · parent of · closedFoundation Classes, OSD_CachedFileSystem - allow referring to non-default File System
- #0032565 · parent of · closedFoundation Classes, OSD_FileSystem - expose interface for registering global protocols