|
ifw-core
2.0.0
|
Namespaces | |
| testUtils | |
Classes | |
| class | Mutex |
| The Mutex class: Scope based mutex semaphore. The ctd::system::Mutex semaphore is used to implement a safe mutex semaphore, at scope level. When entering the scope the semaphore is automatically created, based on a ID, if not existing, and locked. The semaphore created is recursive. When leaving the scope, the destructor will automatically unlock the semaphore. More... | |
Functions | |
| double | _Time () |
| void | Assert (const bool condition, const std::string &message, std::array< std::string, 3 > &location) |
| Check if pointer is NULL. If yes, throw rad::Exception. More... | |
| void | AssertPtr (const void *ptr, const std::string &object, std::array< std::string, 3 > &location) |
| Check if pointer is NULL. If yes, throw rad::Exception. More... | |
| std::string | Platform () |
| Get the name of the platform (OS). More... | |
| int64_t | Random (const int64_t min_val, const int64_t max_val) |
| Generate an int64_t random number in the inteval specified. More... | |
| std::string | ExecCommand (const std::string &command) |
| Execute a shell command (synchroneously). More... | |
| void | Assert (const bool condition, const std::string &message, const std::array< std::string, 3 > &location) |
| double | Random (const double min_val, const double max_val) |
| double ctd::system::_Time | ( | ) |
| void ctd::system::Assert | ( | const bool | condition, |
| const std::string & | message, | ||
| const std::array< std::string, 3 > & | location | ||
| ) |
| void ctd::system::Assert | ( | const bool | condition, |
| const std::string & | message, | ||
| std::array< std::string, 3 > & | location | ||
| ) |
Check if pointer is NULL. If yes, throw rad::Exception.
| void ctd::system::AssertPtr | ( | const void * | ptr, |
| const std::string & | object, | ||
| std::array< std::string, 3 > & | location | ||
| ) |
Check if pointer is NULL. If yes, throw rad::Exception.
| std::string ctd::system::ExecCommand | ( | const std::string & | command | ) |
Execute a shell command (synchroneously).
| std::string ctd::system::Platform | ( | ) |
| int64_t ctd::system::Random | ( | const int64_t | min_val, |
| const int64_t | max_val | ||
| ) |
Generate an int64_t random number in the inteval specified.
| double ctd::system::Random | ( | const double | min_val, |
| const double | max_val | ||
| ) |
1.8.5