Class mediapipe::packet_internal::Holder
template <typename T>
Inherits the following classes: mediapipe::packet_internal::HolderBase, HolderPayloadRegistrator< T >
Public Functions
Type | Name |
---|---|
int64_t | DebugDataId () const |
const std::string | DebugTypeName () const |
TypeId | GetTypeId () const |
Holder (const T * ptr) |
|
const std::string | RegisteredTypeName () const |
absl::StatusOr< std::unique_ptr< T > > | Release (typename std::enable_if<!std::is_array< U >::value||std::extent< U >::value !=0 >::type *=0) |
absl::StatusOr< std::unique_ptr< T > > | Release (typename std::enable_if< std::is_array< U >::value &&std::extent< U >::value==0 >::type *=0) |
const T & | data () const |
~Holder () override |
Protected Attributes
Type | Name |
---|---|
const T * | ptr_ |
Protected Functions
Type | Name |
---|---|
const proto_ns::MessageLite * | GetProtoMessageLite () override |
StatusOr< std::vector< const proto_ns::MessageLite * > > | GetVectorOfProtoMessageLite () override const |
Public Functions Documentation
function DebugDataId
inline int64_t Holder::DebugDataId () const
function DebugTypeName
inline const std::string Holder::DebugTypeName () const
function GetTypeId
inline TypeId Holder::GetTypeId () const
function Holder
inline explicit Holder::Holder (
const T * ptr
)
function RegisteredTypeName
inline const std::string Holder::RegisteredTypeName () const
function Release [1/2]
template<typename U>
inline absl::StatusOr< std::unique_ptr< T > > Holder::Release (
typename std::enable_if<!std::is_array< U >::value||std::extent< U >::value !=0 >::type *=0
)
function Release [2/2]
template<typename U>
inline absl::StatusOr< std::unique_ptr< T > > Holder::Release (
typename std::enable_if< std::is_array< U >::value &&std::extent< U >::value==0 >::type *=0
)
function data
inline const T & Holder::data () const
function ~Holder
inline Holder::~Holder () override
Protected Attributes Documentation
variable ptr_
const T* mediapipe::packet_internal::Holder< T >::ptr_;
Protected Functions Documentation
function GetProtoMessageLite
inline const proto_ns::MessageLite * Holder::GetProtoMessageLite () override
function GetVectorOfProtoMessageLite
inline StatusOr< std::vector< const proto_ns::MessageLite * > > Holder::GetVectorOfProtoMessageLite () override const
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/packet.h