syncsys
Classes | Functions

helpers Namespace Reference

namespace for all useful classes/functions etc. More...

Classes

class  NetworkBuffer
 helpclass for data-(de)-serialization. More...
class  SecureList
 threadsafe (but not exceptionsafe!) std::list More...
class  SecureMap
 threadsafe (but not exceptionsafe!) std::map More...
class  SecureVector
 threadsafe (but not exceptionsafe!) std::vector More...

Functions

template<typename T1 , typename T2 >
T1 Atomic_Or (volatile T1 &Target, T2 Value)
 atomic or
template<typename T1 , typename T2 >
T1 Atomic_And (volatile T1 &Target, T2 Value)
 atomic and
template<typename T1 >
T1 Atomic_Dec (volatile T1 &Target)
 atomic dec
template<typename T1 >
void Atomic_Inc (volatile T1 &Target)
 atomic inc
template<typename T1 , typename T2 >
void Atomic_Set (volatile T1 &Target, T2 Value)
 atomic set
template<typename T1 , typename T2 >
void Atomic_Add (volatile T1 &Target, T2 Value)
 atomic add
void PortableSleep (unsigned int _t)
 portable version of sleep
unsigned int PortableGetTime (void)
 portable version to get the time in MS

Detailed Description

namespace for all useful classes/functions etc.