Skip to content

Class mediapipe::CalculatorContract

ClassList > mediapipe > CalculatorContract

Classes

Type Name
class GraphServiceRequest

Public Types

Type Name
typedef absl::flat_hash_map< absl::string_view, GraphServiceRequest > ServiceReqMap

Public Functions

Type Name
std::string GetInputStreamHandler () const
MediaPipeOptions GetInputStreamHandlerOptions () const
const std::string & GetNodeName () const
bool GetProcessTimestampBounds () const
TimestampDiff GetTimestampOffset () const
bool HasOptions () const
absl::Status Initialize (const CalculatorGraphConfig::Node & node)
absl::Status Initialize (const PacketGeneratorConfig & node, const std::string & package)
absl::Status Initialize (const StatusHandlerConfig & node)
PacketTypeSet & InputSidePackets ()
const PacketTypeSet & InputSidePackets () const
PacketTypeSet & Inputs ()
const PacketTypeSet & Inputs () const
const CalculatorOptions & Options () const
const T & Options () const
PacketTypeSet & OutputSidePackets ()
const PacketTypeSet & OutputSidePackets () const
PacketTypeSet & Outputs ()
const PacketTypeSet & Outputs () const
const ServiceReqMap & ServiceRequests () const
void SetInputStreamHandler (const std::string & name)
void SetInputStreamHandlerOptions (const MediaPipeOptions & options)
void SetNodeName (const std::string & node_name)
void SetProcessTimestampBounds (bool process_timestamps)
void SetTimestampOffset (TimestampDiff offset)
GraphServiceRequest & UseService (const GraphServiceBase & service)

Public Types Documentation

typedef ServiceReqMap

using mediapipe::CalculatorContract::ServiceReqMap =  absl::flat_hash_map<absl::string_view, GraphServiceRequest>;

Public Functions Documentation

function GetInputStreamHandler

inline std::string mediapipe::CalculatorContract::GetInputStreamHandler () const

function GetInputStreamHandlerOptions

inline MediaPipeOptions mediapipe::CalculatorContract::GetInputStreamHandlerOptions () const

function GetNodeName

inline const std::string & mediapipe::CalculatorContract::GetNodeName () const

function GetProcessTimestampBounds

inline bool mediapipe::CalculatorContract::GetProcessTimestampBounds () const

function GetTimestampOffset

inline TimestampDiff mediapipe::CalculatorContract::GetTimestampOffset () const

function HasOptions

template<class T>
inline bool mediapipe::CalculatorContract::HasOptions () const

function Initialize [1/3]

absl::Status mediapipe::CalculatorContract::Initialize (
    const CalculatorGraphConfig::Node & node
) 

function Initialize [2/3]

absl::Status mediapipe::CalculatorContract::Initialize (
    const PacketGeneratorConfig & node,
    const std::string & package
) 

function Initialize [3/3]

absl::Status mediapipe::CalculatorContract::Initialize (
    const StatusHandlerConfig & node
) 

function InputSidePackets [1/2]

inline PacketTypeSet & mediapipe::CalculatorContract::InputSidePackets () 

function InputSidePackets [2/2]

inline const PacketTypeSet & mediapipe::CalculatorContract::InputSidePackets () const

function Inputs [1/2]

inline PacketTypeSet & mediapipe::CalculatorContract::Inputs () 

function Inputs [2/2]

inline const PacketTypeSet & mediapipe::CalculatorContract::Inputs () const

function Options [1/2]

inline const CalculatorOptions & mediapipe::CalculatorContract::Options () const

function Options [2/2]

template<class T>
inline const T & mediapipe::CalculatorContract::Options () const

function OutputSidePackets [1/2]

inline PacketTypeSet & mediapipe::CalculatorContract::OutputSidePackets () 

function OutputSidePackets [2/2]

inline const PacketTypeSet & mediapipe::CalculatorContract::OutputSidePackets () const

function Outputs [1/2]

inline PacketTypeSet & mediapipe::CalculatorContract::Outputs () 

function Outputs [2/2]

inline const PacketTypeSet & mediapipe::CalculatorContract::Outputs () const

function ServiceRequests

inline const ServiceReqMap & mediapipe::CalculatorContract::ServiceRequests () const

function SetInputStreamHandler

inline void mediapipe::CalculatorContract::SetInputStreamHandler (
    const std::string & name
) 

function SetInputStreamHandlerOptions

inline void mediapipe::CalculatorContract::SetInputStreamHandlerOptions (
    const MediaPipeOptions & options
) 

function SetNodeName

inline void mediapipe::CalculatorContract::SetNodeName (
    const std::string & node_name
) 

function SetProcessTimestampBounds

inline void mediapipe::CalculatorContract::SetProcessTimestampBounds (
    bool process_timestamps
) 

function SetTimestampOffset

inline void mediapipe::CalculatorContract::SetTimestampOffset (
    TimestampDiff offset
) 

function UseService

inline GraphServiceRequest & mediapipe::CalculatorContract::UseService (
    const GraphServiceBase & service
) 


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