Go to the documentation of this file.
17 #ifndef GZ_TRANSPORT_LOG_QUALIFIEDTIME_HH_
18 #define GZ_TRANSPORT_LOG_QUALIFIEDTIME_HH_
24 #include <gz/transport/config.hh>
25 #include <gz/transport/log/Export.hh>
30 inline namespace IGNITION_TRANSPORT_VERSION_NAMESPACE {
78 Qualifier _qualifier = Qualifier::INCLUSIVE);
86 public:
template <
typename Rep,
typename Period>
88 Qualifier _qualifier = Qualifier::INCLUSIVE)
136 public:
bool IsIndeterminate()
const;
143 public:
const Time *GetTime()
const;
150 public:
const Qualifier *GetQualifier()
const;
157 public:
void SetTime(
const Time &_time,
158 Qualifier _qualifier = Qualifier::INCLUSIVE);
162 public:
void Clear();
168 private:
class Implementation;
173 #pragma warning(push)
174 #pragma warning(disable: 4251)
176 private:
std::unique_ptr<Implementation, void (*)(Implementation*)> dataPtr;
290 public:
bool Valid()
const;
296 private:
class Implementation;
301 #pragma warning(push)
302 #pragma warning(disable: 4251)
304 private:
std::unique_ptr<Implementation, void(*)(Implementation*)> dataPtr;
The QualifiedTimeRange class provides a pair of qualified times that represent a range....
Definition: gz/transport/log/QualifiedTime.hh:188
QualifiedTime(const std::chrono::duration< Rep, Period > &_time, Qualifier _qualifier=Qualifier::INCLUSIVE)
Construct a qualified time specifier. This allows implicit conversion from any std::chrono::duration ...
Definition: gz/transport/log/QualifiedTime.hh:87
Since time is continuous, it may be difficult to know the exact time stamp of a desired message....
Definition: gz/transport/log/QualifiedTime.hh:40
Definition: gz/transport/log/Batch.hh:27
Qualifier
The Qualifier determines the behavior of how a message is selected.
Definition: gz/transport/log/QualifiedTime.hh:44