Tool Libs
UMIT-TIROL Institute of Automation and Control Engineering library collection
 
Loading...
Searching...
No Matches
Min::In Class Reference

incoming Min stream More...

#include <min.h>

Inherits Source< Frame >.

Collaboration diagram for Min::In:
[legend]

Public Member Functions

 In (Source< Buffer< uint8_t > > &from)
 unwrap given Buffer stream into Frame
 
bool empty () override
 check if Frame available
 
Frame pop () override
 get available Frame
 

Detailed Description

incoming Min stream

check data availability from underlying Buffer stream with empty() then pop() and use data

while (!in.empty()) {
Frame f = in.pop();
...
}
Frame pop() override
get available Frame
Definition min.h:186
bool empty() override
check if Frame available
Definition min.h:173
pyWisp communication frame
Definition frameregistry.h:10
In in
incoming Frame stream
Definition min.h:262

Member Function Documentation

◆ pop()

Frame Min::In::pop ( )
inlineoverridevirtual

get available Frame

always guard by if(! empty())

Implements Source< Frame >.


The documentation for this class was generated from the following file: