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

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

Cấu trúc cung cấp lựa chọn cho nhiều trường sự kiện.

Tóm tắt

Hàm khởi tạo và hàm phá

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)

Thuộc tính công khai

eventSource
Con trỏ đến độ phân giải chi tiết của thực thể trait.
relatedEventID
Mã sự kiện từ cùng một Nguồn sự kiện có liên quan đến sự kiện này.
relatedImportance
Tầm quan trọng của sự kiện của mã sự kiện có liên quan.
timestamp
Liên minh lưu giữ hệ thống hoặc dấu thời gian UTC.
timestampType
Một giá trị enum cho biết dấu thời gian có hợp lệ không và thuộc loại của dấu thời gian.
urgent
bool
Một lá cờ cho biết sự kiện có giới hạn về thời gian.

Thuộc tính công khai

eventSource

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

Con trỏ đến độ phân giải chi tiết của thực thể trait.

Khi giá trị NULL, nguồn sự kiện được giả định là đến từ tài nguyên bằng với mã nhận dạng nút cục bộ, và từ thực thể mặc định của trait.

relatedEventID

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

Mã sự kiện từ cùng một Nguồn sự kiện có liên quan đến sự kiện này.

Khi sự kiện không liên quan đến bất kỳ sự kiện nào khác, Mã sự kiện có liên quan sẽ bằng với Mã sự kiện và có thể bị bỏ qua. Giá trị 0 ngụ ý rằng không có bất kỳ sự kiện nào liên quan.

relatedImportance

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

Tầm quan trọng của sự kiện của mã sự kiện có liên quan.

Khi sự kiện này và sự kiện liên quan có cùng tầm quan trọng, trường này có thể bị bỏ qua. Giá trị kQuan trọngType_Invalid nghĩa là không có sự kiện nào liên quan.

timestamp

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

Liên minh lưu giữ hệ thống hoặc dấu thời gian UTC.

timestampType

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

Một giá trị enum cho biết dấu thời gian có hợp lệ không và thuộc loại của dấu thời gian.

khẩn cấp

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

Một lá cờ cho biết sự kiện có giới hạn về thời gian.

Khi được đặt, thao tác này sẽ xoá nhật ký sự kiện.

Hàm công khai

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
)