Spinnaker SDK C++
4.2.0.21
 
 

 
Loading...
Searching...
No Matches
GigEVisionPerformance.cpp File Reference

Functions

void PrintUsage ()
 
bool ParseArguments (int argc, char *argv[])
 
void getCameraCategory (INodeMap &nodeMap, string categoryString)
 
void PrintDataStreamInfo (const Spinnaker::CameraPtr pCamera)
 
int AcquireImages (CameraPtr pCam, INodeMap &nodeMap, INodeMap &nodeMapGenTL, int numImagesToAcquire, int iteration)
 
int PrintDeviceInfo (INodeMap &nodeMap)
 
void PrintCPUUsage ()
 
void PrintAllNodes (CameraPtr pCam)
 
bool EnableManualFramerate (CameraPtr pCam)
 
bool SetFrameRate (CameraPtr pCam)
 
int RunSingleCamera (CameraPtr pCam)
 
int main (int argc, char *argv[])
 

Variables

CpuUtil::CpuUsageInfo cpuUsageInfo
 
int TestDuration = 0
 
char * PixelFormatToSet = nullptr
 
int PacketSizeToSet = 9000
 
int PacketDelayToSet = 0
 
bool IsRelease = false
 
bool UseDuration = false
 
bool UseMaxFramerate = false
 
float UserSetFramerate = 0.0
 
int NumImagesToGrab = 100
 
const char * argNumImages = "-numimages"
 
const char * argDuration = "-duration"
 
const char * argRelease = "-callrelease"
 
const char * argBayerRG = "-bayerrg"
 
const char * argPacketSize = "-packetsize"
 
const char * argPacketDelay = "-packetdelay"
 
const char * argMaxFrames = "-maxfps"
 
const char * argUserSetFrames = "-fps"
 
const char * argPrintUsage = "-?"
 

Function Documentation

◆ AcquireImages()

int AcquireImages ( CameraPtr  pCam,
INodeMap &  nodeMap,
INodeMap &  nodeMapGenTL,
int  numImagesToAcquire,
int  iteration 
)

◆ EnableManualFramerate()

bool EnableManualFramerate ( CameraPtr  pCam)

◆ getCameraCategory()

void getCameraCategory ( INodeMap &  nodeMap,
string  categoryString 
)

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ ParseArguments()

bool ParseArguments ( int  argc,
char *  argv[] 
)

◆ PrintAllNodes()

void PrintAllNodes ( CameraPtr  pCam)

◆ PrintCPUUsage()

void PrintCPUUsage ( )

◆ PrintDataStreamInfo()

void PrintDataStreamInfo ( const Spinnaker::CameraPtr  pCamera)

◆ PrintDeviceInfo()

int PrintDeviceInfo ( INodeMap &  nodeMap)

◆ PrintUsage()

void PrintUsage ( )

◆ RunSingleCamera()

int RunSingleCamera ( CameraPtr  pCam)

◆ SetFrameRate()

bool SetFrameRate ( CameraPtr  pCam)

Variable Documentation

◆ argBayerRG

const char* argBayerRG = "-bayerrg"

◆ argDuration

const char* argDuration = "-duration"

◆ argMaxFrames

const char* argMaxFrames = "-maxfps"

◆ argNumImages

const char* argNumImages = "-numimages"

◆ argPacketDelay

const char* argPacketDelay = "-packetdelay"

◆ argPacketSize

const char* argPacketSize = "-packetsize"

◆ argPrintUsage

const char* argPrintUsage = "-?"

◆ argRelease

const char* argRelease = "-callrelease"

◆ argUserSetFrames

const char* argUserSetFrames = "-fps"

◆ cpuUsageInfo

◆ IsRelease

bool IsRelease = false

◆ NumImagesToGrab

int NumImagesToGrab = 100

◆ PacketDelayToSet

int PacketDelayToSet = 0

◆ PacketSizeToSet

int PacketSizeToSet = 9000

◆ PixelFormatToSet

char* PixelFormatToSet = nullptr

◆ TestDuration

int TestDuration = 0

◆ UseDuration

bool UseDuration = false

◆ UseMaxFramerate

bool UseMaxFramerate = false

◆ UserSetFramerate

float UserSetFramerate = 0.0