Namespaces | |
config | |
Framework for processing configuration files. | |
crypt | |
Contains cryptographic functions. | |
dispatch | |
Dispatching framework. | |
impl | |
internal | |
logging | |
Flexible, powerful, configurable logging framework. | |
os | |
Namespace for operating system specific implementations. | |
perf_mon | |
plugin | |
Plugin framework. | |
thread | |
Classes | |
class | AbstractFunctionObject |
class | AnchorFunction |
class | Array2D |
class | AtScopeEnd |
struct | ConvertToRef |
struct | ConvertToRef< T & > |
struct | DataHeader |
struct | DefaultConstruct |
struct | ExpectedType |
struct | ExpectedTypeIs |
struct | Explicit |
class | Finalizable |
class | KeyValueDirectory |
class | KeyValueDirectoryIterator |
class | List |
class | Map |
class | Multimap |
class | Noncopyable |
struct | Query |
class | QueryKeyFunction |
class | QueryValueFunction |
class | Queue |
struct | RemoveMemberPointer |
struct | RemoveMemberPointer< T Q::* > |
class | RingBuffer |
A simple ring buffer implementation based on std::vector. More... | |
struct | Scheme |
class | SchemeFunction |
class | SchemeParser |
class | SCPCreateStatic |
Creates objects as static function variables. More... | |
class | SCPCreateUsingMalloc |
Creates and destroys objects using malloc() and free(). More... | |
class | SCPCreateUsingNew |
Creates and destroys objects using operator new and operator delete. More... | |
class | SearchableStack |
class | SequenceNumber |
class | Set |
class | Singleton |
class | SLPDefaultLifetime |
class | SLPNoDestroy |
class | SpecifierFunction |
struct | Stamped |
struct | StampedBase |
class | STMSingleThreaded |
Dummy threading model for single-threaded environments. More... | |
class | TestListener |
class | TimeBase |
Repesents time values. More... | |
class | TimeSpan |
Repesents absolute times. More... | |
class | TimeStamp |
Represents absolute times. More... | |
class | tList |
class | tMap |
class | tQueue |
class | tRingBuffer |
A simple ring buffer implementation based on std::vector. More... | |
class | tSearchableStack |
class | tSequenceNumber |
class | tVector |
class | UnionFind |
class | Vector |
class | ZBuffer |
Enumerations | |
enum | SchemeType { FileScheme, HttpScheme, CameraScheme, GpsScheme, OtherScheme } |
enum | SetRelation { eSR_EQUAL, eSR_PROPER_SUPERSET, eSR_PROPER_SUBSET, eSR_INTERSECTION_NONEMPTY, eSR_DISJUNCT } |
Helper enum to describe relations between sets. More... | |
enum | TestResultOutputType { eTROT_Text, eTROT_Compiler, eTROT_Xml } |
Functions | |
TimeSpan | abs (const TimeSpan &span) |
template<typename T > | |
void | clearBits (int bits, typename ConvertToRef< T >::ToRef bitfield) |
template<> | |
void | convert (const Foo &from, Bar &to) |
template<> | |
void | convert (const Bar &from, Foo &to) |
template<typename TTo , typename TFrom > | |
void | convert (const TFrom &from, TTo &to) |
template<typename TTo , typename TFrom > | |
TTo | convert (const TFrom &from) |
template<typename T > | |
bool | isBitSet (int bit, typename ConvertToRef< T >::ToConstRef bitfield) |
String | join (const std::vector< String > &substrings, const String &delimiter) |
TimeSpan | operator* (const TimeSpan &span, double divisor) |
TimeSpan | operator+ (const TimeSpan &left, const TimeSpan &right) |
TimeStamp | operator+ (const TimeSpan &span, const TimeStamp &time) |
TimeStamp | operator+ (const TimeStamp &time, const TimeSpan &span) |
TimeSpan | operator- (const TimeSpan &left, const TimeSpan &right) |
TimeStamp | operator- (const TimeStamp &time, const TimeSpan &span) |
TimeSpan | operator- (const TimeStamp &time_1, const TimeStamp &time_2) |
TimeSpan | operator/ (const TimeSpan &span, double divisor) |
std::ostream & | operator<< (std::ostream &os, StampedBase const &stamped) |
std::ostream & | operator<< (std::ostream &stream, const Scheme &scheme) |
std::ostream & | operator<< (std::ostream &os, const TimeStamp &t) |
std::ostream & | operator<< (std::ostream &stream, const TimeSpan &time_span) |
Write a time span to an STL output stream. More... | |
template<typename T > | |
String | padLeft (typename ConvertToRef< T >::ToConstRef x, size_t width, char pad_chr= ' ') |
template<> | |
String | padLeft< String > (const String &str, size_t width, char pad_chr) |
template<typename T > | |
String | padRight (typename ConvertToRef< T >::ToConstRef x, size_t width, char pad_chr= ' ') |
template<> | |
String | padRight< String > (const String &str, size_t width, char pad_chr) |
int | runCppunitTestSuite (TestResultOutputType outputType) |
template<typename T > | |
void | setBits (int bits, typename ConvertToRef< T >::ToRef bitfield) |
template<typename T , typename TCompare > | |
SetRelation | setRelation (const std::set< T, TCompare > &s1, const std::set< T, TCompare > &s2) |
std::vector< String > | split (const String &str, const String &delimiter) |
bool | string2Enum (const String &str, int32_t &value, const char *const *descriptions, const char *end_marker) |
bool | string2Enum (const String &str, int32_t &value, const std::vector< std::string > &descriptions) |
bool | string2Enum (const String &str, int64_t &value, const std::vector< std::string > &descriptions) |
template<typename T > | |
String | stringify (typename ConvertToRef< T >::ToConstRef x) |
template<> | |
String | stringify< bool > (const bool &x) |
template<> | |
String | stringify< double > (const double &x) |
template<> | |
String | stringify< float > (const float &x) |
template<> | |
String | stringify< long double > (const long double &x) |
String | toLower (icl_core::String str) |
String | toUpper (icl_core::String str) |
String | trim (String const &str) |
Independent Component Library containing core functionality.
typedef void(* icl_core::DestructionFuncPtr) () |
Helper definition for destruction functions.
Definition at line 40 of file SingletonLifetimePolicies.h.
typedef List<double> icl_core::DoubleList |
typedef SearchableStack<double> icl_core::DoubleSearchableStack |
Definition at line 104 of file SearchableStack.h.
typedef Vector<double> icl_core::DoubleVector |
typedef SearchableStack<float> icl_core::FloaSearchableStack |
Definition at line 103 of file SearchableStack.h.
typedef List<float> icl_core::FloatList |
typedef Vector<float> icl_core::FloatVector |
Definition at line 42 of file SetHelper.h.
typedef int icl_core::pid_t |
Definition at line 34 of file os_win32_thread.h.
typedef std::vector<Query> icl_core::QueryList |
Definition at line 61 of file SchemeParser.h.
typedef List<int16_t> icl_core::Signed16List |
Definition at line 100 of file SearchableStack.h.
typedef Vector<int16_t> icl_core::Signed16Vector |
typedef List<int32_t> icl_core::Signed32List |
Definition at line 101 of file SearchableStack.h.
typedef Vector<int32_t> icl_core::Signed32Vector |
typedef List<int64_t> icl_core::Signed64List |
Definition at line 102 of file SearchableStack.h.
typedef Vector<int64_t> icl_core::Signed64Vector |
typedef List<int8_t> icl_core::Signed8List |
Definition at line 99 of file SearchableStack.h.
typedef Vector<int8_t> icl_core::Signed8Vector |
typedef std::string icl_core::String |
Definition at line 43 of file BaseTypes.h.
typedef tList<double> icl_core::tDoubleList |
typedef tSearchableStack<tDouble> icl_core::tDoubleSearchableStack |
Definition at line 105 of file tSearchableStack.h.
typedef tVector<tDouble> icl_core::tDoubleVector |
typedef tList<float> icl_core::tFloatList |
typedef tSearchableStack<tFloat> icl_core::tFloatSearchableStack |
Definition at line 104 of file tSearchableStack.h.
typedef tVector<tFloat> icl_core::tFloatVector |
typedef ICL_CORE_OS_IMPL_NS::ThreadId icl_core::ThreadId |
Definition at line 49 of file os_thread.h.
typedef int32_t icl_core::ThreadPriority |
Definition at line 50 of file os_thread.h.
typedef tList<int16_t> icl_core::tSigned16List |
typedef tSearchableStack<tSigned16> icl_core::tSigned16SearchableStack |
Definition at line 101 of file tSearchableStack.h.
typedef tVector<tSigned16> icl_core::tSigned16Vector |
typedef tList<int32_t> icl_core::tSigned32List |
typedef tSearchableStack<tSigned32> icl_core::tSigned32SearchableStack |
Definition at line 102 of file tSearchableStack.h.
typedef tVector<tSigned32> icl_core::tSigned32Vector |
typedef tList<int64_t> icl_core::tSigned64List |
typedef tSearchableStack<tSigned64> icl_core::tSigned64SearchableStack |
Definition at line 103 of file tSearchableStack.h.
typedef tVector<tSigned64> icl_core::tSigned64Vector |
typedef tList<int8_t> icl_core::tSigned8List |
typedef tSearchableStack<tSigned8> icl_core::tSigned8SearchableStack |
Definition at line 100 of file tSearchableStack.h.
typedef tVector<tSigned8> icl_core::tSigned8Vector |
typedef tList<uint16_t> icl_core::tUnsigned16List |
typedef tSearchableStack<tUnsigned16> icl_core::tUnsigned16SearchableStack |
Definition at line 97 of file tSearchableStack.h.
typedef tVector<tUnsigned16> icl_core::tUnsigned16Vector |
typedef tList<uint32_t> icl_core::tUnsigned32List |
typedef tSearchableStack<tUnsigned32> icl_core::tUnsigned32SearchableStack |
Definition at line 98 of file tSearchableStack.h.
typedef tVector<tUnsigned32> icl_core::tUnsigned32Vector |
typedef tList<uint64_t> icl_core::tUnsigned64List |
typedef tSearchableStack<tUnsigned64> icl_core::tUnsigned64SearchableStack |
Definition at line 99 of file tSearchableStack.h.
typedef tVector<tUnsigned64> icl_core::tUnsigned64Vector |
typedef tList<uint8_t> icl_core::tUnsigned8List |
typedef tSearchableStack<tUnsigned8> icl_core::tUnsigned8SearchableStack |
Definition at line 96 of file tSearchableStack.h.
typedef tVector<tUnsigned8> icl_core::tUnsigned8Vector |
typedef List<uint16_t> icl_core::Unsigned16List |
Definition at line 96 of file SearchableStack.h.
typedef Vector<uint16_t> icl_core::Unsigned16Vector |
typedef List<uint32_t> icl_core::Unsigned32List |
Definition at line 97 of file SearchableStack.h.
typedef Vector<uint32_t> icl_core::Unsigned32Vector |
typedef List<uint64_t> icl_core::Unsigned64List |
Definition at line 98 of file SearchableStack.h.
typedef Vector<uint64_t> icl_core::Unsigned64Vector |
typedef List<uint8_t> icl_core::Unsigned8List |
Definition at line 95 of file SearchableStack.h.
typedef Vector<uint8_t> icl_core::Unsigned8Vector |
enum icl_core::SchemeType |
Enumerator | |
---|---|
FileScheme | |
HttpScheme | |
CameraScheme |
camera://source?key=value |
GpsScheme |
gps://type (gpsd/oxfs/...) |
OtherScheme |
Definition at line 63 of file SchemeParser.h.
Helper enum to describe relations between sets.
Enumerator | |
---|---|
eSR_EQUAL | |
eSR_PROPER_SUPERSET | |
eSR_PROPER_SUBSET | |
eSR_INTERSECTION_NONEMPTY | |
eSR_DISJUNCT |
Definition at line 33 of file SetHelper.h.
Definition at line 34 of file test_suite.h.
Definition at line 222 of file TimeSpan.h.
void icl_core::clearBits | ( | int | bits, |
typename ConvertToRef< T >::ToRef | bitfield | ||
) |
Clears the specified bits in the bitfield.
Definition at line 49 of file BitfieldHelper.h.
Definition at line 53 of file test_icl_core_convert.cpp.
Definition at line 59 of file test_icl_core_convert.cpp.
void icl_core::convert | ( | const TFrom & | from, |
TTo & | to | ||
) |
Convert an object from to an object to which has a semantically compatible datatype. This concept is designed to help get rid of the multitude of custom, signature-incompatible, badly documented conversion routines, and provide the user of your datatypes with a single, convenient way of converting between different semantically compatible types. The default implementation here simply uses static_cast. If you want to convert between two datatypes, such as different types of 3d transforms, a custom conversion method may be necessary and can be implemented by template specialization of this function. Say, for example, you want to provide a converter from Eigen::Affine3d
to your own custom 3D transform datatype (we'll call it CustomTransform
). Then you implement the following specialization:
Anyone who needs a conversion between the two datatypes can then simply write
[in] | from | An object of type TFrom. |
[out] | to | An object of type TTO. |
TTo icl_core::convert | ( | const TFrom & | from | ) |
Convenience wrapper for
from | An object of type TFrom. |
bool icl_core::isBitSet | ( | int | bit, |
typename ConvertToRef< T >::ToConstRef | bitfield | ||
) |
Checks if the specified bit is set in the bitfield.
Definition at line 58 of file BitfieldHelper.h.
ICL_CORE_IMPORT_EXPORT String icl_core::join | ( | const std::vector< String > & | substrings, |
const String & | delimiter | ||
) |
The reverse operation of split(const String&, const String&). Joins all the substrings, separated by delimiter.
substrings | The substrings to join. |
delimiter | The delimiter string. |
Definition at line 49 of file StringHelper.cpp.
Definition at line 216 of file TimeSpan.h.
Definition at line 198 of file TimeSpan.h.
Definition at line 343 of file TimeStamp.h.
Definition at line 349 of file TimeStamp.h.
Definition at line 204 of file TimeSpan.h.
Definition at line 355 of file TimeStamp.h.
Definition at line 361 of file TimeStamp.h.
Definition at line 210 of file TimeSpan.h.
ICL_CORE_IMPORT_EXPORT std::ostream & icl_core::operator<< | ( | std::ostream & | os, |
StampedBase const & | stamped | ||
) |
operator << to stream StampedBase to an ostream. Internally it calls the virtual print() function that is overloaded by the Stamped<T> implementation.
Definition at line 27 of file DataHeader.cpp.
std::ostream& icl_core::operator<< | ( | std::ostream & | stream, |
const Scheme & | scheme | ||
) |
Definition at line 29 of file SchemeParser.cpp.
std::ostream& icl_core::operator<< | ( | std::ostream & | os, |
const TimeStamp & | t | ||
) |
Definition at line 29 of file ts_TimeStamp.cpp.
ICL_CORE_IMPORT_EXPORT std::ostream & icl_core::operator<< | ( | std::ostream & | stream, |
const TimeSpan & | time_span | ||
) |
Write a time span to an STL output stream.
Definition at line 229 of file TimeSpan.cpp.
String icl_core::padLeft | ( | typename ConvertToRef< T >::ToConstRef | x, |
size_t | width, | ||
char | pad_chr = ' ' |
||
) |
Definition at line 100 of file StringHelper.h.
|
inline |
Definition at line 106 of file StringHelper.h.
String icl_core::padRight | ( | typename ConvertToRef< T >::ToConstRef | x, |
size_t | width, | ||
char | pad_chr = ' ' |
||
) |
Definition at line 120 of file StringHelper.h.
|
inline |
Definition at line 126 of file StringHelper.h.
ICL_CORE_TESTSUITE_IMPORT_EXPORT int icl_core::runCppunitTestSuite | ( | TestResultOutputType | outputType | ) |
Definition at line 40 of file test_suite.cpp.
void icl_core::setBits | ( | int | bits, |
typename ConvertToRef< T >::ToRef | bitfield | ||
) |
Sets the specified bits in the bitfield.
Definition at line 40 of file BitfieldHelper.h.
SetRelation icl_core::setRelation | ( | const std::set< T, TCompare > & | s1, |
const std::set< T, TCompare > & | s2 | ||
) |
Generic helper function to determine the relationships between two sets.
Definition at line 47 of file SetHelper.h.
ICL_CORE_IMPORT_EXPORT std::vector< String > icl_core::split | ( | const String & | str, |
const String & | delimiter | ||
) |
Simple string splitting method. Given a string str, which contains substrings separated by delimiter, returns a vector of the substrings. E.g., split("foo;bar;baz") returns a vector containing the elements "foo", "bar" and "baz". If str is empty, returns a vector containing one element, the empty string.
str | The string to split. |
delimiter | The delimiter string. |
Definition at line 27 of file StringHelper.cpp.
bool ICL_CORE_IMPORT_EXPORT icl_core::string2Enum | ( | const String & | str, |
int32_t & | value, | ||
const char *const * | descriptions, | ||
const char * | end_marker = NULL |
||
) |
Converts a string to an enumeration value. The descriptions for the individual enumeration values have to be provided in an array, which is terminated by a NULL
entry.
str | A string, which should be converted into an enumeration value. |
value | The enumeration value into which the result will be written. |
descriptions | An array of descriptions for the enumeration values, terminated by the end_marker. |
end_marker | The end marker used to terminate the description array. |
true
if str has been found in descriptions. In this case value is set to the corresponding index. false
if str could not be found in descriptions. Definition at line 28 of file EnumHelper.cpp.
bool ICL_CORE_IMPORT_EXPORT icl_core::string2Enum | ( | const String & | str, |
int32_t & | value, | ||
const std::vector< std::string > & | descriptions | ||
) |
Definition at line 70 of file EnumHelper.cpp.
bool ICL_CORE_IMPORT_EXPORT icl_core::string2Enum | ( | const String & | str, |
int64_t & | value, | ||
const std::vector< std::string > & | descriptions | ||
) |
Definition at line 76 of file EnumHelper.cpp.
String icl_core::stringify | ( | typename ConvertToRef< T >::ToConstRef | x | ) |
Definition at line 47 of file StringHelper.h.
|
inline |
Definition at line 55 of file StringHelper.h.
|
inline |
Definition at line 62 of file StringHelper.h.
|
inline |
Definition at line 70 of file StringHelper.h.
|
inline |
Definition at line 78 of file StringHelper.h.
|
inline |
Definition at line 86 of file StringHelper.h.
|
inline |
Definition at line 92 of file StringHelper.h.
ICL_CORE_IMPORT_EXPORT String icl_core::trim | ( | String const & | str | ) |
Definition at line 63 of file StringHelper.cpp.