#include "../rtt-config.h"
#include <os/startstop.h>
#include "os/MainThread.hpp"
#include "os/StartStopManager.hpp"
#include "../internal/GlobalEngine.hpp"
#include "../types/GlobalsRepository.hpp"
#include "../types/TypekitRepository.hpp"
#include <cstdio>
#include "../Logger.hpp"
#include "TimeService.hpp"
Go to the source code of this file.
Functions | |
int | __os_checkException (int &argc, char **argv) |
void | __os_exit (void) |
int | __os_init (int argc, char **argv) |
int | __os_main_argc (void) |
char ** | __os_main_argv (void) |
void | __os_printException (const char *prog, std::exception &arg) |
void | __os_printFailure (const char *prog) |
Variables | |
static os::StartStopManager * | initM |
const char * | oro_catchflag = "--nocatch" |
const char * | oro_catchflag2 = "--no-catch" |
static int | os_argc_arg |
static char ** | os_argv_arg |
int __os_checkException | ( | int & | , |
char ** | |||
) |
Internal: Check if the user requests disabling exception catching at run-time.
Definition at line 148 of file startstop.cpp.
void __os_exit | ( | void | ) |
Call this function from within main() after using the RTT services, just before returning. You do not need this when you use ORO_main().
Definition at line 164 of file startstop.cpp.
int __os_init | ( | int | argc, |
char ** | argv | ||
) |
Call this function from within main() before using the RTT services. You do not need this when you use ORO_main().
Definition at line 76 of file startstop.cpp.
int __os_main_argc | ( | void | ) |
Call this function to find out how many arguments were passed to the process' main() function.
Definition at line 111 of file startstop.cpp.
char** __os_main_argv | ( | void | ) |
Call this function to get the list of arguments of this process' main() function.
Definition at line 114 of file startstop.cpp.
void __os_printException | ( | const char * | prog, |
std::exception & | arg | ||
) |
Internal: Inform the user that a failure occured.
Definition at line 137 of file startstop.cpp.
void __os_printFailure | ( | const char * | prog | ) |
Internal: Inform the user that a failure occured.
Definition at line 118 of file startstop.cpp.
os::StartStopManager* initM [static] |
Definition at line 71 of file startstop.cpp.
const char* oro_catchflag = "--nocatch" |
Definition at line 145 of file startstop.cpp.
const char* oro_catchflag2 = "--no-catch" |
Definition at line 146 of file startstop.cpp.
int os_argc_arg [static] |
Definition at line 73 of file startstop.cpp.
char** os_argv_arg [static] |
Definition at line 74 of file startstop.cpp.