Skip to content

Class mediapipe::api2::PacketBase

ClassList > mediapipe > api2 > PacketBase

Inherited by the following classes: mediapipe::api2::Packet< OneOf< T... > >, mediapipe::api2::Packet< internal::Generic >

Public Functions

Type Name
Packet< T > As () const
PacketBase At (Timestamp timestamp) const
PacketBase At (Timestamp timestamp)
absl::StatusOr< std::unique_ptr< T > > Consume ()
const T & Get () const
bool IsEmpty () const
PacketBase () = default
PacketBase (const PacketBase &) = default
PacketBase (PacketBase &&) = default
Packet () const
Packet ()
PacketBase & operator= (const PacketBase &) = default
PacketBase & operator= (PacketBase &&) = default
Timestamp timestamp () const

Protected Attributes

Type Name
std::shared_ptr< HolderBase > payload_
Timestamp timestamp_

Protected Functions

Type Name
PacketBase (std::shared_ptr< HolderBase > payload)

Public Functions Documentation

function As

template<typename T>
inline Packet< T > mediapipe::api2::PacketBase::As () const

function At [1/2]

inline PacketBase mediapipe::api2::PacketBase::At (
    Timestamp timestamp
) const

function At [2/2]

inline PacketBase mediapipe::api2::PacketBase::At (
    Timestamp timestamp
) 

function Consume

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

function Get

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

function IsEmpty

inline bool mediapipe::api2::PacketBase::IsEmpty () const

function PacketBase [1/4]

mediapipe::api2::PacketBase::PacketBase () = default

function PacketBase [2/4]

mediapipe::api2::PacketBase::PacketBase (
    const PacketBase &
) = default

function PacketBase [3/4]

mediapipe::api2::PacketBase::PacketBase (
    PacketBase &&
) = default

function Packet [1/2]

inline mediapipe::api2::PacketBase::Packet () const

function Packet [2/2]

inline mediapipe::api2::PacketBase::Packet () 

function operator=

PacketBase & mediapipe::api2::PacketBase::operator= (
    const PacketBase &
) = default

function operator=

PacketBase & mediapipe::api2::PacketBase::operator= (
    PacketBase &&
) = default

function timestamp

inline Timestamp mediapipe::api2::PacketBase::timestamp () const

Protected Attributes Documentation

variable payload_

std::shared_ptr<HolderBase> mediapipe::api2::PacketBase::payload_;

variable timestamp_

Timestamp mediapipe::api2::PacketBase::timestamp_;

Protected Functions Documentation

function PacketBase [4/4]

inline explicit mediapipe::api2::PacketBase::PacketBase (
    std::shared_ptr< HolderBase > payload
) 


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