|
void | GetWallTime (uint32_t &sec, uint32_t &nsec) |
|
uint64_t | GetNanoTime () |
|
uint64_t | GetMicroTime () |
|
uint32_t | GetMilliTime () |
|
static uint64_t | GetNanoPerformanceTime () |
|
template<class T > |
boost::shared_ptr< T > | sptr_from (boost::weak_ptr< T > const &wpt) |
|
std::string | ConvertToLowerCase (const std::string &s) |
| returns a lower case version of the string
|
|
template<typename C > |
void | TokenizeString (std::string const &s, char const *d, C &ret) |
| separates the directories from a string and returns them in a vector
|
|
OPENRAVE_API std::string | GetFilenameUntilSeparator (std::istream &sinput, char separator) |
| gets the string up the next separator and strips it of leading whitespace.
|
|
OPENRAVE_API std::string & | SearchAndReplace (std::string &out, const std::string &in, const std::vector< std::pair< std::string, std::string > > &pairs) |
| search and replace strings for all pairs. Internally first checks the longest strings before the shortest
|
|
OPENRAVE_API std::string | GetMD5HashString (const std::string &s) |
| compute the md5 hash of a string
|
|
OPENRAVE_API std::string | GetMD5HashString (const std::vector< uint8_t > &v) |
| compute the md5 hash of an array
|
|
template<class T > |
T | ClampOnRange (T value, T min, T max) |
|
template<typename T > |
T | NormalizeCircularAngle (T theta, T min, T max) |
|
template<typename T > |
T | SubtractCircularAngle (T f0, T f1) |
|
template<typename T > |
T | InterpolateCircularAngle (T start, T end, T fraction, T lowerLimit, T upperLimit) |
|
template<typename T > |
T | Sqr (T t) |
|
bool | IsValidCharInName (char c) |
| openrave valid characters to be used in names
|
|
bool | IsValidName (const std::string &s) |
| openrave valid characters to be used in names
|
|
std::string | ConvertToOpenRAVEName (const std::string &name) |
| converts improper characters to _ so the entire name is valid
|
|
bool | PairStringLengthCompare (const std::pair< std::string, std::string > &p0, const std::pair< std::string, std::string > &p1) |
|