ldas-tools-al
2.6.7
|
The Abstraction Layer. More...
Classes | |
class | AtExit |
Cleanup upon exit. More... | |
class | BackgroundTaskCounter |
class | CommandLineOptions |
Maintains an ordered container of unparsed command line options. More... | |
class | ConditionalVariable |
Thread syncronization based on condition. More... | |
class | Config |
Support reading and parsing of configuration streams. More... | |
class | Directory |
Read the contents of a directory. More... | |
class | ErrorLog |
Error reporting mechanism. More... | |
class | Exec |
class | FileType |
class | Fork |
class | GPSTime |
GPS time class. More... | |
class | infix_ostream_iterator |
class | IOLock |
Class to coordinate writing of streams. More... | |
class | Log |
Logging class. More... | |
class | MemChecker |
Memory garbage collector. More... | |
class | MutexLock |
Descibes an object which release a mutex lock. More... | |
class | MutexLockVariable |
class | Pool |
Maintain a collection system calls. More... | |
class | Profile |
Provide profiling information. More... | |
class | PSInfo |
Class to retrieve process information. More... | |
struct | PtrHash |
class | ReadWriteLock |
Implements read/write lock symantics. More... | |
class | ReadWriteLockVariable |
Implements read/write lock symantics for a variable. More... | |
class | SignalHandler |
struct | CreateUsingNew |
struct | DefaultLifetime |
class | SingletonHolder |
class | Singleton |
class | SOLoader |
Dynamic library loader. More... | |
class | SystemCall |
Interface for doing operating system calls. More... | |
class | SystemCallTask |
Perform a system call within a thread. More... | |
class | Task |
A unit of work to be done usually within a thread. More... | |
class | TaskThread |
class | Timer |
Give a task a maximum amount of time to complete. More... | |
class | Thread |
class | ThreadPool |
Maintains a pool of threads. More... | |
class | TimeoutException |
class | TimerThread |
Keep track of threads to be run for a specified time. More... | |
class | TriStateInterface |
Base class for objects to be stored in the TriStatePool. More... | |
class | TriStatePool |
Maintain a collection system calls. More... | |
class | unordered_map |
Place unordered_map into General namespace. More... | |
class | unordered_multimap |
Place unordered_multimap into General namespace. More... | |
struct | hash_pointer |
class | UserInfoCache |
Cache system information about users. More... | |
struct | ic_hash |
Hash proto. More... | |
struct | ic_hash< std::string > |
Case-Insensitive String Hash Specialization. More... | |
class | CaseInsensitiveCmp |
Case-Insensitive Compare Functional. More... | |
class | LogCB |
Typedefs | |
typedef LDAS_BIT_VECTOR | bit_vector |
Compiler independent bit_vector. More... | |
typedef void(* | SingletonExitFunction) () |
typedef CommandLineOptions::Option | Option |
typedef CommandLineOptions::OptionSet | OptionSet |
typedef CommandLineOptions::ostream | ostream |
Functions | |
class LDASTools::AL::AtExit | LDASTOOLS_DEPRECATED ("use method LDASTools::AL::MemChecker instead") |
void | SetOffsetTableFilename (const std::string &Filename) |
Establish the filename which contains the leap seconds. More... | |
GPSTime | operator+ (const GPSTime &, const double &) |
Addition operator. More... | |
GPSTime | operator+ (const double &, const GPSTime &) |
Addition operator. More... | |
GPSTime | operator- (const GPSTime &, const double &) |
Subtraction operator. More... | |
double | operator- (const GPSTime &, const GPSTime &) |
Subtraction operator. More... | |
bool | operator== (const GPSTime &, const GPSTime &) |
Equality operator. More... | |
bool | operator!= (const GPSTime &, const GPSTime &) |
Inequality operator. More... | |
bool | operator< (const GPSTime &, const GPSTime &) |
Less than operator. More... | |
bool | operator> (const GPSTime &, const GPSTime &) |
Greater than operator. More... | |
bool | operator<= (const GPSTime &, const GPSTime &) |
Less than or equal to operator. More... | |
bool | operator>= (const GPSTime &, const GPSTime &) |
Greater than or equal to operator. More... | |
std::ostream & | operator<< (std::ostream &Stream, const GPSTime &Time) |
Output operator. More... | |
void | at_exit (SingletonExitFunction Function, const std::string &Name, int Ring) |
int | Timeout (Task *CallerTask, int Seconds, int &Status, bool ThrowTimeoutException=true) |
template<typename T > | |
int | Timeout (boost::shared_ptr< T > CallerTask, int Seconds, int &Status, bool ThrowTimeoutException=true) |
int | cmp_nocase (const std::string &S1, const std::string &S2) |
Case-Insensitve String comparison. More... | |
int | cmp_nocase (const char *lhs, const char *rhs) |
Case-Insensitve String comparison. More... | |
bool | is_space (const char c) |
Is character a space? More... | |
bool | not_space (const char c) |
Is character a not space? More... | |
void | string2lower (std::string &s) |
Convert to Lower-case. More... | |
std::string | slower (const std::string &s) |
void | Rethrow (const std::string &Prefix, const std::exception &Exception) |
Rethrow a std::exception adding information to the front. More... | |
ErrorLog | StdErrLog (std::cerr, false) |
ErrorLog | JournalLog (std::cerr, true) |
Variables | |
ErrorLog | StdErrLog |
ErrorLog | JournalLog |
const int | TIMEOUT_TIMED_OUT = 0x0001 |
const int | TIMEOUT_COMPLETED = 0x0002 |
const std::streamoff | MMAP_CHUNK = std::streamoff( 0x100000UL ) |
static int | rw_timeout = 0 |
The Abstraction Layer.
The classes and other objects defined in this namespace are intended to provide a unified interface across multiple platforms.
Compiler independent bit_vector.
typedef void(* LDASTools::AL::SingletonExitFunction)() |
void LDASTools::AL::at_exit | ( | SingletonExitFunction | Function, |
const std::string & | Name, | ||
int | Ring | ||
) |
int LDASTools::AL::cmp_nocase | ( | const char * | lhs, |
const char * | rhs | ||
) |
Case-Insensitve String comparison.
Compares the strings S1 and S2 and returns an integer less than, equal to, greater than zero.
S1 | Left hand side of comparison |
S2 | Right hand side of comparison |
int LDASTools::AL::cmp_nocase | ( | const std::string & | S1, |
const std::string & | S2 | ||
) |
Case-Insensitve String comparison.
Compares the strings S1 and S2 and returns an integer less than, equal to, greater than zero.
S1 | Left hand side of comparison |
S2 | Right hand side of comparison |
bool LDASTools::AL::is_space | ( | const char | c | ) |
Is character a space?
c | Character to test. |
ErrorLog LDASTools::AL::JournalLog | ( | std::cerr | , |
true | |||
) |
class LDASTools::AL::AtExit LDASTools::AL::LDASTOOLS_DEPRECATED | ( | "use method LDASTools::AL::MemChecker instead" | ) |
bool LDASTools::AL::not_space | ( | const char | c | ) |
Is character a not space?
c | Character to test. |
std::ostream & LDASTools::AL::operator<< | ( | std::ostream & | Stream, |
const GPSTime & | Time | ||
) |
Output operator.
Less than or equal to operator.
Greater than or equal to operator.
void LDASTools::AL::Rethrow | ( | const std::string & | Prefix, |
const std::exception & | Exception | ||
) |
Rethrow a std::exception adding information to the front.
Prefix | Text to be prepended to the exception text. |
Exception | Origional exception that was thrown and used as type of exception to throw. |
logic_error: begin
logic_error: end runtime_error: begin
runtime_error: end others: begin
others: end
void LDASTools::AL::SetOffsetTableFilename | ( | const std::string & | Filename | ) |
Establish the filename which contains the leap seconds.
std::string LDASTools::AL::slower | ( | const std::string & | s | ) |
ErrorLog LDASTools::AL::StdErrLog | ( | std::cerr | , |
false | |||
) |
void LDASTools::AL::string2lower | ( | std::string & | s | ) |
Convert to Lower-case.
param std::string& s
int LDASTools::AL::Timeout | ( | boost::shared_ptr< T > | CallerTask, |
int | Seconds, | ||
int & | Status, | ||
bool | ThrowTimeoutException = true |
||
) |
int LDASTools::AL::Timeout | ( | Task * | CallerTask, |
int | Seconds, | ||
int & | Status, | ||
bool | ThrowTimeoutException = true |
||
) |
ErrorLog LDASTools::AL::JournalLog |
const std::streamoff LDASTools::AL::MMAP_CHUNK = std::streamoff( 0x100000UL ) |
|
static |
ErrorLog LDASTools::AL::StdErrLog |
const int LDASTools::AL::TIMEOUT_COMPLETED = 0x0002 |
const int LDASTools::AL::TIMEOUT_TIMED_OUT = 0x0001 |