RSC
0.7.17
|
Classes | |
class | IllegalStateException |
Exception indicating a call on a method where the underlying object is in an illegal state for this call. More... | |
class | NullDeleter |
A deleter object that can be used with boost::shared_ptr that doesn't release any memory. More... | |
class | ParentSharedPtrDeleter |
A deleter for boost::shared_ptr which enables to use a pointer in a shared_ptr, which is not a shared_ptr itself and owned by another object. More... | |
class | Registry |
A templatized global registry. More... | |
class | UnsupportedOperationException |
An exception which indicates that a certain operation is not supported by the target. More... | |
class | UUID |
Encapsulates the generation and handling of UUIDs. More... | |
Typedefs | |
typedef boost::shared_ptr< UUID > | UUIDPtr |
Functions | |
boost::uint64_t | currentTimeMillis () |
Returns the current system time as milliseconds. More... | |
boost::uint64_t | currentTimeMicros () |
Returns the current system time as microseconds. More... | |
char | randAlnumChar () |
Generates a random alpha-numeric character. More... | |
std::string | randAlnumStr (const std::string::size_type &length) |
Generates a random alpha-numeric string with fixed length. More... | |
ostream & | operator<< (ostream &stream, const UUID &id) |
typedef boost::shared_ptr<UUID> rsc::misc::UUIDPtr |
RSC_EXPORT boost::uint64_t rsc::misc::currentTimeMicros | ( | ) |
Returns the current system time as microseconds.
Definition at line 82 of file langutils.cpp.
Referenced by rsc::threading::PeriodicTask::continueExec().
RSC_EXPORT boost::uint64_t rsc::misc::currentTimeMillis | ( | ) |
Returns the current system time as milliseconds.
Definition at line 64 of file langutils.cpp.
Referenced by rsc::logging::ConsoleLogger::printHeader().
RSC_EXPORT std::ostream & rsc::misc::operator<< | ( | ostream & | stream, |
const UUID & | id | ||
) |
RSC_EXPORT char rsc::misc::randAlnumChar | ( | ) |
Generates a random alpha-numeric character.
Definition at line 100 of file langutils.cpp.
Referenced by randAlnumStr().
RSC_EXPORT std::string rsc::misc::randAlnumStr | ( | const std::string::size_type & | length | ) |
Generates a random alpha-numeric string with fixed length.
length | desired length of the string |
Definition at line 108 of file langutils.cpp.
References randAlnumChar().