libqi-api  2.1.4.13
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros
application.hpp File Reference
#include <boost/function.hpp>
#include <qi/api.hpp>
#include <vector>

Go to the source code of this file.

Classes

class  qi::Application
 Class handling startup and teardown of an application. More...
 

Namespaces

 qi
 qi general namespace
 

Macros

#define _QI_APPLICATION_HPP_
 
#define QI_AT_ENTER(func)   static bool QI_UNIQ_DEF(_qi_atenter) = ::qi::Application::atEnter(func);
 calls qi::Application::atEnter(func) at static initialization time. More...
 
#define QI_AT_EXIT(func)   static bool QI_UNIQ_DEF(_qi_atexit) = ::qi::Application::atExit(func);
 calls qi::Application::atExit(func) at static initialization time. More...
 
#define _QI_COMMAND_LINE_OPTIONS(desc, opts)
 

Macro Definition Documentation

#define _QI_APPLICATION_HPP_

Definition at line 9 of file application.hpp.

#define _QI_COMMAND_LINE_OPTIONS (   desc,
  opts 
)

Definition at line 66 of file application.hpp.

#define QI_AT_ENTER (   func)    static bool QI_UNIQ_DEF(_qi_atenter) = ::qi::Application::atEnter(func);

calls qi::Application::atEnter(func) at static initialization time.

Parameters
funcThe handler that must be called at enter.

Definition at line 49 of file application.hpp.

#define QI_AT_EXIT (   func)    static bool QI_UNIQ_DEF(_qi_atexit) = ::qi::Application::atExit(func);

calls qi::Application::atExit(func) at static initialization time.

Parameters
funcThe handler that must be called at exit.

Definition at line 52 of file application.hpp.