#include <cassert>
#include <sstream>
#include <fstream>
#include <vector>
#include <list>
#include <string>
#include <boost/program_options.hpp>
#include <stdair/stdair_basic_types.hpp>
#include <stdair/basic/ProgressStatusSet.hpp>
#include <stdair/bom/EventStruct.hpp>
#include <stdair/bom/BomDisplay.hpp>
#include <stdair/service/Logger.hpp>
#include <stdair/bom/BookingRequestStruct.hpp>
#include <stdair/bom/BookingRequestTypes.hpp>
#include <sevmgr/SEVMGR_Service.hpp>
#include <sevmgr/config/sevmgr-paths.hpp>
Go to the source code of this file.
Functions | |
const stdair::Filename_T | K_SEVMGR_DEFAULT_LOG_FILENAME ("sevmgr_demo.log") |
int | readConfiguration (int argc, char *argv[], stdair::Filename_T &ioLogFilename) |
int | main (int argc, char *argv[]) |
Variables | |
const int | K_SEVMGR_EARLY_RETURN_STATUS = 99 |
const stdair::Filename_T K_SEVMGR_DEFAULT_LOG_FILENAME | ( | "sevmgr_demo.log" | ) |
Default name and location for the log file.
Referenced by readConfiguration().
int readConfiguration | ( | int | argc, |
char * | argv[], | ||
stdair::Filename_T & | ioLogFilename | ||
) |
Read and parse the command line options.
Definition at line 37 of file sevmgr_demo.cpp.
References K_SEVMGR_DEFAULT_LOG_FILENAME(), K_SEVMGR_EARLY_RETURN_STATUS, PACKAGE_NAME, PACKAGE_VERSION, and PREFIXDIR.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 111 of file sevmgr_demo.cpp.
References SEVMGR::SEVMGR_Service::buildSampleQueue(), SEVMGR::SEVMGR_Service::isQueueDone(), K_SEVMGR_EARLY_RETURN_STATUS, SEVMGR::SEVMGR_Service::popEvent(), and readConfiguration().
const int K_SEVMGR_EARLY_RETURN_STATUS = 99 |
Early return status (so that it can be differentiated from an error).
Definition at line 32 of file sevmgr_demo.cpp.
Referenced by main(), and readConfiguration().