Skip to content

Class mediapipe::CalculatorContext

ClassList > mediapipe > CalculatorContext

Public Functions

Type Name
CalculatorContext (CalculatorState * calculator_state, std::shared_ptr< tool::TagMap > input_tag_map, std::shared_ptr< tool::TagMap > output_tag_map)
CalculatorContext (const CalculatorContext &) = delete
const std::string & CalculatorType () const
Counter * GetCounter (const std::string & name)
CounterFactory * GetCounterFactory ()
ProfilingContext * GetProfilingContext () const
absl::Status GraphStatus () const
bool HasOptions () const
const PacketSet & InputSidePackets () const
Timestamp InputTimestamp () const
InputStreamShardSet & Inputs ()
const InputStreamShardSet & Inputs () const
int NodeId () const
const std::string & NodeName () const
const CalculatorOptions & Options () const
const T & Options () const
OutputSidePacketSet & OutputSidePackets ()
OutputStreamShardSet & Outputs ()
const OutputStreamShardSet & Outputs () const
ServiceBinding< T > Service (const GraphService< T > & service)
void SetOffset (TimestampDiff offset)
CalculatorContext & operator= (const CalculatorContext &) = delete

Public Functions Documentation

function CalculatorContext [1/2]

inline mediapipe::CalculatorContext::CalculatorContext (
    CalculatorState * calculator_state,
    std::shared_ptr< tool::TagMap > input_tag_map,
    std::shared_ptr< tool::TagMap > output_tag_map
) 

function CalculatorContext [2/2]

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

function CalculatorType

const std::string & mediapipe::CalculatorContext::CalculatorType () const

function GetCounter

Counter * mediapipe::CalculatorContext::GetCounter (
    const std::string & name
) 

function GetCounterFactory

CounterFactory * mediapipe::CalculatorContext::GetCounterFactory () 

function GetProfilingContext

inline ProfilingContext * mediapipe::CalculatorContext::GetProfilingContext () const

function GraphStatus

inline absl::Status mediapipe::CalculatorContext::GraphStatus () const

function HasOptions

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

function InputSidePackets

const PacketSet & mediapipe::CalculatorContext::InputSidePackets () const

function InputTimestamp

inline Timestamp mediapipe::CalculatorContext::InputTimestamp () const

function Inputs [1/2]

InputStreamShardSet & mediapipe::CalculatorContext::Inputs () 

function Inputs [2/2]

const InputStreamShardSet & mediapipe::CalculatorContext::Inputs () const

function NodeId

int mediapipe::CalculatorContext::NodeId () const

function NodeName

const std::string & mediapipe::CalculatorContext::NodeName () const

function Options [1/2]

const CalculatorOptions & mediapipe::CalculatorContext::Options () const

function Options [2/2]

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

function OutputSidePackets

OutputSidePacketSet & mediapipe::CalculatorContext::OutputSidePackets () 

function Outputs [1/2]

OutputStreamShardSet & mediapipe::CalculatorContext::Outputs () 

function Outputs [2/2]

const OutputStreamShardSet & mediapipe::CalculatorContext::Outputs () const

function Service

template<typename T>
inline ServiceBinding< T > mediapipe::CalculatorContext::Service (
    const GraphService< T > & service
) 

function SetOffset

void mediapipe::CalculatorContext::SetOffset (
    TimestampDiff offset
) 

function operator=

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


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