library of assembled shared sources |
http://lass.cocamware.com |
Data Structures | |
struct | IsCompatibleAllocator |
struct | IsFixedAllocator |
struct | IsVariableAllocator |
struct | BindCallback |
struct | BindCallback< void > |
class | BindDispatcher |
class | BindDispatcher< void > |
class | DispatcherBindFun1 |
class | DispatcherBindMemFun1 |
class | DispatcherBindFun2 |
class | DispatcherBindMemFun2 |
class | DispatcherBindFun3 |
class | DispatcherBindMemFun3 |
class | DispatcherBindFun4 |
class | DispatcherBindMemFun4 |
class | DispatcherBindFun5 |
class | DispatcherBindMemFun5 |
class | DispatcherBindFun6 |
class | DispatcherBindMemFun6 |
class | DispatcherBindFun7 |
class | DispatcherBindMemFun7 |
class | DispatcherBindFun8 |
class | DispatcherBindMemFun8 |
class | DispatcherBindFun9 |
class | DispatcherBindMemFun9 |
class | DispatcherBindFun10 |
class | DispatcherBindMemFun10 |
class | DispatcherBindFun11 |
class | DispatcherBindMemFun11 |
class | DispatcherBindFun12 |
class | DispatcherBindMemFun12 |
class | DispatcherBindFun13 |
class | DispatcherBindMemFun13 |
class | DispatcherBindFun14 |
class | DispatcherBindMemFun14 |
class | DispatcherBindFun15 |
class | DispatcherBindMemFun15 |
struct | BitCounter< 1 > |
struct | BitCounter< 2 > |
struct | BitCounter< 4 > |
struct | BitCounter< 8 > |
class | CrashDumpImpl |
struct | Environment |
struct | Environment< std::string > |
struct | AtomicOperations< 1 > |
struct | AtomicOperations< 2 > |
struct | AtomicOperations< 4 > |
struct | AtomicOperations< 8 > |
struct | ClockImpl |
class | Dispatcher0 |
abstract base class of all dispatchers for lass::util::Callback0. More... | |
class | Dispatcher0Function |
Dispatcher for lass::util::Callback0 to a fuction or equivalent callable entity. More... | |
class | Dispatcher0Method |
Dispatcher for lass::util::Callback0 to an object/method pair. More... | |
class | Dispatcher1 |
abstract base class of all dispatchers for lass::util::Callback1. More... | |
class | Dispatcher1Function |
Dispatcher for lass::util::Callback1 to a free function:. More... | |
class | Dispatcher1Method |
Dispatcher for lass::util::Callback1 to an object/method pair. More... | |
class | Dispatcher10 |
abstract base class of all dispatchers for lass::util::Callback10. More... | |
class | Dispatcher10Function |
Dispatcher for lass::util::Callback10 to a free function:. More... | |
class | Dispatcher10Method |
Dispatcher for lass::util::Callback10 to an object/method pair. More... | |
class | Dispatcher11 |
abstract base class of all dispatchers for lass::util::Callback11. More... | |
class | Dispatcher11Function |
Dispatcher for lass::util::Callback11 to a free function:. More... | |
class | Dispatcher11Method |
Dispatcher for lass::util::Callback11 to an object/method pair. More... | |
class | Dispatcher12 |
abstract base class of all dispatchers for lass::util::Callback12. More... | |
class | Dispatcher12Function |
Dispatcher for lass::util::Callback12 to a free function:. More... | |
class | Dispatcher12Method |
Dispatcher for lass::util::Callback12 to an object/method pair. More... | |
class | Dispatcher13 |
abstract base class of all dispatchers for lass::util::Callback13. More... | |
class | Dispatcher13Function |
Dispatcher for lass::util::Callback13 to a free function:. More... | |
class | Dispatcher13Method |
Dispatcher for lass::util::Callback13 to an object/method pair. More... | |
class | Dispatcher14 |
abstract base class of all dispatchers for lass::util::Callback14. More... | |
class | Dispatcher14Function |
Dispatcher for lass::util::Callback14 to a free function:. More... | |
class | Dispatcher14Method |
Dispatcher for lass::util::Callback14 to an object/method pair. More... | |
class | Dispatcher15 |
abstract base class of all dispatchers for lass::util::Callback15. More... | |
class | Dispatcher15Function |
Dispatcher for lass::util::Callback15 to a free function:. More... | |
class | Dispatcher15Method |
Dispatcher for lass::util::Callback15 to an object/method pair. More... | |
class | Dispatcher2 |
abstract base class of all dispatchers for lass::util::Callback2. More... | |
class | Dispatcher2Function |
Dispatcher for lass::util::Callback2 to a free function:. More... | |
class | Dispatcher2Method |
Dispatcher for lass::util::Callback2 to an object/method pair. More... | |
class | Dispatcher3 |
abstract base class of all dispatchers for lass::util::Callback3. More... | |
class | Dispatcher3Function |
Dispatcher for lass::util::Callback3 to a free function:. More... | |
class | Dispatcher3Method |
Dispatcher for lass::util::Callback3 to an object/method pair. More... | |
class | Dispatcher4 |
abstract base class of all dispatchers for lass::util::Callback4. More... | |
class | Dispatcher4Function |
Dispatcher for lass::util::Callback4 to a free function:. More... | |
class | Dispatcher4Method |
Dispatcher for lass::util::Callback4 to an object/method pair. More... | |
class | Dispatcher5 |
abstract base class of all dispatchers for lass::util::Callback5. More... | |
class | Dispatcher5Function |
Dispatcher for lass::util::Callback5 to a free function:. More... | |
class | Dispatcher5Method |
Dispatcher for lass::util::Callback5 to an object/method pair. More... | |
class | Dispatcher6 |
abstract base class of all dispatchers for lass::util::Callback6. More... | |
class | Dispatcher6Function |
Dispatcher for lass::util::Callback6 to a free function:. More... | |
class | Dispatcher6Method |
Dispatcher for lass::util::Callback6 to an object/method pair. More... | |
class | Dispatcher7 |
abstract base class of all dispatchers for lass::util::Callback7. More... | |
class | Dispatcher7Function |
Dispatcher for lass::util::Callback7 to a free function:. More... | |
class | Dispatcher7Method |
Dispatcher for lass::util::Callback7 to an object/method pair. More... | |
class | Dispatcher8 |
abstract base class of all dispatchers for lass::util::Callback8. More... | |
class | Dispatcher8Function |
Dispatcher for lass::util::Callback8 to a free function:. More... | |
class | Dispatcher8Method |
Dispatcher for lass::util::Callback8 to an object/method pair. More... | |
class | Dispatcher9 |
abstract base class of all dispatchers for lass::util::Callback9. More... | |
class | Dispatcher9Function |
Dispatcher for lass::util::Callback9 to a free function:. More... | |
class | Dispatcher9Method |
Dispatcher for lass::util::Callback9 to an object/method pair. More... | |
class | DispatcherR0 |
abstract base class of all dispatchers for lass::util::CallbackR0. More... | |
class | DispatcherR0Function |
Dispatcher for lass::util::CallbackR0 to a free function:. More... | |
class | DispatcherR0Method |
Dispatcher for lass::util::CallbackR0 to an object/method pair. More... | |
class | DispatcherR1 |
abstract base class of all dispatchers for lass::util::CallbackR1. More... | |
class | DispatcherR1Function |
Dispatcher for lass::util::CallbackR1 to a function or equivalent callable entinty. More... | |
class | DispatcherR1Method |
Dispatcher for lass::util::CallbackR1 to an object/method pair. More... | |
class | DispatcherR10 |
abstract base class of all dispatchers for lass::util::CallbackR10. More... | |
class | DispatcherR10Function |
Dispatcher for lass::util::CallbackR10 to a function or equivalent callable entinty. More... | |
class | DispatcherR10Method |
Dispatcher for lass::util::CallbackR10 to an object/method pair. More... | |
class | DispatcherR11 |
abstract base class of all dispatchers for lass::util::CallbackR11. More... | |
class | DispatcherR11Function |
Dispatcher for lass::util::CallbackR11 to a function or equivalent callable entinty. More... | |
class | DispatcherR11Method |
Dispatcher for lass::util::CallbackR11 to an object/method pair. More... | |
class | DispatcherR12 |
abstract base class of all dispatchers for lass::util::CallbackR12. More... | |
class | DispatcherR12Function |
Dispatcher for lass::util::CallbackR12 to a function or equivalent callable entinty. More... | |
class | DispatcherR12Method |
Dispatcher for lass::util::CallbackR12 to an object/method pair. More... | |
class | DispatcherR13 |
abstract base class of all dispatchers for lass::util::CallbackR13. More... | |
class | DispatcherR13Function |
Dispatcher for lass::util::CallbackR13 to a function or equivalent callable entinty. More... | |
class | DispatcherR13Method |
Dispatcher for lass::util::CallbackR13 to an object/method pair. More... | |
class | DispatcherR14 |
abstract base class of all dispatchers for lass::util::CallbackR14. More... | |
class | DispatcherR14Function |
Dispatcher for lass::util::CallbackR14 to a function or equivalent callable entinty. More... | |
class | DispatcherR14Method |
Dispatcher for lass::util::CallbackR14 to an object/method pair. More... | |
class | DispatcherR15 |
abstract base class of all dispatchers for lass::util::CallbackR15. More... | |
class | DispatcherR15Function |
Dispatcher for lass::util::CallbackR15 to a function or equivalent callable entinty. More... | |
class | DispatcherR15Method |
Dispatcher for lass::util::CallbackR15 to an object/method pair. More... | |
class | DispatcherR2 |
abstract base class of all dispatchers for lass::util::CallbackR2. More... | |
class | DispatcherR2Function |
Dispatcher for lass::util::CallbackR2 to a function or equivalent callable entinty. More... | |
class | DispatcherR2Method |
Dispatcher for lass::util::CallbackR2 to an object/method pair. More... | |
class | DispatcherR3 |
abstract base class of all dispatchers for lass::util::CallbackR3. More... | |
class | DispatcherR3Function |
Dispatcher for lass::util::CallbackR3 to a function or equivalent callable entinty. More... | |
class | DispatcherR3Method |
Dispatcher for lass::util::CallbackR3 to an object/method pair. More... | |
class | DispatcherR4 |
abstract base class of all dispatchers for lass::util::CallbackR4. More... | |
class | DispatcherR4Function |
Dispatcher for lass::util::CallbackR4 to a function or equivalent callable entinty. More... | |
class | DispatcherR4Method |
Dispatcher for lass::util::CallbackR4 to an object/method pair. More... | |
class | DispatcherR5 |
abstract base class of all dispatchers for lass::util::CallbackR5. More... | |
class | DispatcherR5Function |
Dispatcher for lass::util::CallbackR5 to a function or equivalent callable entinty. More... | |
class | DispatcherR5Method |
Dispatcher for lass::util::CallbackR5 to an object/method pair. More... | |
class | DispatcherR6 |
abstract base class of all dispatchers for lass::util::CallbackR6. More... | |
class | DispatcherR6Function |
Dispatcher for lass::util::CallbackR6 to a function or equivalent callable entinty. More... | |
class | DispatcherR6Method |
Dispatcher for lass::util::CallbackR6 to an object/method pair. More... | |
class | DispatcherR7 |
abstract base class of all dispatchers for lass::util::CallbackR7. More... | |
class | DispatcherR7Function |
Dispatcher for lass::util::CallbackR7 to a function or equivalent callable entinty. More... | |
class | DispatcherR7Method |
Dispatcher for lass::util::CallbackR7 to an object/method pair. More... | |
class | DispatcherR8 |
abstract base class of all dispatchers for lass::util::CallbackR8. More... | |
class | DispatcherR8Function |
Dispatcher for lass::util::CallbackR8 to a function or equivalent callable entinty. More... | |
class | DispatcherR8Method |
Dispatcher for lass::util::CallbackR8 to an object/method pair. More... | |
class | DispatcherR9 |
abstract base class of all dispatchers for lass::util::CallbackR9. More... | |
class | DispatcherR9Function |
Dispatcher for lass::util::CallbackR9 to a function or equivalent callable entinty. More... | |
class | DispatcherR9Method |
Dispatcher for lass::util::CallbackR9 to an object/method pair. More... | |
struct | TruePredicate |
Predicate for enforcers using operator!, used by LASS_ENFORCE and LASS_ENFORCE_POINTER. More... | |
struct | EqualPredicate |
value must be equal to closure More... | |
struct | UnequalPredicate |
value must be different than closure More... | |
struct | GreaterEqualPredicate |
value must be greater than or equal to closure More... | |
struct | IndexPredicate |
value must be in range [0, closure) More... | |
struct | StreamPredicate |
Predicate to enforce a stream to be a in good state. More... | |
struct | DefaultRaiser |
Throw a runtime error. More... | |
struct | ZeroRaiser |
Throws an run time exception for raising LASS_ENFORCE_ZERO. More... | |
struct | ClibRaiser |
Throws a run time exception for raisng LASS_ENFORCE_CLIB. More... | |
struct | ClibWarner |
Prints warning to std::cerr for LASS_WARN_CLIB. More... | |
struct | ClibRcRaiser |
Throws a run time exception for raisng LASS_ENFORCE_CLIB_RC. More... | |
struct | ClibRcWarner |
Throws a run time exception for raisng LASS_ENFORCE_CLIB_RC. More... | |
struct | ComRaiser |
Throws an run time exception for raising LASS_ENFORCE_COM. More... | |
struct | IndexRaiser |
Throw a range error for LASS_ENFORCE_INDEX. More... | |
class | Enforcer |
Helper class of the enforce macro's. More... | |
class | CompareDestructionPriority |
helper class to compare destruction priorities fo lass::util::SingletonBase. More... | |
class | SingletonGuard |
The singleton guard will take care of the destruction of all singletons. More... | |
class | SingletonBase |
base class of all singletons. More... | |
class | MutexInternal |
class | ConditionInternal |
class | ThreadInternal |
class | ThreadLocalStorageInternal |
class | CriticalSectionInternal |
class | MainLocalStorageDestroyer |
class | StringCast |
Typedefs | |
typedef util::AllocatorClassAdaptor < util::AllocatorPerThread < util::AllocatorBinned < util::AllocatorFreeList<> > > > | TDispatcherAllocatorBase |
typedef MutexInternal | CriticalSectionInternal |
typedef AllocatorThrow < AllocatorStaticFixed < AllocatorConcurrentFreeList <>, sizeof(int) > > | THeapCounterAllocator |
Functions | |
const std::string | lass_getenv (const std::string &iName) |
void | lass_putenv (const std::string &iName, const std::string &iValue) |
void | raiserAddMessage (std::ostream &stream, const std::string &message) |
template<typename PredicateType , typename RaiserType , typename T , typename C > | |
Enforcer< PredicateType, RaiserType, T &, const C & > | makeEnforcer (T &t, const C &closure, const char *locus) |
helper function to create enforcers | |
template<typename PredicateType , typename RaiserType , typename T , typename C > | |
Enforcer< PredicateType, RaiserType, const T &, const C & > | makeEnforcer (const T &t, const C &closure, const char *locus) |
const int | lass_errno () |
returns CLIB errno | |
void | lass_reset_errno () |
sets CLIB errno to zero. | |
const std::string | lass_strerror (int iErrnum) |
returns message associated to an CLIB error code | |
unsigned | numberOfProcessors () |
void | bindThread (pid_t pid, unsigned processor) |
void | bindThread (HANDLE thread, unsigned processor) |
void | setThreadName (DWORD threadId, const char *threadName) |
THeapCounterAllocator & | heapCounterAllocator () |
void | initHeapCounter (int *&ioCounter, int iInitialValue) |
void | disposeHeapCounter (int *&ioCounter) |
Variables | |
const size_t | bitsInByte [256] |
lookup table of number of bits in a byte | |
THeapCounterAllocator * | heapCounterAllocatorSingleton = 0 |
int | heapCounterAllocatorSemaphore = 1 |
typedef util::AllocatorClassAdaptor< util::AllocatorPerThread< util::AllocatorBinned< util::AllocatorFreeList<> > > > lass::util::impl::TDispatcherAllocatorBase |
Definition at line 63 of file dispatcher_allocator.h.
Definition at line 156 of file thread_posix.inl.
typedef AllocatorThrow< AllocatorStaticFixed< AllocatorConcurrentFreeList<>, sizeof(int) > > lass::util::impl::THeapCounterAllocator |
Definition at line 65 of file smart_ptr_policies.cpp.
LASS_DLL const std::string LASS_CALL lass::util::impl::lass_getenv | ( | const std::string & | iName | ) |
Definition at line 62 of file environment.cpp.
References LASS_ENFORCE_CLIB_RC, and LASS_THROW.
Referenced by lass::util::impl::Environment< std::string >::get(), and lass::util::impl::Environment< T >::get().
LASS_DLL void LASS_CALL lass::util::impl::lass_putenv | ( | const std::string & | iName, | |
const std::string & | iValue | |||
) |
Definition at line 84 of file environment.cpp.
References LASS_ENFORCE_CLIB_RC.
Referenced by lass::util::impl::Environment< std::string >::put(), and lass::util::impl::Environment< T >::put().
void lass::util::impl::raiserAddMessage | ( | std::ostream & | stream, | |
const std::string & | message | |||
) | [inline] |
Definition at line 233 of file enforcer_impl.h.
Referenced by lass::util::impl::IndexRaiser::raise(), lass::util::impl::ComRaiser::raise(), lass::util::impl::ClibRcWarner::raise(), lass::util::impl::ClibRcRaiser::raise(), lass::util::impl::ClibWarner::raise(), lass::util::impl::ClibRaiser::raise(), and lass::util::impl::ZeroRaiser::raise().
Enforcer<PredicateType, RaiserType, T&, const C&> lass::util::impl::makeEnforcer | ( | T & | t, | |
const C & | closure, | |||
const char * | locus | |||
) | [inline] |
Enforcer<PredicateType, RaiserType, const T&, const C&> lass::util::impl::makeEnforcer | ( | const T & | t, | |
const C & | closure, | |||
const char * | locus | |||
) | [inline] |
Definition at line 534 of file enforcer_impl.h.
const unsigned lass::util::impl::numberOfProcessors | ( | ) |
void lass::util::impl::bindThread | ( | pid_t | pid, | |
unsigned | processor | |||
) |
Definition at line 278 of file thread_posix.inl.
References lass::util::Thread::anyProcessor, LASS_ASSERT, LASS_ENFORCE_CLIB, LASS_THROW, and lass::util::numberOfProcessors.
Referenced by lass::util::impl::ThreadInternal::bind(), and lass::util::impl::ThreadInternal::bindCurrent().
void lass::util::impl::bindThread | ( | HANDLE | thread, | |
unsigned | processor | |||
) |
Definition at line 455 of file thread_win32.inl.
References lass::util::Thread::anyProcessor, LASS_THROW, and lass::util::numberOfProcessors.
void lass::util::impl::setThreadName | ( | DWORD | threadId, | |
const char * | threadName | |||
) |
Definition at line 477 of file thread_win32.inl.
Referenced by lass::util::impl::ThreadInternal::run().
THeapCounterAllocator& lass::util::impl::heapCounterAllocator | ( | ) |
Definition at line 70 of file smart_ptr_policies.cpp.
References lass::util::atomicCompareAndSwap(), lass::util::atomicIncrement(), heapCounterAllocatorSemaphore, heapCounterAllocatorSingleton, and LASS_ASSERT.
Referenced by disposeHeapCounter(), and initHeapCounter().
LASS_DLL void lass::util::impl::initHeapCounter | ( | int *& | ioCounter, | |
int | iInitialValue | |||
) |
Definition at line 100 of file smart_ptr_policies.cpp.
References lass::util::AllocatorThrow< Allocator >::allocate(), and heapCounterAllocator().
Referenced by lass::util::DefaultCounter::init().
LASS_DLL void lass::util::impl::disposeHeapCounter | ( | int *& | ioCounter | ) |
Definition at line 106 of file smart_ptr_policies.cpp.
References heapCounterAllocator().
Referenced by lass::util::DefaultCounter::dispose().
Generated on Mon Nov 10 14:22:17 2008 for Library of Assembled Shared Sources by 1.5.7.1 |