27 #include <nidas/Config.h>
29 #ifdef HAVE_SYS_INOTIFY_H
31 #ifndef NIDAS_DYNLD_CHRONYLOG_H
32 #define NIDAS_DYNLD_CHRONYLOG_H
37 namespace nidas {
namespace dynld {
39 using namespace nidas::core;
83 void init() throw(nidas::util::InvalidParameterException);
89 bool process(const
Sample* samp, std::list<const
Sample*>& results) throw();
97 void printChronyStatus(std::ostream& ostr) throw();
103 struct statusVariable {
104 statusVariable(): name(), id(0), varindex(0) {}
107 unsigned int varindex;
110 struct statusVariable _statusVariables[2];
119 float _toffsetToUsecs;
122 ChronyLog(
const ChronyLog&);
125 ChronyLog& operator=(
const ChronyLog&);
132 #endif // HAVE_SYS_INOTIFY_H
unsigned int dsm_sample_id_t
Definition: Sample.h:63
long long dsm_time_t
Posix time in microseconds, the number of non-leap microseconds since 1970 Jan 1 00:00 UTC...
Definition: Sample.h:61
Object with a printChronyStatus() method which can be called from a DSMServer.
Definition: ChronyStatus.h:44
Interface to a data sample.
Definition: Sample.h:189