14#include "imdftimestamp.h" 
   15#include "itimestamp.h" 
   36  virtual void Time(uint64_t ns_since_1970) = 0;
 
   52  [[nodiscard]] 
virtual uint64_t 
Time() 
const = 0;
 
   84      md4->StringProperty(
"TX", description);
 
 
   95    return md4 != 
nullptr ? md4->StringProperty(
"TX") : std::string();
 
 
  105    if (md4 != 
nullptr) {
 
  106      md4->StringProperty(
"tool_id", tool_name);
 
 
  116    return md4 != 
nullptr ? md4->StringProperty(
"tool_id") : std::string();
 
 
  126    if (md4 != 
nullptr) {
 
  127      md4->StringProperty(
"tool_vendor", tool_vendor);
 
 
  137    return md4 != 
nullptr ? md4->StringProperty(
"tool_vendor") : std::string();
 
 
  147    if (md4 != 
nullptr) {
 
  148      md4->StringProperty(
"tool_version", tool_version);
 
 
  158    return md4 != 
nullptr ? md4->StringProperty(
"tool_version") : std::string();
 
 
  168    if (md4 != 
nullptr) {
 
  169      md4->StringProperty(
"user_name", user);
 
 
  179    return md4 != 
nullptr ? md4->StringProperty(
"user_name") : std::string();
 
 
 
Base class for all MDF blocks.
Definition iblock.h:19
 
Interface class against an MDF FH block.
Definition ifilehistory.h:28
 
virtual const mdf::IMdfTimestamp * StartTimestamp() const =0
Returns the start timestamp of the measurement.
 
void Description(const std::string &description)
Sets the description for the history block.
Definition ifilehistory.h:81
 
void ToolVendor(const std::string &tool_vendor)
Sets the tool vendor.
Definition ifilehistory.h:124
 
void ToolVersion(const std::string &tool_version)
Sets the tool version.
Definition ifilehistory.h:145
 
std::string ToolVendor() const
Returns the tool vendor.
Definition ifilehistory.h:135
 
virtual uint64_t Time() const =0
Returns the time for the history block.
 
void UserName(const std::string &user)
Sets the user name.
Definition ifilehistory.h:166
 
void ToolName(const std::string &tool_name)
Sets the tool name.
Definition ifilehistory.h:103
 
std::string ToolName() const
Returns the tool name.
Definition ifilehistory.h:114
 
std::string UserName() const
Returns the user name.
Definition ifilehistory.h:177
 
virtual void Time(ITimestamp ×tamp)=0
Sets the time using an ITimestamp object.
 
std::string ToolVersion() const
Returns the tool version.
Definition ifilehistory.h:156
 
virtual const IMetaData * MetaData() const =0
Returns an constant interface against a MD4 block.
 
virtual void Time(uint64_t ns_since_1970)=0
Sets the time when the history block was created.
 
std::string Description() const
Returns the description.
Definition ifilehistory.h:93
 
virtual IMetaData * CreateMetaData()=0
Returns an interface against a MD4 block.
 
Interface for MDF timestamp handling.
Definition imdftimestamp.h:22
 
Interface for timestamp handling in MDF files.
Definition itimestamp.h:17
 
All MDF blocks inherits from the IBlock class. The interface class is used internally in lists....
 
Main namespace for the MDF library.
Definition canmessage.h:17