$search

startstop.h File Reference

#include "../rtt-config.h"
#include <exception>
Include dependency graph for startstop.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

RTT_API int __os_checkException (int &, char **)
RTT_API void __os_exit (void)
RTT_API int __os_init (int argc, char **argv)
RTT_API int __os_main_argc (void)
RTT_API char ** __os_main_argv (void)
RTT_API void __os_printException (const char *prog, std::exception &arg)
RTT_API void __os_printFailure (const char *prog)

Detailed Description

Prototype definitions of common os init/exit calls.

Definition in file startstop.h.


Function Documentation

RTT_API int __os_checkException ( int &  ,
char **   
)

Internal: Check if the user requests disabling exception catching at run-time.

See also:
ORO_main

Definition at line 148 of file startstop.cpp.

RTT_API 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.

RTT_API 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.

RTT_API 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.

RTT_API 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.

RTT_API void __os_printException ( const char *  prog,
std::exception &  arg 
)

Internal: Inform the user that a failure occured.

See also:
ORO_main

Definition at line 137 of file startstop.cpp.

RTT_API void __os_printFailure ( const char *  prog  ) 

Internal: Inform the user that a failure occured.

See also:
ORO_main

Definition at line 118 of file startstop.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


rtt
Author(s): RTT Developers
autogenerated on Fri Mar 1 16:26:54 2013