Skip to content

Class mediapipe::GraphRegistry

ClassList > mediapipe > GraphRegistry

Public Static Attributes

Type Name
GraphRegistry global_graph_registry

Public Functions

Type Name
absl::StatusOr< CalculatorGraphConfig > CreateByName (absl::string_view ns, absl::string_view type_name, SubgraphContext * context=nullptr) const
GraphRegistry ()
GraphRegistry (FunctionRegistry< std::unique_ptr< Subgraph > > * factories)
bool IsRegistered (const std::string & ns, const std::string & type_name) const
void Register (const std::string & type_name, std::function< std::unique_ptr< Subgraph >()> factory)
void Register (const std::string & type_name, const CalculatorGraphConfig & config)
void Register (const std::string & type_name, const CalculatorGraphTemplate & templ)

Public Static Attributes Documentation

variable global_graph_registry

GraphRegistry mediapipe::GraphRegistry::global_graph_registry;

Public Functions Documentation

function CreateByName

absl::StatusOr< CalculatorGraphConfig > mediapipe::GraphRegistry::CreateByName (
    absl::string_view ns,
    absl::string_view type_name,
    SubgraphContext * context=nullptr
) const

function GraphRegistry [1/2]

mediapipe::GraphRegistry::GraphRegistry () 

function GraphRegistry [2/2]

mediapipe::GraphRegistry::GraphRegistry (
    FunctionRegistry< std::unique_ptr< Subgraph > > * factories
) 

function IsRegistered

bool mediapipe::GraphRegistry::IsRegistered (
    const std::string & ns,
    const std::string & type_name
) const

function Register [1/3]

void mediapipe::GraphRegistry::Register (
    const std::string & type_name,
    std::function< std::unique_ptr< Subgraph >()> factory
) 

function Register [2/3]

void mediapipe::GraphRegistry::Register (
    const std::string & type_name,
    const CalculatorGraphConfig & config
) 

function Register [3/3]

void mediapipe::GraphRegistry::Register (
    const std::string & type_name,
    const CalculatorGraphTemplate & templ
) 


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