LoopFrames

Top  Previous  Next

Name Space Hierarchy

C++

UtilPipeline::LoopFrames

C#

UtilMPipeline.LoopFrames

Syntax

C++

bool LoopFrames(void);

C#

bool LoopFrames();

Parameters

 

None

 

Description


This LoopFrames function is a convenience function corresponding to the following pseudo code:

 if (!Init()) return false;

 for (;;) {

         // some device hot-plug code omitted.

         if (!AcquireFrame(true)) break;

         if (!ReleaseFrame()) break;

 }

 Close();

 return true;

 

Return Status

 

true

The function returned successfully.

 

false

The function failed to set up or process the pipeline.