Program Listing for File SyncProperties.hpp

Return to documentation for file (include/depthai/properties/SyncProperties.hpp)

#pragma once

#include <sys/types.h>

#include "depthai/properties/Properties.hpp"

namespace dai {

struct SyncProperties : PropertiesSerializable<Properties, SyncProperties> {
    int64_t syncThresholdNs = 10e6;

    int32_t syncAttempts = -1;

    ~SyncProperties() override;
};

DEPTHAI_SERIALIZE_EXT(SyncProperties, syncThresholdNs, syncAttempts);

}  // namespace dai