// Generated by Cap'n Proto compiler, DO NOT EDIT
|
// source: RemoteMethod.capnp
|
|
#ifndef CAPNP_INCLUDED_d6ce09ec6f6d1f1a_
|
#define CAPNP_INCLUDED_d6ce09ec6f6d1f1a_
|
|
#include <capnp/generated-header-support.h>
|
#if !CAPNP_LITE
|
#include <capnp/capability.h>
|
#endif // !CAPNP_LITE
|
|
#if CAPNP_VERSION != 7000
|
#error "Version mismatch between generated code and library headers. You must use the same version of the Cap'n Proto compiler and library."
|
#endif
|
|
|
namespace capnp {
|
namespace schemas {
|
|
CAPNP_DECLARE_SCHEMA(fe696f70a406f213);
|
CAPNP_DECLARE_SCHEMA(f4ba53e90acd7f5b);
|
CAPNP_DECLARE_SCHEMA(f1cdc6e2be36d3b4);
|
CAPNP_DECLARE_SCHEMA(8be3cf35c0c628de);
|
CAPNP_DECLARE_SCHEMA(f4f706a9386ea665);
|
CAPNP_DECLARE_SCHEMA(d65f3e173a095f0c);
|
CAPNP_DECLARE_SCHEMA(f3919e3b9ef84081);
|
CAPNP_DECLARE_SCHEMA(e4dc299ded75e435);
|
CAPNP_DECLARE_SCHEMA(8285878422bfb1aa);
|
CAPNP_DECLARE_SCHEMA(d93fccd73f274266);
|
|
} // namespace schemas
|
} // namespace capnp
|
|
|
struct RtspFaceDetect {
|
RtspFaceDetect() = delete;
|
|
#if !CAPNP_LITE
|
class Client;
|
class Server;
|
#endif // !CAPNP_LITE
|
|
struct FireFaceCountListenerParams;
|
struct FireFaceCountListenerResults;
|
|
#if !CAPNP_LITE
|
struct _capnpPrivate {
|
CAPNP_DECLARE_INTERFACE_HEADER(fe696f70a406f213)
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
};
|
#endif // !CAPNP_LITE
|
};
|
|
struct RtspFaceDetect::FireFaceCountListenerParams {
|
FireFaceCountListenerParams() = delete;
|
|
class Reader;
|
class Builder;
|
class Pipeline;
|
|
struct _capnpPrivate {
|
CAPNP_DECLARE_STRUCT_HEADER(f4ba53e90acd7f5b, 1, 0)
|
#if !CAPNP_LITE
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
#endif // !CAPNP_LITE
|
};
|
};
|
|
struct RtspFaceDetect::FireFaceCountListenerResults {
|
FireFaceCountListenerResults() = delete;
|
|
class Reader;
|
class Builder;
|
class Pipeline;
|
|
struct _capnpPrivate {
|
CAPNP_DECLARE_STRUCT_HEADER(f1cdc6e2be36d3b4, 0, 0)
|
#if !CAPNP_LITE
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
#endif // !CAPNP_LITE
|
};
|
};
|
|
struct RtspFaceView {
|
RtspFaceView() = delete;
|
|
#if !CAPNP_LITE
|
class Client;
|
class Server;
|
#endif // !CAPNP_LITE
|
|
struct GetFaceListParams;
|
struct GetFaceListResults;
|
struct GetFaceImagesParams;
|
struct GetFaceImagesResults;
|
struct SetFaceLabelParams;
|
struct SetFaceLabelResults;
|
|
#if !CAPNP_LITE
|
struct _capnpPrivate {
|
CAPNP_DECLARE_INTERFACE_HEADER(8be3cf35c0c628de)
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
};
|
#endif // !CAPNP_LITE
|
};
|
|
struct RtspFaceView::GetFaceListParams {
|
GetFaceListParams() = delete;
|
|
class Reader;
|
class Builder;
|
class Pipeline;
|
|
struct _capnpPrivate {
|
CAPNP_DECLARE_STRUCT_HEADER(f4f706a9386ea665, 1, 0)
|
#if !CAPNP_LITE
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
#endif // !CAPNP_LITE
|
};
|
};
|
|
struct RtspFaceView::GetFaceListResults {
|
GetFaceListResults() = delete;
|
|
class Reader;
|
class Builder;
|
class Pipeline;
|
|
struct _capnpPrivate {
|
CAPNP_DECLARE_STRUCT_HEADER(d65f3e173a095f0c, 0, 1)
|
#if !CAPNP_LITE
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
#endif // !CAPNP_LITE
|
};
|
};
|
|
struct RtspFaceView::GetFaceImagesParams {
|
GetFaceImagesParams() = delete;
|
|
class Reader;
|
class Builder;
|
class Pipeline;
|
|
struct _capnpPrivate {
|
CAPNP_DECLARE_STRUCT_HEADER(f3919e3b9ef84081, 1, 0)
|
#if !CAPNP_LITE
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
#endif // !CAPNP_LITE
|
};
|
};
|
|
struct RtspFaceView::GetFaceImagesResults {
|
GetFaceImagesResults() = delete;
|
|
class Reader;
|
class Builder;
|
class Pipeline;
|
|
struct _capnpPrivate {
|
CAPNP_DECLARE_STRUCT_HEADER(e4dc299ded75e435, 0, 2)
|
#if !CAPNP_LITE
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
#endif // !CAPNP_LITE
|
};
|
};
|
|
struct RtspFaceView::SetFaceLabelParams {
|
SetFaceLabelParams() = delete;
|
|
class Reader;
|
class Builder;
|
class Pipeline;
|
|
struct _capnpPrivate {
|
CAPNP_DECLARE_STRUCT_HEADER(8285878422bfb1aa, 1, 1)
|
#if !CAPNP_LITE
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
#endif // !CAPNP_LITE
|
};
|
};
|
|
struct RtspFaceView::SetFaceLabelResults {
|
SetFaceLabelResults() = delete;
|
|
class Reader;
|
class Builder;
|
class Pipeline;
|
|
struct _capnpPrivate {
|
CAPNP_DECLARE_STRUCT_HEADER(d93fccd73f274266, 0, 0)
|
#if !CAPNP_LITE
|
static constexpr ::capnp::_::RawBrandedSchema const* brand() { return &schema->defaultBrand; }
|
#endif // !CAPNP_LITE
|
};
|
};
|
|
// =======================================================================================
|
|
#if !CAPNP_LITE
|
class RtspFaceDetect::Client
|
: public virtual ::capnp::Capability::Client {
|
public:
|
typedef RtspFaceDetect Calls;
|
typedef RtspFaceDetect Reads;
|
|
Client(decltype(nullptr));
|
explicit Client(::kj::Own< ::capnp::ClientHook>&& hook);
|
template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Server*>()>>
|
Client(::kj::Own<_t>&& server);
|
template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Client*>()>>
|
Client(::kj::Promise<_t>&& promise);
|
Client(::kj::Exception&& exception);
|
Client(Client&) = default;
|
Client(Client&&) = default;
|
Client& operator=(Client& other);
|
Client& operator=(Client&& other);
|
|
::capnp::Request< ::RtspFaceDetect::FireFaceCountListenerParams, ::RtspFaceDetect::FireFaceCountListenerResults> fireFaceCountListenerRequest(
|
::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
|
|
protected:
|
Client() = default;
|
};
|
|
class RtspFaceDetect::Server
|
: public virtual ::capnp::Capability::Server {
|
public:
|
typedef RtspFaceDetect Serves;
|
|
::kj::Promise<void> dispatchCall(uint64_t interfaceId, uint16_t methodId,
|
::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context)
|
override;
|
|
protected:
|
typedef ::RtspFaceDetect::FireFaceCountListenerParams FireFaceCountListenerParams;
|
typedef ::RtspFaceDetect::FireFaceCountListenerResults FireFaceCountListenerResults;
|
typedef ::capnp::CallContext<FireFaceCountListenerParams, FireFaceCountListenerResults> FireFaceCountListenerContext;
|
virtual ::kj::Promise<void> fireFaceCountListener(FireFaceCountListenerContext context);
|
|
inline ::RtspFaceDetect::Client thisCap() {
|
return ::capnp::Capability::Server::thisCap()
|
.template castAs< ::RtspFaceDetect>();
|
}
|
|
::kj::Promise<void> dispatchCallInternal(uint16_t methodId,
|
::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context);
|
};
|
#endif // !CAPNP_LITE
|
|
class RtspFaceDetect::FireFaceCountListenerParams::Reader {
|
public:
|
typedef FireFaceCountListenerParams Reads;
|
|
Reader() = default;
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
inline ::capnp::MessageSize totalSize() const {
|
return _reader.totalSize().asPublic();
|
}
|
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const {
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
}
|
#endif // !CAPNP_LITE
|
|
inline ::uint32_t getCameraIndex() const;
|
|
inline ::uint32_t getFaceCount() const;
|
|
private:
|
::capnp::_::StructReader _reader;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::List;
|
friend class ::capnp::MessageBuilder;
|
friend class ::capnp::Orphanage;
|
};
|
|
class RtspFaceDetect::FireFaceCountListenerParams::Builder {
|
public:
|
typedef FireFaceCountListenerParams Builds;
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
// You can explicitly initialize to nullptr instead.
|
inline Builder(decltype(nullptr)) {}
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
inline Reader asReader() const { return *this; }
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
#endif // !CAPNP_LITE
|
|
inline ::uint32_t getCameraIndex();
|
inline void setCameraIndex( ::uint32_t value);
|
|
inline ::uint32_t getFaceCount();
|
inline void setFaceCount( ::uint32_t value);
|
|
private:
|
::capnp::_::StructBuilder _builder;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
friend class ::capnp::Orphanage;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
};
|
|
#if !CAPNP_LITE
|
class RtspFaceDetect::FireFaceCountListenerParams::Pipeline {
|
public:
|
typedef FireFaceCountListenerParams Pipelines;
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
: _typeless(kj::mv(typeless)) {}
|
|
private:
|
::capnp::AnyPointer::Pipeline _typeless;
|
friend class ::capnp::PipelineHook;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
};
|
#endif // !CAPNP_LITE
|
|
class RtspFaceDetect::FireFaceCountListenerResults::Reader {
|
public:
|
typedef FireFaceCountListenerResults Reads;
|
|
Reader() = default;
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
inline ::capnp::MessageSize totalSize() const {
|
return _reader.totalSize().asPublic();
|
}
|
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const {
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
}
|
#endif // !CAPNP_LITE
|
|
private:
|
::capnp::_::StructReader _reader;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::List;
|
friend class ::capnp::MessageBuilder;
|
friend class ::capnp::Orphanage;
|
};
|
|
class RtspFaceDetect::FireFaceCountListenerResults::Builder {
|
public:
|
typedef FireFaceCountListenerResults Builds;
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
// You can explicitly initialize to nullptr instead.
|
inline Builder(decltype(nullptr)) {}
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
inline Reader asReader() const { return *this; }
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
#endif // !CAPNP_LITE
|
|
private:
|
::capnp::_::StructBuilder _builder;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
friend class ::capnp::Orphanage;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
};
|
|
#if !CAPNP_LITE
|
class RtspFaceDetect::FireFaceCountListenerResults::Pipeline {
|
public:
|
typedef FireFaceCountListenerResults Pipelines;
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
: _typeless(kj::mv(typeless)) {}
|
|
private:
|
::capnp::AnyPointer::Pipeline _typeless;
|
friend class ::capnp::PipelineHook;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
};
|
#endif // !CAPNP_LITE
|
|
#if !CAPNP_LITE
|
class RtspFaceView::Client
|
: public virtual ::capnp::Capability::Client {
|
public:
|
typedef RtspFaceView Calls;
|
typedef RtspFaceView Reads;
|
|
Client(decltype(nullptr));
|
explicit Client(::kj::Own< ::capnp::ClientHook>&& hook);
|
template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Server*>()>>
|
Client(::kj::Own<_t>&& server);
|
template <typename _t, typename = ::kj::EnableIf< ::kj::canConvert<_t*, Client*>()>>
|
Client(::kj::Promise<_t>&& promise);
|
Client(::kj::Exception&& exception);
|
Client(Client&) = default;
|
Client(Client&&) = default;
|
Client& operator=(Client& other);
|
Client& operator=(Client&& other);
|
|
::capnp::Request< ::RtspFaceView::GetFaceListParams, ::RtspFaceView::GetFaceListResults> getFaceListRequest(
|
::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
|
::capnp::Request< ::RtspFaceView::GetFaceImagesParams, ::RtspFaceView::GetFaceImagesResults> getFaceImagesRequest(
|
::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
|
::capnp::Request< ::RtspFaceView::SetFaceLabelParams, ::RtspFaceView::SetFaceLabelResults> setFaceLabelRequest(
|
::kj::Maybe< ::capnp::MessageSize> sizeHint = nullptr);
|
|
protected:
|
Client() = default;
|
};
|
|
class RtspFaceView::Server
|
: public virtual ::capnp::Capability::Server {
|
public:
|
typedef RtspFaceView Serves;
|
|
::kj::Promise<void> dispatchCall(uint64_t interfaceId, uint16_t methodId,
|
::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context)
|
override;
|
|
protected:
|
typedef ::RtspFaceView::GetFaceListParams GetFaceListParams;
|
typedef ::RtspFaceView::GetFaceListResults GetFaceListResults;
|
typedef ::capnp::CallContext<GetFaceListParams, GetFaceListResults> GetFaceListContext;
|
virtual ::kj::Promise<void> getFaceList(GetFaceListContext context);
|
typedef ::RtspFaceView::GetFaceImagesParams GetFaceImagesParams;
|
typedef ::RtspFaceView::GetFaceImagesResults GetFaceImagesResults;
|
typedef ::capnp::CallContext<GetFaceImagesParams, GetFaceImagesResults> GetFaceImagesContext;
|
virtual ::kj::Promise<void> getFaceImages(GetFaceImagesContext context);
|
typedef ::RtspFaceView::SetFaceLabelParams SetFaceLabelParams;
|
typedef ::RtspFaceView::SetFaceLabelResults SetFaceLabelResults;
|
typedef ::capnp::CallContext<SetFaceLabelParams, SetFaceLabelResults> SetFaceLabelContext;
|
virtual ::kj::Promise<void> setFaceLabel(SetFaceLabelContext context);
|
|
inline ::RtspFaceView::Client thisCap() {
|
return ::capnp::Capability::Server::thisCap()
|
.template castAs< ::RtspFaceView>();
|
}
|
|
::kj::Promise<void> dispatchCallInternal(uint16_t methodId,
|
::capnp::CallContext< ::capnp::AnyPointer, ::capnp::AnyPointer> context);
|
};
|
#endif // !CAPNP_LITE
|
|
class RtspFaceView::GetFaceListParams::Reader {
|
public:
|
typedef GetFaceListParams Reads;
|
|
Reader() = default;
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
inline ::capnp::MessageSize totalSize() const {
|
return _reader.totalSize().asPublic();
|
}
|
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const {
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
}
|
#endif // !CAPNP_LITE
|
|
inline ::uint32_t getCameraIndex() const;
|
|
inline ::uint32_t getDbId() const;
|
|
private:
|
::capnp::_::StructReader _reader;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::List;
|
friend class ::capnp::MessageBuilder;
|
friend class ::capnp::Orphanage;
|
};
|
|
class RtspFaceView::GetFaceListParams::Builder {
|
public:
|
typedef GetFaceListParams Builds;
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
// You can explicitly initialize to nullptr instead.
|
inline Builder(decltype(nullptr)) {}
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
inline Reader asReader() const { return *this; }
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
#endif // !CAPNP_LITE
|
|
inline ::uint32_t getCameraIndex();
|
inline void setCameraIndex( ::uint32_t value);
|
|
inline ::uint32_t getDbId();
|
inline void setDbId( ::uint32_t value);
|
|
private:
|
::capnp::_::StructBuilder _builder;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
friend class ::capnp::Orphanage;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
};
|
|
#if !CAPNP_LITE
|
class RtspFaceView::GetFaceListParams::Pipeline {
|
public:
|
typedef GetFaceListParams Pipelines;
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
: _typeless(kj::mv(typeless)) {}
|
|
private:
|
::capnp::AnyPointer::Pipeline _typeless;
|
friend class ::capnp::PipelineHook;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
};
|
#endif // !CAPNP_LITE
|
|
class RtspFaceView::GetFaceListResults::Reader {
|
public:
|
typedef GetFaceListResults Reads;
|
|
Reader() = default;
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
inline ::capnp::MessageSize totalSize() const {
|
return _reader.totalSize().asPublic();
|
}
|
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const {
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
}
|
#endif // !CAPNP_LITE
|
|
inline bool hasFaceList() const;
|
inline ::capnp::Data::Reader getFaceList() const;
|
|
private:
|
::capnp::_::StructReader _reader;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::List;
|
friend class ::capnp::MessageBuilder;
|
friend class ::capnp::Orphanage;
|
};
|
|
class RtspFaceView::GetFaceListResults::Builder {
|
public:
|
typedef GetFaceListResults Builds;
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
// You can explicitly initialize to nullptr instead.
|
inline Builder(decltype(nullptr)) {}
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
inline Reader asReader() const { return *this; }
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
#endif // !CAPNP_LITE
|
|
inline bool hasFaceList();
|
inline ::capnp::Data::Builder getFaceList();
|
inline void setFaceList( ::capnp::Data::Reader value);
|
inline ::capnp::Data::Builder initFaceList(unsigned int size);
|
inline void adoptFaceList(::capnp::Orphan< ::capnp::Data>&& value);
|
inline ::capnp::Orphan< ::capnp::Data> disownFaceList();
|
|
private:
|
::capnp::_::StructBuilder _builder;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
friend class ::capnp::Orphanage;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
};
|
|
#if !CAPNP_LITE
|
class RtspFaceView::GetFaceListResults::Pipeline {
|
public:
|
typedef GetFaceListResults Pipelines;
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
: _typeless(kj::mv(typeless)) {}
|
|
private:
|
::capnp::AnyPointer::Pipeline _typeless;
|
friend class ::capnp::PipelineHook;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
};
|
#endif // !CAPNP_LITE
|
|
class RtspFaceView::GetFaceImagesParams::Reader {
|
public:
|
typedef GetFaceImagesParams Reads;
|
|
Reader() = default;
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
inline ::capnp::MessageSize totalSize() const {
|
return _reader.totalSize().asPublic();
|
}
|
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const {
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
}
|
#endif // !CAPNP_LITE
|
|
inline ::uint32_t getCameraIndex() const;
|
|
private:
|
::capnp::_::StructReader _reader;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::List;
|
friend class ::capnp::MessageBuilder;
|
friend class ::capnp::Orphanage;
|
};
|
|
class RtspFaceView::GetFaceImagesParams::Builder {
|
public:
|
typedef GetFaceImagesParams Builds;
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
// You can explicitly initialize to nullptr instead.
|
inline Builder(decltype(nullptr)) {}
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
inline Reader asReader() const { return *this; }
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
#endif // !CAPNP_LITE
|
|
inline ::uint32_t getCameraIndex();
|
inline void setCameraIndex( ::uint32_t value);
|
|
private:
|
::capnp::_::StructBuilder _builder;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
friend class ::capnp::Orphanage;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
};
|
|
#if !CAPNP_LITE
|
class RtspFaceView::GetFaceImagesParams::Pipeline {
|
public:
|
typedef GetFaceImagesParams Pipelines;
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
: _typeless(kj::mv(typeless)) {}
|
|
private:
|
::capnp::AnyPointer::Pipeline _typeless;
|
friend class ::capnp::PipelineHook;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
};
|
#endif // !CAPNP_LITE
|
|
class RtspFaceView::GetFaceImagesResults::Reader {
|
public:
|
typedef GetFaceImagesResults Reads;
|
|
Reader() = default;
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
inline ::capnp::MessageSize totalSize() const {
|
return _reader.totalSize().asPublic();
|
}
|
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const {
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
}
|
#endif // !CAPNP_LITE
|
|
inline bool hasImgIndexData() const;
|
inline ::capnp::Data::Reader getImgIndexData() const;
|
|
inline bool hasImgData() const;
|
inline ::capnp::Data::Reader getImgData() const;
|
|
private:
|
::capnp::_::StructReader _reader;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::List;
|
friend class ::capnp::MessageBuilder;
|
friend class ::capnp::Orphanage;
|
};
|
|
class RtspFaceView::GetFaceImagesResults::Builder {
|
public:
|
typedef GetFaceImagesResults Builds;
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
// You can explicitly initialize to nullptr instead.
|
inline Builder(decltype(nullptr)) {}
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
inline Reader asReader() const { return *this; }
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
#endif // !CAPNP_LITE
|
|
inline bool hasImgIndexData();
|
inline ::capnp::Data::Builder getImgIndexData();
|
inline void setImgIndexData( ::capnp::Data::Reader value);
|
inline ::capnp::Data::Builder initImgIndexData(unsigned int size);
|
inline void adoptImgIndexData(::capnp::Orphan< ::capnp::Data>&& value);
|
inline ::capnp::Orphan< ::capnp::Data> disownImgIndexData();
|
|
inline bool hasImgData();
|
inline ::capnp::Data::Builder getImgData();
|
inline void setImgData( ::capnp::Data::Reader value);
|
inline ::capnp::Data::Builder initImgData(unsigned int size);
|
inline void adoptImgData(::capnp::Orphan< ::capnp::Data>&& value);
|
inline ::capnp::Orphan< ::capnp::Data> disownImgData();
|
|
private:
|
::capnp::_::StructBuilder _builder;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
friend class ::capnp::Orphanage;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
};
|
|
#if !CAPNP_LITE
|
class RtspFaceView::GetFaceImagesResults::Pipeline {
|
public:
|
typedef GetFaceImagesResults Pipelines;
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
: _typeless(kj::mv(typeless)) {}
|
|
private:
|
::capnp::AnyPointer::Pipeline _typeless;
|
friend class ::capnp::PipelineHook;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
};
|
#endif // !CAPNP_LITE
|
|
class RtspFaceView::SetFaceLabelParams::Reader {
|
public:
|
typedef SetFaceLabelParams Reads;
|
|
Reader() = default;
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
inline ::capnp::MessageSize totalSize() const {
|
return _reader.totalSize().asPublic();
|
}
|
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const {
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
}
|
#endif // !CAPNP_LITE
|
|
inline ::uint32_t getCameraIndex() const;
|
|
inline ::uint32_t getTrackId() const;
|
|
inline bool hasLabel() const;
|
inline ::capnp::Data::Reader getLabel() const;
|
|
private:
|
::capnp::_::StructReader _reader;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::List;
|
friend class ::capnp::MessageBuilder;
|
friend class ::capnp::Orphanage;
|
};
|
|
class RtspFaceView::SetFaceLabelParams::Builder {
|
public:
|
typedef SetFaceLabelParams Builds;
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
// You can explicitly initialize to nullptr instead.
|
inline Builder(decltype(nullptr)) {}
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
inline Reader asReader() const { return *this; }
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
#endif // !CAPNP_LITE
|
|
inline ::uint32_t getCameraIndex();
|
inline void setCameraIndex( ::uint32_t value);
|
|
inline ::uint32_t getTrackId();
|
inline void setTrackId( ::uint32_t value);
|
|
inline bool hasLabel();
|
inline ::capnp::Data::Builder getLabel();
|
inline void setLabel( ::capnp::Data::Reader value);
|
inline ::capnp::Data::Builder initLabel(unsigned int size);
|
inline void adoptLabel(::capnp::Orphan< ::capnp::Data>&& value);
|
inline ::capnp::Orphan< ::capnp::Data> disownLabel();
|
|
private:
|
::capnp::_::StructBuilder _builder;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
friend class ::capnp::Orphanage;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
};
|
|
#if !CAPNP_LITE
|
class RtspFaceView::SetFaceLabelParams::Pipeline {
|
public:
|
typedef SetFaceLabelParams Pipelines;
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
: _typeless(kj::mv(typeless)) {}
|
|
private:
|
::capnp::AnyPointer::Pipeline _typeless;
|
friend class ::capnp::PipelineHook;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
};
|
#endif // !CAPNP_LITE
|
|
class RtspFaceView::SetFaceLabelResults::Reader {
|
public:
|
typedef SetFaceLabelResults Reads;
|
|
Reader() = default;
|
inline explicit Reader(::capnp::_::StructReader base): _reader(base) {}
|
|
inline ::capnp::MessageSize totalSize() const {
|
return _reader.totalSize().asPublic();
|
}
|
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const {
|
return ::capnp::_::structString(_reader, *_capnpPrivate::brand());
|
}
|
#endif // !CAPNP_LITE
|
|
private:
|
::capnp::_::StructReader _reader;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::List;
|
friend class ::capnp::MessageBuilder;
|
friend class ::capnp::Orphanage;
|
};
|
|
class RtspFaceView::SetFaceLabelResults::Builder {
|
public:
|
typedef SetFaceLabelResults Builds;
|
|
Builder() = delete; // Deleted to discourage incorrect usage.
|
// You can explicitly initialize to nullptr instead.
|
inline Builder(decltype(nullptr)) {}
|
inline explicit Builder(::capnp::_::StructBuilder base): _builder(base) {}
|
inline operator Reader() const { return Reader(_builder.asReader()); }
|
inline Reader asReader() const { return *this; }
|
|
inline ::capnp::MessageSize totalSize() const { return asReader().totalSize(); }
|
#if !CAPNP_LITE
|
inline ::kj::StringTree toString() const { return asReader().toString(); }
|
#endif // !CAPNP_LITE
|
|
private:
|
::capnp::_::StructBuilder _builder;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
friend class ::capnp::Orphanage;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::_::PointerHelpers;
|
};
|
|
#if !CAPNP_LITE
|
class RtspFaceView::SetFaceLabelResults::Pipeline {
|
public:
|
typedef SetFaceLabelResults Pipelines;
|
|
inline Pipeline(decltype(nullptr)): _typeless(nullptr) {}
|
inline explicit Pipeline(::capnp::AnyPointer::Pipeline&& typeless)
|
: _typeless(kj::mv(typeless)) {}
|
|
private:
|
::capnp::AnyPointer::Pipeline _typeless;
|
friend class ::capnp::PipelineHook;
|
template <typename, ::capnp::Kind>
|
friend struct ::capnp::ToDynamic_;
|
};
|
#endif // !CAPNP_LITE
|
|
// =======================================================================================
|
|
#if !CAPNP_LITE
|
inline RtspFaceDetect::Client::Client(decltype(nullptr))
|
: ::capnp::Capability::Client(nullptr) {}
|
inline RtspFaceDetect::Client::Client(
|
::kj::Own< ::capnp::ClientHook>&& hook)
|
: ::capnp::Capability::Client(::kj::mv(hook)) {}
|
template <typename _t, typename>
|
inline RtspFaceDetect::Client::Client(::kj::Own<_t>&& server)
|
: ::capnp::Capability::Client(::kj::mv(server)) {}
|
template <typename _t, typename>
|
inline RtspFaceDetect::Client::Client(::kj::Promise<_t>&& promise)
|
: ::capnp::Capability::Client(::kj::mv(promise)) {}
|
inline RtspFaceDetect::Client::Client(::kj::Exception&& exception)
|
: ::capnp::Capability::Client(::kj::mv(exception)) {}
|
inline ::RtspFaceDetect::Client& RtspFaceDetect::Client::operator=(Client& other) {
|
::capnp::Capability::Client::operator=(other);
|
return *this;
|
}
|
inline ::RtspFaceDetect::Client& RtspFaceDetect::Client::operator=(Client&& other) {
|
::capnp::Capability::Client::operator=(kj::mv(other));
|
return *this;
|
}
|
|
#endif // !CAPNP_LITE
|
inline ::uint32_t RtspFaceDetect::FireFaceCountListenerParams::Reader::getCameraIndex() const {
|
return _reader.getDataField< ::uint32_t>(
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
}
|
|
inline ::uint32_t RtspFaceDetect::FireFaceCountListenerParams::Builder::getCameraIndex() {
|
return _builder.getDataField< ::uint32_t>(
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
}
|
inline void RtspFaceDetect::FireFaceCountListenerParams::Builder::setCameraIndex( ::uint32_t value) {
|
_builder.setDataField< ::uint32_t>(
|
::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
|
}
|
|
inline ::uint32_t RtspFaceDetect::FireFaceCountListenerParams::Reader::getFaceCount() const {
|
return _reader.getDataField< ::uint32_t>(
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
}
|
|
inline ::uint32_t RtspFaceDetect::FireFaceCountListenerParams::Builder::getFaceCount() {
|
return _builder.getDataField< ::uint32_t>(
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
}
|
inline void RtspFaceDetect::FireFaceCountListenerParams::Builder::setFaceCount( ::uint32_t value) {
|
_builder.setDataField< ::uint32_t>(
|
::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
|
}
|
|
#if !CAPNP_LITE
|
inline RtspFaceView::Client::Client(decltype(nullptr))
|
: ::capnp::Capability::Client(nullptr) {}
|
inline RtspFaceView::Client::Client(
|
::kj::Own< ::capnp::ClientHook>&& hook)
|
: ::capnp::Capability::Client(::kj::mv(hook)) {}
|
template <typename _t, typename>
|
inline RtspFaceView::Client::Client(::kj::Own<_t>&& server)
|
: ::capnp::Capability::Client(::kj::mv(server)) {}
|
template <typename _t, typename>
|
inline RtspFaceView::Client::Client(::kj::Promise<_t>&& promise)
|
: ::capnp::Capability::Client(::kj::mv(promise)) {}
|
inline RtspFaceView::Client::Client(::kj::Exception&& exception)
|
: ::capnp::Capability::Client(::kj::mv(exception)) {}
|
inline ::RtspFaceView::Client& RtspFaceView::Client::operator=(Client& other) {
|
::capnp::Capability::Client::operator=(other);
|
return *this;
|
}
|
inline ::RtspFaceView::Client& RtspFaceView::Client::operator=(Client&& other) {
|
::capnp::Capability::Client::operator=(kj::mv(other));
|
return *this;
|
}
|
|
#endif // !CAPNP_LITE
|
inline ::uint32_t RtspFaceView::GetFaceListParams::Reader::getCameraIndex() const {
|
return _reader.getDataField< ::uint32_t>(
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
}
|
|
inline ::uint32_t RtspFaceView::GetFaceListParams::Builder::getCameraIndex() {
|
return _builder.getDataField< ::uint32_t>(
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
}
|
inline void RtspFaceView::GetFaceListParams::Builder::setCameraIndex( ::uint32_t value) {
|
_builder.setDataField< ::uint32_t>(
|
::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
|
}
|
|
inline ::uint32_t RtspFaceView::GetFaceListParams::Reader::getDbId() const {
|
return _reader.getDataField< ::uint32_t>(
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
}
|
|
inline ::uint32_t RtspFaceView::GetFaceListParams::Builder::getDbId() {
|
return _builder.getDataField< ::uint32_t>(
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
}
|
inline void RtspFaceView::GetFaceListParams::Builder::setDbId( ::uint32_t value) {
|
_builder.setDataField< ::uint32_t>(
|
::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
|
}
|
|
inline bool RtspFaceView::GetFaceListResults::Reader::hasFaceList() const {
|
return !_reader.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
|
}
|
inline bool RtspFaceView::GetFaceListResults::Builder::hasFaceList() {
|
return !_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
|
}
|
inline ::capnp::Data::Reader RtspFaceView::GetFaceListResults::Reader::getFaceList() const {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
}
|
inline ::capnp::Data::Builder RtspFaceView::GetFaceListResults::Builder::getFaceList() {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
}
|
inline void RtspFaceView::GetFaceListResults::Builder::setFaceList( ::capnp::Data::Reader value) {
|
::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS), value);
|
}
|
inline ::capnp::Data::Builder RtspFaceView::GetFaceListResults::Builder::initFaceList(unsigned int size) {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS), size);
|
}
|
inline void RtspFaceView::GetFaceListResults::Builder::adoptFaceList(
|
::capnp::Orphan< ::capnp::Data>&& value) {
|
::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
|
}
|
inline ::capnp::Orphan< ::capnp::Data> RtspFaceView::GetFaceListResults::Builder::disownFaceList() {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
}
|
|
inline ::uint32_t RtspFaceView::GetFaceImagesParams::Reader::getCameraIndex() const {
|
return _reader.getDataField< ::uint32_t>(
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
}
|
|
inline ::uint32_t RtspFaceView::GetFaceImagesParams::Builder::getCameraIndex() {
|
return _builder.getDataField< ::uint32_t>(
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
}
|
inline void RtspFaceView::GetFaceImagesParams::Builder::setCameraIndex( ::uint32_t value) {
|
_builder.setDataField< ::uint32_t>(
|
::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
|
}
|
|
inline bool RtspFaceView::GetFaceImagesResults::Reader::hasImgIndexData() const {
|
return !_reader.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
|
}
|
inline bool RtspFaceView::GetFaceImagesResults::Builder::hasImgIndexData() {
|
return !_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
|
}
|
inline ::capnp::Data::Reader RtspFaceView::GetFaceImagesResults::Reader::getImgIndexData() const {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
}
|
inline ::capnp::Data::Builder RtspFaceView::GetFaceImagesResults::Builder::getImgIndexData() {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
}
|
inline void RtspFaceView::GetFaceImagesResults::Builder::setImgIndexData( ::capnp::Data::Reader value) {
|
::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS), value);
|
}
|
inline ::capnp::Data::Builder RtspFaceView::GetFaceImagesResults::Builder::initImgIndexData(unsigned int size) {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS), size);
|
}
|
inline void RtspFaceView::GetFaceImagesResults::Builder::adoptImgIndexData(
|
::capnp::Orphan< ::capnp::Data>&& value) {
|
::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
|
}
|
inline ::capnp::Orphan< ::capnp::Data> RtspFaceView::GetFaceImagesResults::Builder::disownImgIndexData() {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
}
|
|
inline bool RtspFaceView::GetFaceImagesResults::Reader::hasImgData() const {
|
return !_reader.getPointerField(
|
::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
|
}
|
inline bool RtspFaceView::GetFaceImagesResults::Builder::hasImgData() {
|
return !_builder.getPointerField(
|
::capnp::bounded<1>() * ::capnp::POINTERS).isNull();
|
}
|
inline ::capnp::Data::Reader RtspFaceView::GetFaceImagesResults::Reader::getImgData() const {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
|
::capnp::bounded<1>() * ::capnp::POINTERS));
|
}
|
inline ::capnp::Data::Builder RtspFaceView::GetFaceImagesResults::Builder::getImgData() {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
|
::capnp::bounded<1>() * ::capnp::POINTERS));
|
}
|
inline void RtspFaceView::GetFaceImagesResults::Builder::setImgData( ::capnp::Data::Reader value) {
|
::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
|
::capnp::bounded<1>() * ::capnp::POINTERS), value);
|
}
|
inline ::capnp::Data::Builder RtspFaceView::GetFaceImagesResults::Builder::initImgData(unsigned int size) {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
|
::capnp::bounded<1>() * ::capnp::POINTERS), size);
|
}
|
inline void RtspFaceView::GetFaceImagesResults::Builder::adoptImgData(
|
::capnp::Orphan< ::capnp::Data>&& value) {
|
::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
|
::capnp::bounded<1>() * ::capnp::POINTERS), kj::mv(value));
|
}
|
inline ::capnp::Orphan< ::capnp::Data> RtspFaceView::GetFaceImagesResults::Builder::disownImgData() {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
|
::capnp::bounded<1>() * ::capnp::POINTERS));
|
}
|
|
inline ::uint32_t RtspFaceView::SetFaceLabelParams::Reader::getCameraIndex() const {
|
return _reader.getDataField< ::uint32_t>(
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
}
|
|
inline ::uint32_t RtspFaceView::SetFaceLabelParams::Builder::getCameraIndex() {
|
return _builder.getDataField< ::uint32_t>(
|
::capnp::bounded<0>() * ::capnp::ELEMENTS);
|
}
|
inline void RtspFaceView::SetFaceLabelParams::Builder::setCameraIndex( ::uint32_t value) {
|
_builder.setDataField< ::uint32_t>(
|
::capnp::bounded<0>() * ::capnp::ELEMENTS, value);
|
}
|
|
inline ::uint32_t RtspFaceView::SetFaceLabelParams::Reader::getTrackId() const {
|
return _reader.getDataField< ::uint32_t>(
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
}
|
|
inline ::uint32_t RtspFaceView::SetFaceLabelParams::Builder::getTrackId() {
|
return _builder.getDataField< ::uint32_t>(
|
::capnp::bounded<1>() * ::capnp::ELEMENTS);
|
}
|
inline void RtspFaceView::SetFaceLabelParams::Builder::setTrackId( ::uint32_t value) {
|
_builder.setDataField< ::uint32_t>(
|
::capnp::bounded<1>() * ::capnp::ELEMENTS, value);
|
}
|
|
inline bool RtspFaceView::SetFaceLabelParams::Reader::hasLabel() const {
|
return !_reader.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
|
}
|
inline bool RtspFaceView::SetFaceLabelParams::Builder::hasLabel() {
|
return !_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS).isNull();
|
}
|
inline ::capnp::Data::Reader RtspFaceView::SetFaceLabelParams::Reader::getLabel() const {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
}
|
inline ::capnp::Data::Builder RtspFaceView::SetFaceLabelParams::Builder::getLabel() {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
}
|
inline void RtspFaceView::SetFaceLabelParams::Builder::setLabel( ::capnp::Data::Reader value) {
|
::capnp::_::PointerHelpers< ::capnp::Data>::set(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS), value);
|
}
|
inline ::capnp::Data::Builder RtspFaceView::SetFaceLabelParams::Builder::initLabel(unsigned int size) {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::init(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS), size);
|
}
|
inline void RtspFaceView::SetFaceLabelParams::Builder::adoptLabel(
|
::capnp::Orphan< ::capnp::Data>&& value) {
|
::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value));
|
}
|
inline ::capnp::Orphan< ::capnp::Data> RtspFaceView::SetFaceLabelParams::Builder::disownLabel() {
|
return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField(
|
::capnp::bounded<0>() * ::capnp::POINTERS));
|
}
|
|
|
#endif // CAPNP_INCLUDED_d6ce09ec6f6d1f1a_
|