Skip to content

Class mediapipe::FunctionRegistry

template <typename R, typename... Args>

ClassList > mediapipe > FunctionRegistry

Public Types

Type Name
typedef std::function< R(Args...)> Function
typedef typename registration_internal::WrapStatusOr< R >::type ReturnType

Public Functions

Type Name
FunctionRegistry ()
FunctionRegistry (const FunctionRegistry &) = delete
std::string GetNormalizedName (absl::string_view name)
std::string GetQualifiedName (absl::string_view ns, absl::string_view name) const
std::unordered_set< std::string > GetRegisteredNames () const
ReturnType Invoke (absl::string_view name, Args2 &&... args)
ReturnType Invoke (absl::string_view ns, absl::string_view name, Args2 &&... args)
bool IsRegistered (absl::string_view name) const
bool IsRegistered (absl::string_view ns, absl::string_view name) const
RegistrationToken Register (absl::string_view name, Function func)
FunctionRegistry & operator= (const FunctionRegistry &) = delete

Public Static Functions

Type Name
std::string GetLookupName (const absl::string_view cxx_type_name)

Public Types Documentation

typedef Function

using mediapipe::FunctionRegistry< R, Args >::Function =  std::function<R(Args...)>;

typedef ReturnType

using mediapipe::FunctionRegistry< R, Args >::ReturnType =  typename registration_internal::WrapStatusOr<R>::type;

Public Functions Documentation

function FunctionRegistry [1/2]

inline mediapipe::FunctionRegistry::FunctionRegistry () 

function FunctionRegistry [2/2]

mediapipe::FunctionRegistry::FunctionRegistry (
    const FunctionRegistry &
) = delete

function GetNormalizedName

inline std::string mediapipe::FunctionRegistry::GetNormalizedName (
    absl::string_view name
) 

function GetQualifiedName

inline std::string mediapipe::FunctionRegistry::GetQualifiedName (
    absl::string_view ns,
    absl::string_view name
) const

function GetRegisteredNames

inline std::unordered_set< std::string > mediapipe::FunctionRegistry::GetRegisteredNames () const

function Invoke [1/2]

template<typename... Args2, absl::enable_if_t< std::is_convertible< std::tuple< Args2... >, std::tuple< Args... > >::value, int >>
inline ReturnType mediapipe::FunctionRegistry::Invoke (
    absl::string_view name,
    Args2 &&... args
) 

function Invoke [2/2]

template<typename... Args2>
inline ReturnType mediapipe::FunctionRegistry::Invoke (
    absl::string_view ns,
    absl::string_view name,
    Args2 &&... args
) 

function IsRegistered [1/2]

inline bool mediapipe::FunctionRegistry::IsRegistered (
    absl::string_view name
) const

function IsRegistered [2/2]

inline bool mediapipe::FunctionRegistry::IsRegistered (
    absl::string_view ns,
    absl::string_view name
) const

function Register

inline RegistrationToken mediapipe::FunctionRegistry::Register (
    absl::string_view name,
    Function func
) 

function operator=

FunctionRegistry & mediapipe::FunctionRegistry::operator= (
    const FunctionRegistry &
) = delete

Public Static Functions Documentation

function GetLookupName

static inline std::string mediapipe::FunctionRegistry::GetLookupName (
    const absl::string_view cxx_type_name
) 


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