TwiceAsNice  2019-02-18
Functions
AvtCamSetup.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <PvApi.h>
#include <PvRegIo.h>
Include dependency graph for AvtCamSetup.cc:

Functions

void ShowUsage ()
 
char * strtrim (char *aString)
 
bool String2Value (tPvHandle aCamera, const char *aLabel, tPvDatatype aType, char *aValue)
 
bool Value2String (tPvHandle aCamera, const char *aLabel, tPvDatatype aType, char *aString, unsigned long aLength)
 
void WriteAttribute (tPvHandle aCamera, const char *aLabel, FILE *aFile)
 
void ReadAttribute (tPvHandle aCamera, char *aLine)
 
bool SetupLoad (tPvHandle aCamera, const char *aFile)
 
bool SetupSave (tPvHandle aCamera, const char *aFile)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

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

◆ ReadAttribute()

void ReadAttribute ( tPvHandle  aCamera,
char *  aLine 
)

◆ SetupLoad()

bool SetupLoad ( tPvHandle  aCamera,
const char *  aFile 
)

◆ SetupSave()

bool SetupSave ( tPvHandle  aCamera,
const char *  aFile 
)

◆ ShowUsage()

void ShowUsage ( )

◆ String2Value()

bool String2Value ( tPvHandle  aCamera,
const char *  aLabel,
tPvDatatype  aType,
char *  aValue 
)

◆ strtrim()

char* strtrim ( char *  aString)

◆ Value2String()

bool Value2String ( tPvHandle  aCamera,
const char *  aLabel,
tPvDatatype  aType,
char *  aString,
unsigned long  aLength 
)

◆ WriteAttribute()

void WriteAttribute ( tPvHandle  aCamera,
const char *  aLabel,
FILE *  aFile 
)