Sirikata
|
#include <AtomicTypes.hpp>
Public Member Functions | |
AtomicValue () | |
AtomicValue (T other) | |
AtomicValue (const AtomicValue &other) | |
const AtomicValue< T > & | operator= (T other) |
const AtomicValue & | operator= (const AtomicValue &other) |
bool | operator== (T other) const |
bool | operator== (const AtomicValue &other) const |
operator T () const | |
T | read () const |
T | operator+= (const T &other) |
T | operator-= (const T &other) |
T | operator++ () |
T | operator-- () |
T | operator++ (int) |
T | operator-- (int) |
Static Private Member Functions | |
static volatile T * | getThisAlignedAddress (volatile char *data) |
static volatile const T * | getThisAlignedAddress (volatile const char *data) |
Private Attributes | |
volatile char | mMemory [sizeof(T)+(sizeof(T)==4?4:(sizeof(T)==2?2:(sizeof(T)==8?8:16)))] |
Sirikata::AtomicValue< T >::AtomicValue | ( | ) | [inline] |
Sirikata::AtomicValue< T >::AtomicValue | ( | T | other | ) | [inline, explicit] |
Sirikata::AtomicValue< T >::AtomicValue | ( | const AtomicValue< T > & | other | ) | [inline] |
static volatile T* Sirikata::AtomicValue< T >::getThisAlignedAddress | ( | volatile char * | data | ) | [inline, static, private] |
static volatile const T* Sirikata::AtomicValue< T >::getThisAlignedAddress | ( | volatile const char * | data | ) | [inline, static, private] |
Sirikata::AtomicValue< T >::operator T | ( | ) | const [inline] |
T Sirikata::AtomicValue< T >::operator++ | ( | ) | [inline] |
T Sirikata::AtomicValue< T >::operator++ | ( | int | ) | [inline] |
T Sirikata::AtomicValue< T >::operator+= | ( | const T & | other | ) | [inline] |
T Sirikata::AtomicValue< T >::operator-- | ( | ) | [inline] |
T Sirikata::AtomicValue< T >::operator-- | ( | int | ) | [inline] |
T Sirikata::AtomicValue< T >::operator-= | ( | const T & | other | ) | [inline] |
const AtomicValue& Sirikata::AtomicValue< T >::operator= | ( | const AtomicValue< T > & | other | ) | [inline] |
const AtomicValue<T>& Sirikata::AtomicValue< T >::operator= | ( | T | other | ) | [inline] |
bool Sirikata::AtomicValue< T >::operator== | ( | const AtomicValue< T > & | other | ) | const [inline] |
bool Sirikata::AtomicValue< T >::operator== | ( | T | other | ) | const [inline] |
T Sirikata::AtomicValue< T >::read | ( | ) | const [inline] |
Referenced by Sirikata::Network::ASIOSocketWrapper::canSend(), Sirikata::Network::TCPStream::closeSendStatus(), Sirikata::AggregateManager::commandStats(), Sirikata::LibproxProximityBase::commandStats(), Sirikata::QueueRouterElement< ObjectMessage >::empty(), Sirikata::SizedResourceMonitor::filledSize(), Sirikata::CountResourceMonitor::filledSize(), Sirikata::Network::ASIOSocketWrapper::finishAsyncSend(), Sirikata::Timer::now(), Sirikata::LocalForwarder::poll(), Sirikata::SizedResourceMonitor::probablyCanPush(), Sirikata::CountResourceMonitor::probablyCanPush(), Sirikata::Timer::processElapsed(), Sirikata::QueueRouterElement< ObjectMessage >::pull(), Sirikata::QueueRouterElement< ObjectMessage >::push(), Sirikata::Timer::recentNow(), Sirikata::Timer::recentProcessElapsed(), Sirikata::Forwarder::reportStats(), Sirikata::AlwaysLocationUpdatePolicy::reportStats(), Sirikata::Network::ASIOSocketWrapper::retryQueuedSend(), Sirikata::Context::run(), Sirikata::FairServerMessageQueue::scheduleServicing(), Sirikata::Network::MultiplexedSocket::shutDownClosedStream(), Sirikata::Context::stop(), Sirikata::Trace::Trace::storageThread(), and Sirikata::Network::IOTimer::wait().
volatile char Sirikata::AtomicValue< T >::mMemory[sizeof(T)+(sizeof(T)==4?4:(sizeof(T)==2?2:(sizeof(T)==8?8:16)))] [private] |