Field3D
|
#include <SparseFile.h>
Public Member Functions | |
template<> | |
size_t | append (Reference< double >::Ptr ref) |
template<> | |
size_t | append (Reference< float >::Ptr ref) |
template<> | |
size_t | append (Reference< half >::Ptr ref) |
template<> | |
size_t | append (Reference< V3d >::Ptr ref) |
template<> | |
size_t | append (Reference< V3f >::Ptr ref) |
template<> | |
size_t | append (Reference< V3h >::Ptr ref) |
template<class Data_T > | |
size_t | append (typename Reference< Data_T >::Ptr ref) |
Appends a reference to the collection. This is specialized so that the correct data member is accessed. | |
long long int | memSize () const |
Returns the memory use for the refs. | |
template<class Data_T > | |
size_t | numRefs () const |
Returns the number of file references of the corresponding collection. | |
template<> | |
size_t | numRefs () const |
template<> | |
size_t | numRefs () const |
template<> | |
size_t | numRefs () const |
template<> | |
size_t | numRefs () const |
template<> | |
size_t | numRefs () const |
template<> | |
size_t | numRefs () const |
template<class Data_T > | |
Reference< Data_T > * | ref (size_t idx) |
Returns a reference to the index. This is specialized so that the correct data member is accessed. | |
template<> | |
Reference< half > * | ref (size_t idx) |
template<> | |
Reference< V3h > * | ref (size_t idx) |
template<> | |
Reference< float > * | ref (size_t idx) |
template<> | |
Reference< V3f > * | ref (size_t idx) |
template<> | |
Reference< double > * | ref (size_t idx) |
template<> | |
Reference< V3d > * | ref (size_t idx) |
~FileReferences () | |
Private Types | |
typedef boost::mutex | Mutex |
Private Attributes | |
std::deque< Reference< double >::Ptr > | m_dRefs |
std::deque< Reference< float >::Ptr > | m_fRefs |
std::deque< Reference< half >::Ptr > | m_hRefs |
Mutex | m_mutex |
std::deque< Reference< V3d >::Ptr > | m_vdRefs |
std::deque< Reference< V3f >::Ptr > | m_vfRefs |
std::deque< Reference< V3h >::Ptr > | m_vhRefs |
Definition at line 265 of file SparseFile.h.
|
private |
Definition at line 314 of file SparseFile.h.
|
inline |
Definition at line 896 of file SparseFile.h.
References FIELD3D_MTX_T, m_dRefs, m_fRefs, m_hRefs, m_vdRefs, m_vfRefs, and m_vhRefs.
Returns a reference to the index. This is specialized so that the correct data member is accessed.
Referenced by SparseFileManager::activateBlock(), append(), append(), append(), append(), append(), append(), SparseFileManager::deallocateBlock(), SparseFileManager::deallocateBlock(), SparseFileManager::decBlockRef(), SparseFileManager::incBlockRef(), SparseFileManager::numLoadedBlocks(), SparseFileManager::reference(), SparseFileManager::removeFieldFromCache(), SparseFileManager::resetCacheStatistics(), SparseFileManager::totalLoadedBlocks(), and SparseFileManager::totalLoads().
size_t SparseFile::FileReferences::append | ( | typename Reference< Data_T >::Ptr | ref | ) |
Appends a reference to the collection. This is specialized so that the correct data member is accessed.
Referenced by SparseFileManager::getNextId().
Returns the number of file references of the corresponding collection.
Referenced by SparseFileManager::numLoadedBlocks(), SparseFileManager::resetCacheStatistics(), SparseFileManager::totalLoadedBlocks(), and SparseFileManager::totalLoads().
Returns the memory use for the refs.
Definition at line 452 of file SparseFile.cpp.
References FIELD3D_MTX_T, m_dRefs, m_fRefs, m_hRefs, m_mutex, m_vdRefs, m_vfRefs, and m_vhRefs.
Referenced by SparseFileManager::memSize().
Definition at line 924 of file SparseFile.h.
References FIELD3D_MTX_T, and m_hRefs.
Definition at line 937 of file SparseFile.h.
References FIELD3D_MTX_T, and m_vhRefs.
Definition at line 950 of file SparseFile.h.
References FIELD3D_MTX_T, and m_fRefs.
Definition at line 963 of file SparseFile.h.
References FIELD3D_MTX_T, and m_vfRefs.
Definition at line 976 of file SparseFile.h.
References FIELD3D_MTX_T, and m_dRefs.
Definition at line 989 of file SparseFile.h.
References FIELD3D_MTX_T, and m_vdRefs.
Definition at line 1001 of file SparseFile.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 305 of file SparseFile.h.
Referenced by append(), memSize(), numRefs(), ref(), and ~FileReferences().
Definition at line 306 of file SparseFile.h.
Referenced by append(), memSize(), numRefs(), ref(), and ~FileReferences().
Definition at line 307 of file SparseFile.h.
Referenced by append(), memSize(), numRefs(), ref(), and ~FileReferences().
Definition at line 308 of file SparseFile.h.
Referenced by append(), memSize(), numRefs(), ref(), and ~FileReferences().
Definition at line 309 of file SparseFile.h.
Referenced by append(), memSize(), numRefs(), ref(), and ~FileReferences().
Definition at line 310 of file SparseFile.h.
Referenced by append(), memSize(), numRefs(), ref(), and ~FileReferences().
|
mutableprivate |