Logo
ApraPipes 1.0
Loading...
Searching...
No Matches
State Class Reference
Inheritance diagram for State:
Inheritance graph
Collaboration diagram for State:
Collaboration graph

Public Types

enum  StateType { IDLE = 0 , WAITING , EXPORT }
 
typedef std::map< uint64_t, frame_container > mQueueMap
 

Public Member Functions

 State ()
 
virtual ~State ()
 
virtual bool handleExport (uint64_t &queryStart, uint64_t &queryEnd, bool &timeReset, mQueueMap &mQueue, uint64_t &endTimeSaved)
 
virtual bool exportSend (frame_container &frames)
 
 State (StateType type_)
 

Public Attributes

float matrix [16]
 
float width
 
float height
 
float z
 
boost::shared_ptr< FramesQueuequeueObject
 
std::function< bool(frame_container &frames, bool forceBlockingPush)> send
 
std::function< std::string(int type)> getInputPinIdByType
 
bool isBFrameEnabled = true
 
bool isProcessCall = false
 
StateType Type = StateType::IDLE
 

Member Typedef Documentation

◆ mQueueMap

std::map<uint64_t, frame_container> State::mQueueMap

Member Enumeration Documentation

◆ StateType

Enumerator
IDLE 
WAITING 
EXPORT 

Constructor & Destructor Documentation

◆ State() [1/2]

State::State ( )
inline

◆ ~State()

virtual State::~State ( )
inlinevirtual

◆ State() [2/2]

State::State ( StateType type_)
inline

Member Function Documentation

◆ exportSend()

virtual bool State::exportSend ( frame_container & frames)
inlinevirtual

Reimplemented in ExportH264, and ExportJpeg.

◆ handleExport()

virtual bool State::handleExport ( uint64_t & queryStart,
uint64_t & queryEnd,
bool & timeReset,
mQueueMap & mQueue,
uint64_t & endTimeSaved )
inlinevirtual

Reimplemented in ExportH264, ExportJpeg, ExportQState, Idle, and Waiting.

Member Data Documentation

◆ getInputPinIdByType

std::function<std::string(int type)> State::getInputPinIdByType

◆ height

float State::height

◆ isBFrameEnabled

bool State::isBFrameEnabled = true

◆ isProcessCall

bool State::isProcessCall = false

◆ matrix

float State::matrix[16]

◆ queueObject

boost::shared_ptr<FramesQueue> State::queueObject

◆ send

std::function<bool(frame_container& frames, bool forceBlockingPush)> State::send

◆ Type

StateType State::Type = StateType::IDLE

◆ width

float State::width

◆ z

float State::z

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