areaDetector  3-5-0
EPICS areaDetector framework
Macros | Enumerations | Functions | Variables
NodeMapInfo.cpp File Reference
#include "Spinnaker.h"
#include "SpinGenApi/SpinnakerGenApi.h"
#include <iostream>
#include <sstream>

Macros

#define MAX_CHARS   35
 

Enumerations

enum  readType { VALUE, INDIVIDUAL }
 

Functions

void indent (unsigned int level)
 
int printValueNode (CNodePtr node, unsigned int level)
 
int printStringNode (CNodePtr node, unsigned int level)
 
int printIntegerNode (CNodePtr node, unsigned int level)
 
int printFloatNode (CNodePtr node, unsigned int level)
 
int printBooleanNode (CNodePtr node, unsigned int level)
 
int printCommandNode (CNodePtr node, unsigned int level)
 
int printEnumerationNodeAndCurrentEntry (CNodePtr node, unsigned int level)
 
int printCategoryNodeAndAllFeatures (CNodePtr node, unsigned int level)
 
int RunSingleCamera (CameraPtr cam)
 
int main (int, char **)
 

Variables

const readType chosenRead = VALUE
 

Macro Definition Documentation

◆ MAX_CHARS

#define MAX_CHARS   35
@example NodeMapInfo.cpp

@brief NodeMapInfo.cpp shows how to retrieve node map information. It relies
on information provided in the Enumeration example. Also, check out the
Acquisition and ExceptionHandling examples if you haven't already.
Acquisition demonstrates image acquisition while ExceptionHandling shows the
handling of standard and Spinnaker exceptions.

This example explores retrieving information from all major node types on the
camera. This includes string, integer, float, boolean, command, enumeration,
category, and value types. Looping through multiple child nodes is also
covered. A few node types are not covered - base, port, and register - as
they are not fundamental. The final node type - enumeration entry - is
explored only in terms of its parent node type - enumeration.

Once comfortable with NodeMapInfo, we suggest checking out ImageFormatControl
and Exposure. ImageFormatControl explores customizing image settings on a

camera while Exposure introduces the standard structure of configuring a device, acquiring some images, and then returning the device to a default state.

Enumeration Type Documentation

◆ readType

enum readType
Enumerator
VALUE 
INDIVIDUAL 

Function Documentation

◆ indent()

void indent ( unsigned int  level)

◆ main()

int main ( int  ,
char **   
)

◆ printBooleanNode()

int printBooleanNode ( CNodePtr  node,
unsigned int  level 
)

◆ printCategoryNodeAndAllFeatures()

int printCategoryNodeAndAllFeatures ( CNodePtr  node,
unsigned int  level 
)

◆ printCommandNode()

int printCommandNode ( CNodePtr  node,
unsigned int  level 
)

◆ printEnumerationNodeAndCurrentEntry()

int printEnumerationNodeAndCurrentEntry ( CNodePtr  node,
unsigned int  level 
)

◆ printFloatNode()

int printFloatNode ( CNodePtr  node,
unsigned int  level 
)

◆ printIntegerNode()

int printIntegerNode ( CNodePtr  node,
unsigned int  level 
)

◆ printStringNode()

int printStringNode ( CNodePtr  node,
unsigned int  level 
)

◆ printValueNode()

int printValueNode ( CNodePtr  node,
unsigned int  level 
)

◆ RunSingleCamera()

int RunSingleCamera ( CameraPtr  cam)

Variable Documentation

◆ chosenRead

const readType chosenRead = VALUE