summaryrefslogtreecommitdiffstats
path: root/veslibrary/ves_cpplibrary/src/lib/encode/include/XHeartbeatFields.h
diff options
context:
space:
mode:
Diffstat (limited to 'veslibrary/ves_cpplibrary/src/lib/encode/include/XHeartbeatFields.h')
-rw-r--r--veslibrary/ves_cpplibrary/src/lib/encode/include/XHeartbeatFields.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/veslibrary/ves_cpplibrary/src/lib/encode/include/XHeartbeatFields.h b/veslibrary/ves_cpplibrary/src/lib/encode/include/XHeartbeatFields.h
new file mode 100644
index 0000000..d09e83b
--- /dev/null
+++ b/veslibrary/ves_cpplibrary/src/lib/encode/include/XHeartbeatFields.h
@@ -0,0 +1,27 @@
+#pragma once
+
+#include "XCommonEventHeader.h"
+
+namespace vagt
+{
+ namespace encode
+ {
+ enum XEnumHeartbeatFieldsHeartbeatFieldsVersion
+ {
+ XEnumHeartbeatFieldsHeartbeatFieldsVersion3_0,
+ };
+
+ class XHeartbeatFields : public XExtendEvent
+ {
+ public:
+ virtual std::string toString() = 0;
+ virtual std::shared_ptr<XCommonEventHeader> getCommonHeader() = 0;
+
+ virtual void setHeartbeatInterval(XInteger heartbeatInterval) = 0;
+ virtual void setAdditionalFields(const XHashMap& additionalFields) = 0;
+
+ static std::shared_ptr<XHeartbeatFields> create(std::shared_ptr<XCommonEventHeader> header, XInteger heartbeatInterval);
+ };
+ }
+}
+