From 58c513f0a3abb45359972112913619fa9d613c95 Mon Sep 17 00:00:00 2001 From: pans <pans@454eff88-639b-444f-9e54-f578c98de674> Date: 星期一, 07 八月 2017 17:16:48 +0800 Subject: [PATCH] add RemoteServer(pthread) #todo add stop() --- VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.h | 57 ++++++++++++++++++++++++++++++++++++++------------------- 1 files changed, 38 insertions(+), 19 deletions(-) diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.h b/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.h index 5c26256..9431257 100644 --- a/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.h +++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/RemoteMethod.proto.h @@ -1,5 +1,5 @@ // Generated by Cap'n Proto compiler, DO NOT EDIT -// source: RemoteMethod.proto +// source: .\RemoteMethod.proto #ifndef CAPNP_INCLUDED_d6ce09ec6f6d1f1a_ #define CAPNP_INCLUDED_d6ce09ec6f6d1f1a_ @@ -481,6 +481,8 @@ inline ::uint32_t getCameraIndex() const; + inline ::uint32_t getDbId() const; + private: ::capnp::_::StructReader _reader; template <typename, ::capnp::Kind> @@ -511,6 +513,9 @@ inline ::uint32_t getCameraIndex(); inline void setCameraIndex( ::uint32_t value); + + inline ::uint32_t getDbId(); + inline void setDbId( ::uint32_t value); private: ::capnp::_::StructBuilder _builder; @@ -808,7 +813,7 @@ inline ::uint32_t getTrackId() const; inline bool hasLabel() const; - inline ::capnp::Text::Reader getLabel() const; + inline ::capnp::Data::Reader getLabel() const; private: ::capnp::_::StructReader _reader; @@ -845,11 +850,11 @@ inline void setTrackId( ::uint32_t value); inline bool hasLabel(); - inline ::capnp::Text::Builder getLabel(); - inline void setLabel( ::capnp::Text::Reader value); - inline ::capnp::Text::Builder initLabel(unsigned int size); - inline void adoptLabel(::capnp::Orphan< ::capnp::Text>&& value); - inline ::capnp::Orphan< ::capnp::Text> disownLabel(); + 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; @@ -1040,6 +1045,20 @@ ::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(); @@ -1192,29 +1211,29 @@ return !_builder.getPointerField( ::capnp::bounded<0>() * ::capnp::POINTERS).isNull(); } -inline ::capnp::Text::Reader RtspFaceView::SetFaceLabelParams::Reader::getLabel() const { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_reader.getPointerField( +inline ::capnp::Data::Reader RtspFaceView::SetFaceLabelParams::Reader::getLabel() const { + return ::capnp::_::PointerHelpers< ::capnp::Data>::get(_reader.getPointerField( ::capnp::bounded<0>() * ::capnp::POINTERS)); } -inline ::capnp::Text::Builder RtspFaceView::SetFaceLabelParams::Builder::getLabel() { - return ::capnp::_::PointerHelpers< ::capnp::Text>::get(_builder.getPointerField( +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::Text::Reader value) { - ::capnp::_::PointerHelpers< ::capnp::Text>::set(_builder.getPointerField( +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::Text::Builder RtspFaceView::SetFaceLabelParams::Builder::initLabel(unsigned int size) { - return ::capnp::_::PointerHelpers< ::capnp::Text>::init(_builder.getPointerField( +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::Text>&& value) { - ::capnp::_::PointerHelpers< ::capnp::Text>::adopt(_builder.getPointerField( + ::capnp::Orphan< ::capnp::Data>&& value) { + ::capnp::_::PointerHelpers< ::capnp::Data>::adopt(_builder.getPointerField( ::capnp::bounded<0>() * ::capnp::POINTERS), kj::mv(value)); } -inline ::capnp::Orphan< ::capnp::Text> RtspFaceView::SetFaceLabelParams::Builder::disownLabel() { - return ::capnp::_::PointerHelpers< ::capnp::Text>::disown(_builder.getPointerField( +inline ::capnp::Orphan< ::capnp::Data> RtspFaceView::SetFaceLabelParams::Builder::disownLabel() { + return ::capnp::_::PointerHelpers< ::capnp::Data>::disown(_builder.getPointerField( ::capnp::bounded<0>() * ::capnp::POINTERS)); } -- Gitblit v1.8.0