Namespace List > mediapipe > api2 > internal
Classes
Public Types
Type |
Name |
typedef std::make_index_sequence< std::tuple_size_v< std::decay_t< Tuple > > > |
tuple_index_sequence
|
Public Functions
Type |
Name |
auto |
AccessPort (std::false_type, const PortT & port, CC * cc)
|
auto |
AccessPort (std::true_type, const PortT & port, CC * cc)
|
auto |
GetCollection (CC * cc, const InputBase & port)
|
auto |
GetCollection (CC * cc, const SideInputBase & port)
|
auto |
GetCollection (CC * cc, const OutputBase & port)
|
auto |
GetCollection (CC * cc, const SideOutputBase & port)
|
auto |
GetOrNull (Collection & collection, const absl::string_view & tag, int index)
|
void |
SetType (CalculatorContract * cc, PacketType & pt)
|
void |
SetType< NoneType > (CalculatorContract * cc, PacketType & pt)
|
void |
SetTypeOneOf (OneOf< T... >, CalculatorContract * cc, PacketType & pt)
|
InputShardAccess< ValueT > |
SinglePortAccess (mediapipe::CalculatorContext * cc, InputStreamShard * stream)
|
OutputShardAccess< ValueT > |
SinglePortAccess (mediapipe::CalculatorContext * cc, OutputStreamShard * stream)
|
InputSidePacketAccess< ValueT > |
SinglePortAccess (mediapipe::CalculatorContext * cc, const mediapipe::Packet * packet)
|
OutputSidePacketAccess< ValueT > |
SinglePortAccess (mediapipe::CalculatorContext * cc, OutputSidePacket * osp)
|
InputShardOrSideAccess< ValueT > |
SinglePortAccess (mediapipe::CalculatorContext * cc, InputStreamShard * stream, const mediapipe::Packet * packet)
|
PacketTypeAccess |
SinglePortAccess (mediapipe::CalculatorContract * cc, PacketType * pt)
|
PacketTypeAccessFallback |
SinglePortAccess (mediapipe::CalculatorContract * cc, PacketType * pt, bool is_stream)
|
constexpr auto |
call_with_optional_index (F && f, T && t, I i)
|
constexpr auto |
filter_tuple (Tuple && t)
|
constexpr auto |
filtered_tuple_indices (Tuple && tuple)
|
constexpr auto |
filtered_tuple_indices_impl (Tuple && t, std::index_sequence< I... >)
|
constexpr auto |
flatten_tuple (Tuple && tuple)
|
constexpr auto |
index_sequence_cat (std::index_sequence< I... >)
|
constexpr auto |
index_sequence_cat (std::index_sequence< I... >, std::index_sequence< J... >, Tail... tail)
|
constexpr auto |
map_tuple (F && f, Tuple && tuple)
|
constexpr auto |
map_tuple_impl (F && f, Tuple && tuple, std::index_sequence< I... >)
|
constexpr auto |
select_tuple_indices (Tuple && tuple, std::index_sequence< I... >)
|
constexpr auto |
tag_build (S)
|
constexpr auto |
tag_build_impl (S, std::index_sequence< I... >)
|
constexpr auto |
tuple_apply (F && f, Tuple && tuple)
|
constexpr auto |
tuple_apply_impl (F && f, Tuple && tuple, std::index_sequence< I... >)
|
constexpr std::enable_if_t< i==std::tuple_size_v< std::decay_t< Tuple > >, std::size_t > |
tuple_find (F && f, Tuple && tuple)
|
constexpr std::enable_if_t< i !=std::tuple_size_v< std::decay_t< Tuple > >, std::size_t > |
tuple_find (F && f, Tuple && tuple)
|
constexpr void |
tuple_for_each (F && f, Tuple && tuple)
|
constexpr void |
tuple_for_each_impl (F && f, Tuple && tuple, std::index_sequence< I... >)
|
Protected Types
Type |
Name |
typedef ::mediapipe::api2::AnyType |
Generic
|
Protected Functions
Public Types Documentation
typedef tuple_index_sequence
using mediapipe::api2::internal::tuple_index_sequence = typedef std::make_index_sequence<std::tuple_size_v<std::decay_t<Tuple> >>;
Public Functions Documentation
function AccessPort
template<typename ValueT, typename PortT, class CC>
auto mediapipe::api2::internal::AccessPort (
std::false_type,
const PortT & port,
CC * cc
)
function AccessPort
template<typename ValueT, typename PortT, class CC>
auto mediapipe::api2::internal::AccessPort (
std::true_type,
const PortT & port,
CC * cc
)
function GetCollection
template<class CC>
auto mediapipe::api2::internal::GetCollection (
CC * cc,
const InputBase & port
)
function GetCollection
template<class CC>
auto mediapipe::api2::internal::GetCollection (
CC * cc,
const SideInputBase & port
)
function GetCollection
template<class CC>
auto mediapipe::api2::internal::GetCollection (
CC * cc,
const OutputBase & port
)
function GetCollection
template<class CC>
auto mediapipe::api2::internal::GetCollection (
CC * cc,
const SideOutputBase & port
)
function GetOrNull
template<class Collection>
auto mediapipe::api2::internal::GetOrNull (
Collection & collection,
const absl::string_view & tag,
int index
)
function SetType
template<typename T, typename std::enable_if<!std::is_same< T, AnyType >{} &&!IsOneOf< T >{} &&!IsSameType< T >{}, int >::type>
inline void mediapipe::api2::internal::SetType (
CalculatorContract * cc,
PacketType & pt
)
function SetType< NoneType >
template<>
inline void mediapipe::api2::internal::SetType< NoneType > (
CalculatorContract * cc,
PacketType & pt
)
function SetTypeOneOf
template<typename... T>
inline void mediapipe::api2::internal::SetTypeOneOf (
OneOf< T... >,
CalculatorContract * cc,
PacketType & pt
)
function SinglePortAccess
template<typename ValueT>
InputShardAccess< ValueT > mediapipe::api2::internal::SinglePortAccess (
mediapipe::CalculatorContext * cc,
InputStreamShard * stream
)
function SinglePortAccess
template<typename ValueT>
OutputShardAccess< ValueT > mediapipe::api2::internal::SinglePortAccess (
mediapipe::CalculatorContext * cc,
OutputStreamShard * stream
)
function SinglePortAccess
template<typename ValueT>
InputSidePacketAccess< ValueT > mediapipe::api2::internal::SinglePortAccess (
mediapipe::CalculatorContext * cc,
const mediapipe::Packet * packet
)
function SinglePortAccess
template<typename ValueT>
OutputSidePacketAccess< ValueT > mediapipe::api2::internal::SinglePortAccess (
mediapipe::CalculatorContext * cc,
OutputSidePacket * osp
)
function SinglePortAccess
template<typename ValueT>
InputShardOrSideAccess< ValueT > mediapipe::api2::internal::SinglePortAccess (
mediapipe::CalculatorContext * cc,
InputStreamShard * stream,
const mediapipe::Packet * packet
)
function SinglePortAccess
template<typename ValueT>
PacketTypeAccess mediapipe::api2::internal::SinglePortAccess (
mediapipe::CalculatorContract * cc,
PacketType * pt
)
function SinglePortAccess
template<typename ValueT>
PacketTypeAccessFallback mediapipe::api2::internal::SinglePortAccess (
mediapipe::CalculatorContract * cc,
PacketType * pt,
bool is_stream
)
function call_with_optional_index
template<class F, class T, class I>
constexpr auto mediapipe::api2::internal::call_with_optional_index (
F && f,
T && t,
I i
)
function filter_tuple
template<template< typename... > class Pred, typename Tuple>
constexpr auto mediapipe::api2::internal::filter_tuple (
Tuple && t
)
function filtered_tuple_indices
template<template< typename... > class Pred, typename Tuple>
constexpr auto mediapipe::api2::internal::filtered_tuple_indices (
Tuple && tuple
)
function filtered_tuple_indices_impl
template<template< typename... > class Pred, typename Tuple, std::size_t... I>
constexpr auto mediapipe::api2::internal::filtered_tuple_indices_impl (
Tuple && t,
std::index_sequence< I... >
)
function flatten_tuple
template<class Tuple>
constexpr auto mediapipe::api2::internal::flatten_tuple (
Tuple && tuple
)
function index_sequence_cat
template<std::size_t... I>
constexpr auto mediapipe::api2::internal::index_sequence_cat (
std::index_sequence< I... >
)
function index_sequence_cat
template<std::size_t... I, std::size_t... J, class... Tail>
constexpr auto mediapipe::api2::internal::index_sequence_cat (
std::index_sequence< I... >,
std::index_sequence< J... >,
Tail... tail
)
function map_tuple
template<class F, class Tuple>
constexpr auto mediapipe::api2::internal::map_tuple (
F && f,
Tuple && tuple
)
function map_tuple_impl
template<class F, class Tuple, std::size_t... I>
constexpr auto mediapipe::api2::internal::map_tuple_impl (
F && f,
Tuple && tuple,
std::index_sequence< I... >
)
function select_tuple_indices
template<typename Tuple, std::size_t... I>
constexpr auto mediapipe::api2::internal::select_tuple_indices (
Tuple && tuple,
std::index_sequence< I... >
)
function tag_build
template<typename S>
constexpr auto mediapipe::api2::internal::tag_build (
S
)
function tag_build_impl
template<typename S, std::size_t... I>
constexpr auto mediapipe::api2::internal::tag_build_impl (
S,
std::index_sequence< I... >
)
function tuple_apply
template<class F, class Tuple>
constexpr auto mediapipe::api2::internal::tuple_apply (
F && f,
Tuple && tuple
)
function tuple_apply_impl
template<class F, class Tuple, std::size_t... I>
constexpr auto mediapipe::api2::internal::tuple_apply_impl (
F && f,
Tuple && tuple,
std::index_sequence< I... >
)
function tuple_find
template<class F, class Tuple, std::size_t i>
constexpr std::enable_if_t< i==std::tuple_size_v< std::decay_t< Tuple > >, std::size_t > mediapipe::api2::internal::tuple_find (
F && f,
Tuple && tuple
)
function tuple_find
template<class F, class Tuple, std::size_t i>
constexpr std::enable_if_t< i !=std::tuple_size_v< std::decay_t< Tuple > >, std::size_t > mediapipe::api2::internal::tuple_find (
F && f,
Tuple && tuple
)
function tuple_for_each
template<class F, class Tuple>
constexpr void mediapipe::api2::internal::tuple_for_each (
F && f,
Tuple && tuple
)
function tuple_for_each_impl
template<class F, class Tuple, std::size_t... I>
constexpr void mediapipe::api2::internal::tuple_for_each_impl (
F && f,
Tuple && tuple,
std::index_sequence< I... >
)
Protected Types Documentation
typedef Generic
using mediapipe::api2::internal::Generic = typedef ::mediapipe::api2::AnyType;
Protected Functions Documentation
function CheckCompatibleType
template<class T>
inline void mediapipe::api2::internal::CheckCompatibleType (
const HolderBase & holder,
internal::Wrap< T >
)
function CheckCompatibleType
template<class... T>
inline void mediapipe::api2::internal::CheckCompatibleType (
const HolderBase & holder,
internal::Wrap< OneOf< T... > >
)
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/api/contract.h