#include <fbxlayer.h>
This class provides simple RAII-style read locking of a FbxLayerElementArray object.
Definition at line 783 of file fbxlayer.h.
Public Member Functions |
|
| FbxLayerElementArrayReadLock (FbxLayerElementArray &pArray) | |
| ~FbxLayerElementArrayReadLock () | |
| const T * | GetData () const |
| FbxLayerElementArrayReadLock | ( | FbxLayerElementArray & | pArray | ) | [inline] |
On construction, this class requires the read lock.
Definition at line 788 of file fbxlayer.h.
: mArray(pArray)
{
mLockedData = mArray.GetLocked((T*)NULL, FbxLayerElementArray::eReadLock);
}
| ~FbxLayerElementArrayReadLock | ( | ) | [inline] |
On destruction, this class releases the read lock.
Definition at line 796 of file fbxlayer.h.
{
if( mLockedData )
{
mArray.Release((void **) &mLockedData);
}
}
| const T* GetData | ( | ) | const [inline] |