Class MessageGroup
Defined in File MessageGroup.hpp
Inheritance Relationships
Base Type
public dai::Buffer(Class Buffer)
Class Documentation
-
class MessageGroup : public dai::Buffer
MessageGroup message. Carries multiple messages in one.
Public Functions
-
MessageGroup()
Construct MessageGroup message.
-
virtual ~MessageGroup() = default
-
bool isSynced(int64_t thresholdNs) const
True if all messages in the group are in the interval
- Parameters:
thresholdNs – Maximal interval between messages
-
int64_t getIntervalNs() const
Retrieves interval between the first and the last message in the group.
-
int64_t getNumMessages() const
-
std::vector<std::string> getMessageNames() const
Gets the names of messages in the group
-
MessageGroup &setTimestamp(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp)
Sets image timestamp related to dai::Clock::now()
-
MessageGroup &setTimestampDevice(std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration> timestamp)
Sets image timestamp related to dai::Clock::now()
-
MessageGroup &setSequenceNum(int64_t sequenceNum)
Retrieves image sequence number
-
MessageGroup()