#include <pointer.h>
Public Member Functions | |
SharedBuffer () | |
SharedBuffer (unsigned int size) | |
SharedBuffer (const SharedBuffer &buffer) | |
SharedBuffer & | operator= (const SharedBuffer &buffer) |
SharedBuffer (const T *t, unsigned int size) | |
SharedBuffer (const Buffer< T > &buffer) | |
~SharedBuffer () | |
T & | operator[] (unsigned int i) const |
T * | operator* () const |
unsigned int | getSize () const |
operator Buffer< T > () const | |
Private Member Functions | |
void | drop () |
Private Attributes | |
T * | data |
unsigned int | m_size |
unsigned int * | refcount |
|
inline |
References SharedBuffer< T >::data, SharedBuffer< T >::m_size, and SharedBuffer< T >::refcount.
|
inline |
References SharedBuffer< T >::data, SharedBuffer< T >::m_size, and SharedBuffer< T >::refcount.
|
inline |
References SharedBuffer< T >::data, SharedBuffer< T >::m_size, and SharedBuffer< T >::refcount.
|
inline |
References SharedBuffer< T >::data, SharedBuffer< T >::m_size, and SharedBuffer< T >::refcount.
|
inline |
References SharedBuffer< T >::data, Buffer< T >::getSize(), SharedBuffer< T >::m_size, and SharedBuffer< T >::refcount.
|
inline |
|
inlineprivate |
References SharedBuffer< T >::data, and SharedBuffer< T >::refcount.
Referenced by SharedBuffer< T >::~SharedBuffer(), and SharedBuffer< T >::operator=().
|
inline |
References SharedBuffer< T >::m_size.
Referenced by con::ConnectionReceiveThread::checkIncomingBuffers(), con::ConnectionReceiveThread::handlePacketType_Control(), con::ConnectionReceiveThread::handlePacketType_Original(), con::ConnectionReceiveThread::handlePacketType_Reliable(), con::ConnectionReceiveThread::handlePacketType_Split(), con::makeAutoSplitPacket(), con::makeOriginalPacket(), con::makePacket(), con::makeReliablePacket(), con::makeSplitPacket(), con::ConnectionReceiveThread::processPacket(), con::IncomingSplitPacket::reassemble(), con::ConnectionReceiveThread::receive(), con::ConnectionSendThread::send(), con::ConnectionSendThread::sendPackets(), and TestConnection::testHelpers().
|
inline |
References SharedBuffer< T >::data, and SharedBuffer< T >::m_size.
|
inline |
References SharedBuffer< T >::data.
|
inline |
References SharedBuffer< T >::data, SharedBuffer< T >::drop(), SharedBuffer< T >::m_size, and SharedBuffer< T >::refcount.
|
inline |
References SharedBuffer< T >::data, and SharedBuffer< T >::m_size.
|
private |
Referenced by SharedBuffer< T >::SharedBuffer(), SharedBuffer< T >::SharedBuffer(), SharedBuffer< T >::SharedBuffer(), SharedBuffer< T >::SharedBuffer(), SharedBuffer< T >::SharedBuffer(), SharedBuffer< T >::drop(), SharedBuffer< T >::operator Buffer< T >(), SharedBuffer< T >::operator*(), SharedBuffer< T >::operator=(), and SharedBuffer< T >::operator[]().
|
private |
Referenced by SharedBuffer< T >::SharedBuffer(), SharedBuffer< T >::SharedBuffer(), SharedBuffer< T >::SharedBuffer(), SharedBuffer< T >::SharedBuffer(), SharedBuffer< T >::SharedBuffer(), SharedBuffer< T >::getSize(), SharedBuffer< T >::operator Buffer< T >(), SharedBuffer< T >::operator=(), and SharedBuffer< T >::operator[]().
|
private |