Skip to content

Class mediapipe::api2::PortCommon

template <typename Base, typename ValueT, bool IsOptionalV, bool IsMultipleV>

ClassList > mediapipe > api2 > PortCommon

Inherits the following classes: Base

Public Types

Type Name
typedef PortCommon< Base, ValueT, IsOptionalV, true > Multiple
typedef PortCommon< Base, ValueT, true, IsMultipleV > Optional
typedef ActualPayloadT< ValueT > PayloadT
typedef SideFallbackT< Base, ValueT, IsOptionalV, IsMultipleV > SideFallback
typedef ValueT value_t

Public Static Attributes

Type Name
constexpr bool kMultiple = IsMultipleV
constexpr bool kOptional = IsOptionalV

Public Functions

Type Name
constexpr PortCommon (absl::string_view tag)
constexpr PortCommon (const char(&) tag)
auto operator() (CalculatorContext * cc) const
auto operator() (CalculatorContract * cc) const

Public Types Documentation

typedef Multiple

using mediapipe::api2::PortCommon< Base, ValueT, IsOptionalV, IsMultipleV >::Multiple =  PortCommon<Base, ValueT, IsOptionalV, true>;

typedef Optional

using mediapipe::api2::PortCommon< Base, ValueT, IsOptionalV, IsMultipleV >::Optional =  PortCommon<Base, ValueT, true, IsMultipleV>;

typedef PayloadT

using mediapipe::api2::PortCommon< Base, ValueT, IsOptionalV, IsMultipleV >::PayloadT =  ActualPayloadT<ValueT>;

typedef SideFallback

using mediapipe::api2::PortCommon< Base, ValueT, IsOptionalV, IsMultipleV >::SideFallback =  SideFallbackT<Base, ValueT, IsOptionalV, IsMultipleV>;

typedef value_t

using mediapipe::api2::PortCommon< Base, ValueT, IsOptionalV, IsMultipleV >::value_t =  ValueT;

Public Static Attributes Documentation

variable kMultiple

constexpr bool mediapipe::api2::PortCommon< Base, ValueT, IsOptionalV, IsMultipleV >::kMultiple;

variable kOptional

constexpr bool mediapipe::api2::PortCommon< Base, ValueT, IsOptionalV, IsMultipleV >::kOptional;

Public Functions Documentation

function PortCommon [1/2]

inline explicit constexpr mediapipe::api2::PortCommon::PortCommon (
    absl::string_view tag
) 

function PortCommon [2/2]

template<std::size_t N>
inline explicit constexpr mediapipe::api2::PortCommon::PortCommon (
    const char(&) tag
) 

function operator() [1/2]

inline auto mediapipe::api2::PortCommon::operator() (
    CalculatorContext * cc
) const

function operator() [2/2]

inline auto mediapipe::api2::PortCommon::operator() (
    CalculatorContract * cc
) const

Friends Documentation

friend Contract

template<typename...>
class mediapipe::api2::PortCommon::Contract (
    internal::Contract
) 

friend SideFallbackT

template<typename B, typename VT, bool, bool>
class mediapipe::api2::PortCommon::SideFallbackT (
    mediapipe::api2::SideFallbackT
) 


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