31 #include <boost/cstdint.hpp>
32 #include <boost/shared_ptr.hpp>
34 #include "rsc/rscexports.h"
55 void operator()(
void* ignored)
const;
70 template<
class ParentType>
82 boost::shared_ptr<ParentType>
parent;
112 RSC_EXPORT std::string
randAlnumStr(
const std::string::size_type& length);
124 #define DEPRECATED(func) func __attribute__ ((deprecated))
125 #elif defined(_MSC_VER)
126 #define DEPRECATED(func) __declspec(deprecated) func
128 #pragma message("WARNING: You need to implement DEPRECATED for this compiler")
129 #define DEPRECATED(func) func
A deleter object that can be used with boost::shared_ptr that doesn't release any memory...
std::string randAlnumStr(const std::string::size_type &length)
Generates a random alpha-numeric string with fixed length.
ParentSharedPtrDeleter(boost::shared_ptr< ParentType > parent)
boost::uint64_t currentTimeMillis()
Returns the current system time as milliseconds.
void operator()(void const *)
char randAlnumChar()
Generates a random alpha-numeric character.
boost::uint64_t currentTimeMicros()
Returns the current system time as microseconds.
boost::shared_ptr< ParentType > parent
A deleter for boost::shared_ptr which enables to use a pointer in a shared_ptr, which is not a shared...