Class mediapipe::internal::GraphOutputStream
ClassList > mediapipe > internal > GraphOutputStream
Inherited by the following classes: mediapipe::internal::OutputStreamObserver, mediapipe::internal::OutputStreamPollerImpl
Public Functions
Type | Name |
---|---|
absl::Status | Initialize (const std::string & stream_name, const PacketType * packet_type, OutputStreamManager * output_stream_manager, bool observe_timestamp_bounds=false) |
virtual absl::Status | Notify () = 0 |
virtual void | NotifyError () = 0 |
virtual void | PrepareForRun (std::function< void()> notification_callback, std::function< void(absl::Status)> error_callback) |
InputStreamManager * | input_stream () |
virtual | ~GraphOutputStream () |
Protected Attributes
Type | Name |
---|---|
std::unique_ptr< InputStreamManager > | input_stream_ |
std::unique_ptr< InputStreamHandler > | input_stream_handler_ |
Timestamp | last_processed_ts_ = Timestamp::Unstarted() |
absl::Mutex | mutex_ |
bool | observe_timestamp_bounds_ |
Protected Functions
Type | Name |
---|---|
bool notifying_ | ABSL_GUARDED_BY (mutex_) |
Public Functions Documentation
function Initialize
absl::Status mediapipe::internal::GraphOutputStream::Initialize (
const std::string & stream_name,
const PacketType * packet_type,
OutputStreamManager * output_stream_manager,
bool observe_timestamp_bounds=false
)
function Notify
virtual absl::Status mediapipe::internal::GraphOutputStream::Notify () = 0
function NotifyError
virtual void mediapipe::internal::GraphOutputStream::NotifyError () = 0
function PrepareForRun
virtual void mediapipe::internal::GraphOutputStream::PrepareForRun (
std::function< void()> notification_callback,
std::function< void(absl::Status)> error_callback
)
function input_stream
inline InputStreamManager * mediapipe::internal::GraphOutputStream::input_stream ()
function ~GraphOutputStream
inline virtual mediapipe::internal::GraphOutputStream::~GraphOutputStream ()
Protected Attributes Documentation
variable input_stream_
std::unique_ptr<InputStreamManager> mediapipe::internal::GraphOutputStream::input_stream_;
variable input_stream_handler_
std::unique_ptr<InputStreamHandler> mediapipe::internal::GraphOutputStream::input_stream_handler_;
variable last_processed_ts_
Timestamp mediapipe::internal::GraphOutputStream::last_processed_ts_;
variable mutex_
absl::Mutex mediapipe::internal::GraphOutputStream::mutex_;
variable observe_timestamp_bounds_
bool mediapipe::internal::GraphOutputStream::observe_timestamp_bounds_;
Protected Functions Documentation
function ABSL_GUARDED_BY
bool notifying_ mediapipe::internal::GraphOutputStream::ABSL_GUARDED_BY (
mutex_
)
The documentation for this class was generated from the following file /home/friedel/devel/ILLIXR-plugins/hand_tracking/mediapipe/framework/graph_output_stream.h