Classes | Macros | Functions | Variables
LaneDetectorOpt.cpp File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "getopt.h"
#include "LaneDetectorOpt.h"
Include dependency graph for LaneDetectorOpt.cpp:

Go to the source code of this file.

Classes

struct  line_list
 

Macros

#define ADDITIONAL_ERROR   " in configuration file "
 
#define CONFIG_FILE_LINE_BUFFER_SIZE   (CONFIG_FILE_LINE_SIZE+3)
 
#define CONFIG_FILE_LINE_SIZE   2048
 

Functions

static void clear_args (struct LaneDetectorParserInfo *args_info)
 
static void clear_given (struct LaneDetectorParserInfo *args_info)
 
static void free_cmd_list (void)
 
static char * gengetopt_strdup (const char *s)
 
static void init_args_info (struct LaneDetectorParserInfo *args_info)
 
int LaneDetectorParser (int argc, char *const *argv, struct LaneDetectorParserInfo *args_info)
 
int LaneDetectorParser2 (int argc, char *const *argv, struct LaneDetectorParserInfo *args_info, int override, int initialize, int check_required)
 
int LaneDetectorParser_configfile (char *const filename, struct LaneDetectorParserInfo *args_info, int override, int initialize, int check_required)
 
int LaneDetectorParser_file_save (const char *filename, struct LaneDetectorParserInfo *args_info)
 
void LaneDetectorParser_free (struct LaneDetectorParserInfo *args_info)
 
void LaneDetectorParser_init (struct LaneDetectorParserInfo *args_info)
 
static int LaneDetectorParser_internal (int argc, char *const *argv, struct LaneDetectorParserInfo *args_info, int override, int initialize, int check_required, const char *additional_error)
 
void LaneDetectorParser_print_help (void)
 
void LaneDetectorParser_print_version (void)
 
static void LaneDetectorParser_release (struct LaneDetectorParserInfo *args_info)
 
int LaneDetectorParser_required (struct LaneDetectorParserInfo *args_info, const char *prog_name)
 
static int LaneDetectorParser_required2 (struct LaneDetectorParserInfo *args_info, const char *prog_name, const char *additional_error)
 

Variables

static struct line_listcmd_line_list = 0
 
static struct line_listcmd_line_list_tmp = 0
 
const char * LaneDetectorParserInfo_help []
 
const char * LaneDetectorParserInfo_purpose = ""
 
const char * LaneDetectorParserInfo_usage = "Usage: LaneDetector [OPTIONS]..."
 
char my1_argv [CONFIG_FILE_LINE_BUFFER_SIZE+1]
 

Macro Definition Documentation

#define ADDITIONAL_ERROR   " in configuration file "

Definition at line 5135 of file LaneDetectorOpt.cpp.

#define CONFIG_FILE_LINE_BUFFER_SIZE   (CONFIG_FILE_LINE_SIZE+3)

Definition at line 5137 of file LaneDetectorOpt.cpp.

#define CONFIG_FILE_LINE_SIZE   2048

Definition at line 5133 of file LaneDetectorOpt.cpp.

Function Documentation

static void clear_args ( struct LaneDetectorParserInfo args_info)
static

Definition at line 324 of file LaneDetectorOpt.cpp.

static void clear_given ( struct LaneDetectorParserInfo args_info)
static

Definition at line 208 of file LaneDetectorOpt.cpp.

static void free_cmd_list ( void  )
static

Definition at line 189 of file LaneDetectorOpt.cpp.

char * gengetopt_strdup ( const char *  s)
static

Definition at line 1936 of file LaneDetectorOpt.cpp.

static void init_args_info ( struct LaneDetectorParserInfo args_info)
static

Definition at line 439 of file LaneDetectorOpt.cpp.

int LaneDetectorParser ( int  argc,
char *const *  argv,
struct LaneDetectorParserInfo args_info 
)

Definition at line 1950 of file LaneDetectorOpt.cpp.

int LaneDetectorParser2 ( int  argc,
char *const *  argv,
struct LaneDetectorParserInfo args_info,
int  override,
int  initialize,
int  check_required 
)

Definition at line 1956 of file LaneDetectorOpt.cpp.

int LaneDetectorParser_configfile ( char *const  filename,
struct LaneDetectorParserInfo args_info,
int  override,
int  initialize,
int  check_required 
)

Definition at line 5143 of file LaneDetectorOpt.cpp.

int LaneDetectorParser_file_save ( const char *  filename,
struct LaneDetectorParserInfo args_info 
)

Definition at line 1137 of file LaneDetectorOpt.cpp.

void LaneDetectorParser_free ( struct LaneDetectorParserInfo args_info)

Definition at line 1927 of file LaneDetectorOpt.cpp.

void LaneDetectorParser_init ( struct LaneDetectorParserInfo args_info)

Definition at line 576 of file LaneDetectorOpt.cpp.

int LaneDetectorParser_internal ( int  argc,
char *const *  argv,
struct LaneDetectorParserInfo args_info,
int  override,
int  initialize,
int  check_required,
const char *  additional_error 
)
static

Definition at line 2655 of file LaneDetectorOpt.cpp.

void LaneDetectorParser_print_help ( void  )

Definition at line 562 of file LaneDetectorOpt.cpp.

void LaneDetectorParser_print_version ( void  )

Definition at line 556 of file LaneDetectorOpt.cpp.

static void LaneDetectorParser_release ( struct LaneDetectorParserInfo args_info)
static

Definition at line 584 of file LaneDetectorOpt.cpp.

int LaneDetectorParser_required ( struct LaneDetectorParserInfo args_info,
const char *  prog_name 
)

Definition at line 1972 of file LaneDetectorOpt.cpp.

int LaneDetectorParser_required2 ( struct LaneDetectorParserInfo args_info,
const char *  prog_name,
const char *  additional_error 
)
static

Definition at line 1989 of file LaneDetectorOpt.cpp.

Variable Documentation

struct line_list* cmd_line_list = 0
static

Definition at line 185 of file LaneDetectorOpt.cpp.

struct line_list* cmd_line_list_tmp = 0
static

Definition at line 186 of file LaneDetectorOpt.cpp.

const char* LaneDetectorParserInfo_help[]

Definition at line 54 of file LaneDetectorOpt.cpp.

const char* LaneDetectorParserInfo_purpose = ""

Definition at line 50 of file LaneDetectorOpt.cpp.

const char* LaneDetectorParserInfo_usage = "Usage: LaneDetector [OPTIONS]..."

Definition at line 52 of file LaneDetectorOpt.cpp.

char my1_argv[CONFIG_FILE_LINE_BUFFER_SIZE+1]

Definition at line 5140 of file LaneDetectorOpt.cpp.



caltech_lanes
Author(s): Ricardo Morais
autogenerated on Mon Mar 2 2015 01:31:31