LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Namespaces | Classes | Functions
LogCabin::Core Namespace Reference

Namespaces

namespace  Checksum
namespace  anonymous_namespace{Config.cc}
namespace  Debug
namespace  StringUtil
namespace  ProtoBuf
namespace  Random
 

Thread-safe pseudo-random number generator.


namespace  STLUtil
namespace  ThreadId
 

Provides a convenient way to get identifiers for threads.


namespace  Time
namespace  Util

Classes

class  Buffer
 A container for opaque data. More...
class  ConditionVariable
 Similar to std::condition_variable but with improvements for testing, support for monotonic clocks, and less buggy. More...
class  Config
 Reads and writes configuration files. More...
class  Mutex
 A wrapper around std::mutex that is useful for testing purposes. More...
class  MutexUnlock
 Release a mutex upon construction, reacquires it upon destruction. More...
class  HoldingMutex
 Proof that the caller is holding some mutex. More...
class  RollingStat
 This class gathers statistics about a given metric over time, like its average, standard deviation, and exponentially weighted moving average. More...

Functions

std::istream & operator>> (std::istream &is, Config &cf)
std::ostream & operator<< (std::ostream &os, const Config &cf)
template<>
std::string Config::fromString< std::string > (const string &key, const string &s)
std::ostream & operator<< (std::ostream &os, const RollingStat &stat)

Function Documentation

std::istream& LogCabin::Core::operator>> ( std::istream &  is,
Config &  cf 
)

Definition at line 164 of file Config.cc.

std::ostream& LogCabin::Core::operator<< ( std::ostream &  os,
const Config &  cf 
)

Definition at line 219 of file Config.cc.

template<>
std::string LogCabin::Core::Config::fromString< std::string > ( const string &  key,
const string &  s 
)

Definition at line 257 of file Config.cc.

std::ostream& LogCabin::Core::operator<< ( std::ostream &  os,
const RollingStat &  stat 
)

Definition at line 180 of file RollingStat.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines