Skip to content

Class mediapipe::api2::Packet

template <typename T>

ClassList > mediapipe > api2 > Packet

Inherits the following classes: mediapipe::Packet< internal::Generic >

Inherited by the following classes: mediapipe::api2::InputShardAccess, mediapipe::api2::InputShardOrSideAccess, mediapipe::api2::InputSidePacketAccess

Public Functions

Type Name
Packet< T > At (Timestamp timestamp) const
Packet< T > At (Timestamp timestamp)
absl::StatusOr< std::unique_ptr< T > > Consume ()
const T & Get () const
std::enable_if_t<!std::is_abstract_v< TT >, TT > GetOr (U && v) const
Packet () = default
const T & operator* () const
const T * operator-> () const

Public Functions Documentation

function At [1/2]

inline Packet< T > mediapipe::api2::Packet::At (
    Timestamp timestamp
) const

function At [2/2]

inline Packet< T > mediapipe::api2::Packet::At (
    Timestamp timestamp
) 

function Consume

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

function Get

inline const T & mediapipe::api2::Packet::Get () const

function GetOr

template<typename U, typename TT>
inline std::enable_if_t<!std::is_abstract_v< TT >, TT > mediapipe::api2::Packet::GetOr (
    U && v
) const

function Packet [1/2]

mediapipe::api2::Packet::Packet () = default

function operator*

inline const T & mediapipe::api2::Packet::operator* () const

function operator->

inline const T * mediapipe::api2::Packet::operator-> () const


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