nl::Weave::Profiles::DataManagement_Current::EventOptions

#include <src/lib/profiles/data-management/Current/EventLoggingTypes.h>

提供不同事件欄位選項的結構。

摘要

建構函式和解構函式

EventOptions(void)
EventOptions(bool)
EventOptions(timestamp_t)
EventOptions(utc_timestamp_t)
EventOptions(timestamp_t, bool)
EventOptions(utc_timestamp_t, bool)
EventOptions(utc_timestamp_t, DetailedRootSection *, event_id_t, ImportanceType, bool)
EventOptions(timestamp_t, DetailedRootSection *, event_id_t, ImportanceType, bool)

公開屬性

eventSource
特徵例項詳細解析度的指標。
relatedEventID
與這個事件相關的相同事件來源中的事件 ID。
relatedImportance
相關事件 ID 的事件重要性。
timestamp
包含系統或世界標準時間時間戳記的聯集。
timestampType
列舉表示時間戳記是否有效及其類型。
urgent
bool
表示事件具時效性的標記。

公開屬性

eventSource

DetailedRootSection * nl::Weave::Profiles::DataManagement_Current::EventOptions::eventSource

特徵例項詳細解析度的指標。

如為 NULL,系統會假設事件來源是來自與本機節點 ID 相等的資源,以及特徵的預設例項。

relatedEventID

event_id_t nl::Weave::Profiles::DataManagement_Current::EventOptions::relatedEventID

與這個事件相關的相同事件來源中的事件 ID。

如果活動與任何其他活動無關,相關活動 ID 應等於活動 ID,且可能會省略。如果值為 0,則表示沒有相關事件。

relatedImportance

ImportanceType nl::Weave::Profiles::DataManagement_Current::EventOptions::relatedImportance

相關事件 ID 的事件重要性。

如果這個事件和相關事件的重要性相同,可以省略這個欄位。kImportanceType_Invalid 值意味著沒有任何相關事件。

時間戳記

Timestamp nl::Weave::Profiles::DataManagement_Current::EventOptions::timestamp

包含系統或世界標準時間時間戳記的聯集。

timestampType

TimestampType nl::Weave::Profiles::DataManagement_Current::EventOptions::timestampType

列舉表示時間戳記是否有效及其類型。

緊急

bool nl::Weave::Profiles::DataManagement_Current::EventOptions::urgent

表示事件具時效性的標記。

設定後,系統就會清除事件記錄。

公用函式

EventOptions

 nl::Weave::Profiles::DataManagement_Current::EventOptions::EventOptions(
  void
)

EventOptions

 nl::Weave::Profiles::DataManagement_Current::EventOptions::EventOptions(
  bool
)

EventOptions

 nl::Weave::Profiles::DataManagement_Current::EventOptions::EventOptions(
  timestamp_t
)

EventOptions

 nl::Weave::Profiles::DataManagement_Current::EventOptions::EventOptions(
  utc_timestamp_t
)

EventOptions

 nl::Weave::Profiles::DataManagement_Current::EventOptions::EventOptions(
  timestamp_t,
  bool
)

EventOptions

 nl::Weave::Profiles::DataManagement_Current::EventOptions::EventOptions(
  utc_timestamp_t,
  bool
)

EventOptions

 nl::Weave::Profiles::DataManagement_Current::EventOptions::EventOptions(
  utc_timestamp_t,
  DetailedRootSection *,
  event_id_t,
  ImportanceType,
  bool
)

EventOptions

 nl::Weave::Profiles::DataManagement_Current::EventOptions::EventOptions(
  timestamp_t,
  DetailedRootSection *,
  event_id_t,
  ImportanceType,
  bool
)