libqi-api  2.0.6.8
Classes | Namespaces | Defines
/home/opennao/work/master/sdk/libqi/qi/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

namespace  qi
 

qi general namespace


Defines

#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.
#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.
#define _QI_COMMAND_LINE_OPTIONS(desc, opts)

Define Documentation

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines