32 #include <boost/format.hpp> 46 std::map<std::string, SoDaBase *>::iterator mi;
58 clock_gettime(CLOCK_MONOTONIC, &tp);
59 double ret = ((double) tp.tv_sec) + (1.0e-9 * ((double) tp.tv_nsec));
The Baseclass for all SoDa objects, and useful commonly used classes.
static bool first_time
have we seen the first call to getTime?
static std::map< std::string, SoDaBase *> ObjectDirectory
a class member – directory of all registered objects.
static double base_first_time
time of first call to getTime from anyone.
SoDaBase * findSoDaObject(const std::string &oname)
find a SoDa Object by name.
std::string objname
the name of the object
double getTime()
Get a time stamp in nS resolution that monotonically increases and that is very inexpensive (typicall...
SoDaBase(const std::string &oname)
The constructor – pass a name for the object.