Program Listing for File PoolProperties.hpp

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

#pragma once

#include "depthai/common/ProcessorType.hpp"
#include "depthai/common/optional.hpp"
#include "depthai/pipeline/datatype/DatatypeEnum.hpp"
#include "depthai/properties/Properties.hpp"

namespace dai {

struct PoolProperties : PropertiesSerializable<Properties, PoolProperties> {
    std::optional<int> numMessages = std::nullopt;

    std::optional<std::int64_t> maxMessageSize = std::nullopt;

    std::optional<DatatypeEnum> datatype = std::nullopt;

    std::optional<ProcessorType> processor = std::nullopt;

    ~PoolProperties() override;
};

DEPTHAI_SERIALIZE_EXT(PoolProperties, numMessages, maxMessageSize, datatype, processor);

}  // namespace dai