G4OCCT 0.1.0
Geant4 interface to Open CASCADE Technology (OCCT) geometry definitions
Loading...
Searching...
No Matches
g4occt::detail::TGeoOCCTSolidBridge::Impl Class Reference

Public Member Functions

 Impl (const TopoDS_Shape &shape)
 
 ~Impl ()
 
ThreadCaches & CachesForThisThread () const
 

Static Public Member Functions

static std::unordered_map< std::uint64_t, ThreadCacheEntry > & ThreadLocalCaches ()
 
static std::uint64_t NextCacheKey ()
 

Public Attributes

const std::uint64_t cacheKey
 
std::shared_ptr< const void > cacheLifetime
 
G4OCCTSolidKernel kernel
 
std::shared_ptr< const DisplayMeshCmdisplayMesh
 
std::uint64_t displayMeshGeneration {std::numeric_limits<std::uint64_t>::max()}
 
std::mutex displayMeshMutex
 

Detailed Description

Definition at line 69 of file TGeoOCCTSolidBridge.cc.

Constructor & Destructor Documentation

◆ Impl()

g4occt::detail::TGeoOCCTSolidBridge::Impl::Impl ( const TopoDS_Shape &  shape)
inlineexplicit

Definition at line 71 of file TGeoOCCTSolidBridge.cc.

◆ ~Impl()

g4occt::detail::TGeoOCCTSolidBridge::Impl::~Impl ( )
inline

Definition at line 75 of file TGeoOCCTSolidBridge.cc.

References cacheKey, and ThreadLocalCaches().

Member Function Documentation

◆ CachesForThisThread()

ThreadCaches & g4occt::detail::TGeoOCCTSolidBridge::Impl::CachesForThisThread ( ) const
inline

Definition at line 77 of file TGeoOCCTSolidBridge.cc.

References cacheKey, cacheLifetime, caches, and ThreadLocalCaches().

◆ NextCacheKey()

static std::uint64_t g4occt::detail::TGeoOCCTSolidBridge::Impl::NextCacheKey ( )
inlinestatic

Definition at line 104 of file TGeoOCCTSolidBridge.cc.

◆ ThreadLocalCaches()

static std::unordered_map< std::uint64_t, ThreadCacheEntry > & g4occt::detail::TGeoOCCTSolidBridge::Impl::ThreadLocalCaches ( )
inlinestatic

Definition at line 99 of file TGeoOCCTSolidBridge.cc.

References caches.

Referenced by CachesForThisThread(), and ~Impl().

Member Data Documentation

◆ cacheKey

const std::uint64_t g4occt::detail::TGeoOCCTSolidBridge::Impl::cacheKey

Definition at line 109 of file TGeoOCCTSolidBridge.cc.

Referenced by CachesForThisThread(), and ~Impl().

◆ cacheLifetime

std::shared_ptr<const void> g4occt::detail::TGeoOCCTSolidBridge::Impl::cacheLifetime

Definition at line 110 of file TGeoOCCTSolidBridge.cc.

Referenced by CachesForThisThread().

◆ displayMesh

std::shared_ptr<const DisplayMeshCm> g4occt::detail::TGeoOCCTSolidBridge::Impl::displayMesh
mutable

Definition at line 112 of file TGeoOCCTSolidBridge.cc.

◆ displayMeshGeneration

std::uint64_t g4occt::detail::TGeoOCCTSolidBridge::Impl::displayMeshGeneration {std::numeric_limits<std::uint64_t>::max()}
mutable

Definition at line 113 of file TGeoOCCTSolidBridge.cc.

◆ displayMeshMutex

std::mutex g4occt::detail::TGeoOCCTSolidBridge::Impl::displayMeshMutex
mutable

Definition at line 114 of file TGeoOCCTSolidBridge.cc.

◆ kernel

G4OCCTSolidKernel g4occt::detail::TGeoOCCTSolidBridge::Impl::kernel

Definition at line 111 of file TGeoOCCTSolidBridge.cc.


The documentation for this class was generated from the following file: