Skip to content

Class mediapipe::CalculatorState

ClassList > mediapipe > CalculatorState

Public Functions

Type Name
CalculatorState (const std::string & node_name, int node_id, const std::string & calculator_type, const CalculatorGraphConfig::Node & node_config, std::shared_ptr< ProfilingContext > profiling_context)
CalculatorState (const CalculatorState &) = delete
const std::string & CalculatorType () const
Counter * GetCounter (const std::string & name)
CounterFactory * GetCounterFactory ()
std::shared_ptr< T > GetServiceObject (const GraphService< T > & service)
std::shared_ptr< ProfilingContext > GetSharedProfilingContext () const
bool HasOptions () const
const PacketSet & InputSidePackets () const
const int & NodeId () const
const std::string & NodeName () const
const CalculatorOptions & Options () const
const T & Options () const
OutputSidePacketSet & OutputSidePackets ()
void ResetBetweenRuns ()
void SetCounterFactory (CounterFactory * counter_factory)
void SetInputSidePackets (const PacketSet * input_side_packets)
void SetOutputSidePackets (OutputSidePacketSet * output_side_packets)
absl::Status SetServicePacket (const GraphServiceBase & service, Packet packet)
CalculatorState & operator= (const CalculatorState &) = delete
~CalculatorState ()

Public Functions Documentation

function CalculatorState [1/2]

mediapipe::CalculatorState::CalculatorState (
    const std::string & node_name,
    int node_id,
    const std::string & calculator_type,
    const CalculatorGraphConfig::Node & node_config,
    std::shared_ptr< ProfilingContext > profiling_context
) 

function CalculatorState [2/2]

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

function CalculatorType

inline const std::string & mediapipe::CalculatorState::CalculatorType () const

function GetCounter

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

function GetCounterFactory

CounterFactory * mediapipe::CalculatorState::GetCounterFactory () 

function GetServiceObject

template<typename T>
inline std::shared_ptr< T > mediapipe::CalculatorState::GetServiceObject (
    const GraphService< T > & service
) 

function GetSharedProfilingContext

inline std::shared_ptr< ProfilingContext > mediapipe::CalculatorState::GetSharedProfilingContext () const

function HasOptions

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

function InputSidePackets

inline const PacketSet & mediapipe::CalculatorState::InputSidePackets () const

function NodeId

inline const int & mediapipe::CalculatorState::NodeId () const

function NodeName

inline const std::string & mediapipe::CalculatorState::NodeName () const

function Options [1/2]

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

function Options [2/2]

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

function OutputSidePackets

inline OutputSidePacketSet & mediapipe::CalculatorState::OutputSidePackets () 

function ResetBetweenRuns

void mediapipe::CalculatorState::ResetBetweenRuns () 

function SetCounterFactory

inline void mediapipe::CalculatorState::SetCounterFactory (
    CounterFactory * counter_factory
) 

function SetInputSidePackets

void mediapipe::CalculatorState::SetInputSidePackets (
    const PacketSet * input_side_packets
) 

function SetOutputSidePackets

void mediapipe::CalculatorState::SetOutputSidePackets (
    OutputSidePacketSet * output_side_packets
) 

function SetServicePacket

inline absl::Status mediapipe::CalculatorState::SetServicePacket (
    const GraphServiceBase & service,
    Packet packet
) 

function operator=

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

function ~CalculatorState

mediapipe::CalculatorState::~CalculatorState () 


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