Skip to content

Class mediapipe::Packet

ClassList > mediapipe > Packet

Inherited by the following classes: mediapipe::api2::Packet, mediapipe::api2::Packet

Public Functions

Type Name
Packet At (class Timestamp timestamp) const
Packet At (class Timestamp timestamp)
absl::StatusOr< std::unique_ptr< T > > Consume ()
absl::StatusOr< std::unique_ptr< T > > ConsumeOrCopy (bool * was_copied=nullptr, typename std::enable_if<!std::is_array< T >::value >::type *=nullptr)
absl::StatusOr< std::unique_ptr< T > > ConsumeOrCopy (bool * was_copied=nullptr, typename std::enable_if< std::is_array< T >::value &&std::extent< T >::value !=0 >::type *=nullptr)
absl::StatusOr< std::unique_ptr< T > > ConsumeOrCopy (bool * was_copied=nullptr, typename std::enable_if< std::is_array< T >::value &&std::extent< T >::value==0 >::type *=nullptr)
std::string DebugString () const
std::string DebugTypeName () const
const T & Get () const
const proto_ns::MessageLite & GetProtoMessageLite () const
TypeId GetTypeId () const
StatusOr< std::vector< const proto_ns::MessageLite * > > GetVectorOfProtoMessageLitePtrs () const
bool IsEmpty () const
Packet () = default
Packet (const Packet & packet)
Packet (Packet && packet)
std::string RegisteredTypeName () const
class Timestamp Timestamp () const
absl::Status ValidateAsProtoMessageLite () const
absl::Status ValidateAsType () const
Packet & operator= (const Packet & packet)
Packet & operator= (Packet && packet)

Public Functions Documentation

function At [1/2]

Packet mediapipe::Packet::At (
    class Timestamp timestamp
) const

function At [2/2]

Packet mediapipe::Packet::At (
    class Timestamp timestamp
) 

function Consume

template<typename T>
inline absl::StatusOr< std::unique_ptr< T > > mediapipe::Packet::Consume () 

function ConsumeOrCopy [1/3]

template<typename T>
inline absl::StatusOr< std::unique_ptr< T > > mediapipe::Packet::ConsumeOrCopy (
    bool * was_copied=nullptr,
    typename std::enable_if<!std::is_array< T >::value >::type *=nullptr
) 

function ConsumeOrCopy [2/3]

template<typename T>
inline absl::StatusOr< std::unique_ptr< T > > mediapipe::Packet::ConsumeOrCopy (
    bool * was_copied=nullptr,
    typename std::enable_if< std::is_array< T >::value &&std::extent< T >::value !=0 >::type *=nullptr
) 

function ConsumeOrCopy [3/3]

template<typename T>
inline absl::StatusOr< std::unique_ptr< T > > mediapipe::Packet::ConsumeOrCopy (
    bool * was_copied=nullptr,
    typename std::enable_if< std::is_array< T >::value &&std::extent< T >::value==0 >::type *=nullptr
) 

function DebugString

std::string mediapipe::Packet::DebugString () const

function DebugTypeName

std::string mediapipe::Packet::DebugTypeName () const

function Get

template<typename T>
inline const T & mediapipe::Packet::Get () const

function GetProtoMessageLite

const proto_ns::MessageLite & mediapipe::Packet::GetProtoMessageLite () const

function GetTypeId

inline TypeId mediapipe::Packet::GetTypeId () const

function GetVectorOfProtoMessageLitePtrs

StatusOr< std::vector< const proto_ns::MessageLite * > > mediapipe::Packet::GetVectorOfProtoMessageLitePtrs () const

function IsEmpty

inline bool mediapipe::Packet::IsEmpty () const

function Packet [1/3]

mediapipe::Packet::Packet () = default

function Packet [2/3]

inline mediapipe::Packet::Packet (
    const Packet & packet
) 

function Packet [3/3]

inline mediapipe::Packet::Packet (
    Packet && packet
) 

function RegisteredTypeName

std::string mediapipe::Packet::RegisteredTypeName () const

function Timestamp

inline class Timestamp mediapipe::Packet::Timestamp () const

function ValidateAsProtoMessageLite

absl::Status mediapipe::Packet::ValidateAsProtoMessageLite () const

function ValidateAsType [1/2]

template<typename T>
inline absl::Status mediapipe::Packet::ValidateAsType () const

function operator=

inline Packet & mediapipe::Packet::operator= (
    const Packet & packet
) 

function operator=

inline Packet & mediapipe::Packet::operator= (
    Packet && packet
) 

Friends Documentation

friend operator<<

inline std::ostream & mediapipe::Packet::operator<< (
    std::ostream & stream,
    const Packet & p
) 


The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/packet.h