|
ldas-tools-al 2.6.7
|
The Abstraction Layer. More...
Classes | |
| class | AtExit |
| Cleanup upon exit. More... | |
| class | BackgroundTaskCounter |
| class | CaseInsensitiveCmp |
| Case-Insensitive Compare Functional. More... | |
| 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... | |
| struct | CreateUsingNew |
| struct | DefaultLifetime |
| 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... | |
| struct | hash_pointer |
| struct | ic_hash |
| Hash proto. More... | |
| struct | ic_hash< std::string > |
| Case-Insensitive String Hash Specialization. More... | |
| class | infix_ostream_iterator |
| class | IOLock |
| Class to coordinate writing of streams. More... | |
| class | Log |
| Logging class. More... | |
| class | LogCB |
| 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 |
| class | Singleton |
| class | SingletonHolder |
| 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 | Thread |
| class | ThreadPool |
| Maintains a pool of threads. More... | |
| class | TimeoutException |
| class | Timer |
| Give a task a maximum amount of time to complete. More... | |
| 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... | |
| class | UserInfoCache |
| Cache system information about users. More... | |
Typedefs | |
| typedef LDAS_BIT_VECTOR | bit_vector |
| Compiler independent bit_vector. | |
| 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. | |
| GPSTime | operator+ (const GPSTime &, const double &) |
| Addition operator. | |
| GPSTime | operator+ (const double &, const GPSTime &) |
| Addition operator. | |
| GPSTime | operator- (const GPSTime &, const double &) |
| Subtraction operator. | |
| double | operator- (const GPSTime &, const GPSTime &) |
| Subtraction operator. | |
| bool | operator== (const GPSTime &, const GPSTime &) |
| Equality operator. | |
| bool | operator!= (const GPSTime &, const GPSTime &) |
| Inequality operator. | |
| bool | operator< (const GPSTime &, const GPSTime &) |
| Less than operator. | |
| bool | operator> (const GPSTime &, const GPSTime &) |
| Greater than operator. | |
| bool | operator<= (const GPSTime &, const GPSTime &) |
| Less than or equal to operator. | |
| bool | operator>= (const GPSTime &, const GPSTime &) |
| Greater than or equal to operator. | |
| std::ostream & | operator<< (std::ostream &Stream, const GPSTime &Time) |
| Output operator. | |
| 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. | |
| int | cmp_nocase (const char *lhs, const char *rhs) |
| Case-Insensitve String comparison. | |
| bool | is_space (const char c) |
| Is character a space? | |
| bool | not_space (const char c) |
| Is character a not space? | |
| void | string2lower (std::string &s) |
| Convert to Lower-case. | |
| 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. | |
| ErrorLog | StdErrLog (std::cerr, false) |
| ErrorLog | JournalLog (std::cerr, true) |
Variables | |
| ErrorLog | StdErrLog |
| ErrorLog | JournalLog |
| template<class T, template< class > class C, template< class > class L> | |
| SingletonHolder< T, C, L >::baton_type | SingletonHolder< T, C, L >::baton |
| template<class T, template< class > class C, template< class > class L> | |
| SingletonHolder< T, C, L >::PtrInstanceType | SingletonHolder< T, C, L >::pInstance_ |
| template<class T, template< class > class C, template< class > class L> | |
| bool | SingletonHolder< T, C, L >::destroyed_ |
| 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 |
| SingletonHolder<T,C,L>::baton_type LDASTools::AL::SingletonHolder< T, C, L >::baton |
| bool LDASTools::AL::SingletonHolder< T, C, L >::destroyed_ |
| SingletonHolder<T,C,L>::PtrInstanceType LDASTools::AL::SingletonHolder< T, C, L >::pInstance_ |
| ErrorLog LDASTools::AL::StdErrLog |
| const int LDASTools::AL::TIMEOUT_COMPLETED = 0x0002 |
| const int LDASTools::AL::TIMEOUT_TIMED_OUT = 0x0001 |