Skip to content

Class mediapipe::ValidatedGraphConfig

ClassList > mediapipe > ValidatedGraphConfig

Public Functions

Type Name
const std::vector< NodeTypeInfo > & CalculatorInfos () const
absl::Status CanAcceptSidePackets (const std::map< std::string, T > & side_packets) const
const CalculatorGraphConfig & Config () const
const std::vector< NodeTypeInfo > & GeneratorInfos () const
absl::Status Initialize (CalculatorGraphConfig input_config, const GraphRegistry * graph_registry=nullptr, const Subgraph::SubgraphOptions * graph_options=nullptr, const GraphServiceManager * service_manager=nullptr)
absl::Status Initialize (const std::string & graph_type, const GraphRegistry * graph_registry=nullptr, const Subgraph::SubgraphOptions * graph_options=nullptr, const GraphServiceManager * service_manager=nullptr)
absl::Status Initialize (const std::vector< CalculatorGraphConfig > & input_configs, const std::vector< CalculatorGraphTemplate > & input_templates, const std::string & graph_type="", const Subgraph::SubgraphOptions * graph_options=nullptr, const GraphServiceManager * service_manager=nullptr)
bool Initialized () const
const std::vector< EdgeInfo > & InputSidePacketInfos () const
const std::vector< EdgeInfo > & InputStreamInfos () const
bool IsExternalSidePacket (const std::string & name) const
int OutputSidePacketIndex (const std::string & name) const
const std::vector< EdgeInfo > & OutputSidePacketInfos () const
int OutputStreamIndex (const std::string & name) const
const std::vector< EdgeInfo > & OutputStreamInfos () const
std::vector< int > OutputStreamToConsumers (int idx) const
int OutputStreamToNode (const std::string & name) const
std::string Package () const
absl::StatusOr< std::string > RegisteredSidePacketTypeName (const std::string & name)
absl::StatusOr< std::string > RegisteredStreamTypeName (const std::string & name)
const std::vector< NodeTypeInfo > & StatusHandlerInfos () const
absl::Status ValidateRequiredSidePacketTypes (const std::map< std::string, PacketType > & side_packet_types) const
absl::Status ValidateRequiredSidePackets (const std::map< std::string, Packet > & side_packets) const

Public Static Functions

Type Name
bool IsReservedExecutorName (const std::string & name)

Public Functions Documentation

function CalculatorInfos

inline const std::vector< NodeTypeInfo > & mediapipe::ValidatedGraphConfig::CalculatorInfos () const

function CanAcceptSidePackets

template<typename T>
absl::Status mediapipe::ValidatedGraphConfig::CanAcceptSidePackets (
    const std::map< std::string, T > & side_packets
) const

function Config

inline const CalculatorGraphConfig & mediapipe::ValidatedGraphConfig::Config () const

function GeneratorInfos

inline const std::vector< NodeTypeInfo > & mediapipe::ValidatedGraphConfig::GeneratorInfos () const

function Initialize [1/3]

absl::Status mediapipe::ValidatedGraphConfig::Initialize (
    CalculatorGraphConfig input_config,
    const GraphRegistry * graph_registry=nullptr,
    const Subgraph::SubgraphOptions * graph_options=nullptr,
    const GraphServiceManager * service_manager=nullptr
) 

function Initialize [2/3]

absl::Status mediapipe::ValidatedGraphConfig::Initialize (
    const std::string & graph_type,
    const GraphRegistry * graph_registry=nullptr,
    const Subgraph::SubgraphOptions * graph_options=nullptr,
    const GraphServiceManager * service_manager=nullptr
) 

function Initialize [3/3]

absl::Status mediapipe::ValidatedGraphConfig::Initialize (
    const std::vector< CalculatorGraphConfig > & input_configs,
    const std::vector< CalculatorGraphTemplate > & input_templates,
    const std::string & graph_type="",
    const Subgraph::SubgraphOptions * graph_options=nullptr,
    const GraphServiceManager * service_manager=nullptr
) 

function Initialized

inline bool mediapipe::ValidatedGraphConfig::Initialized () const

function InputSidePacketInfos

inline const std::vector< EdgeInfo > & mediapipe::ValidatedGraphConfig::InputSidePacketInfos () const

function InputStreamInfos

inline const std::vector< EdgeInfo > & mediapipe::ValidatedGraphConfig::InputStreamInfos () const

function IsExternalSidePacket

inline bool mediapipe::ValidatedGraphConfig::IsExternalSidePacket (
    const std::string & name
) const

function OutputSidePacketIndex

inline int mediapipe::ValidatedGraphConfig::OutputSidePacketIndex (
    const std::string & name
) const

function OutputSidePacketInfos

inline const std::vector< EdgeInfo > & mediapipe::ValidatedGraphConfig::OutputSidePacketInfos () const

function OutputStreamIndex

inline int mediapipe::ValidatedGraphConfig::OutputStreamIndex (
    const std::string & name
) const

function OutputStreamInfos

inline const std::vector< EdgeInfo > & mediapipe::ValidatedGraphConfig::OutputStreamInfos () const

function OutputStreamToConsumers

inline std::vector< int > mediapipe::ValidatedGraphConfig::OutputStreamToConsumers (
    int idx
) const

function OutputStreamToNode

inline int mediapipe::ValidatedGraphConfig::OutputStreamToNode (
    const std::string & name
) const

function Package

inline std::string mediapipe::ValidatedGraphConfig::Package () const

function RegisteredSidePacketTypeName

absl::StatusOr< std::string > mediapipe::ValidatedGraphConfig::RegisteredSidePacketTypeName (
    const std::string & name
) 

function RegisteredStreamTypeName

absl::StatusOr< std::string > mediapipe::ValidatedGraphConfig::RegisteredStreamTypeName (
    const std::string & name
) 

function StatusHandlerInfos

inline const std::vector< NodeTypeInfo > & mediapipe::ValidatedGraphConfig::StatusHandlerInfos () const

function ValidateRequiredSidePacketTypes

absl::Status mediapipe::ValidatedGraphConfig::ValidateRequiredSidePacketTypes (
    const std::map< std::string, PacketType > & side_packet_types
) const

function ValidateRequiredSidePackets

absl::Status mediapipe::ValidatedGraphConfig::ValidateRequiredSidePackets (
    const std::map< std::string, Packet > & side_packets
) const

Public Static Functions Documentation

function IsReservedExecutorName

static bool mediapipe::ValidatedGraphConfig::IsReservedExecutorName (
    const std::string & name
) 


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