#include <functional>
#include <boost/program_options.hpp>
#include <vector>
#include <string>
#include <qi/api.hpp>
Go to the source code of this file.
|
| qi |
| Deprecated in 2.5. Use int8_t from <cstdint>.
|
|
#define _QI_APPLICATION_HPP_ |
#define _QI_COMMAND_LINE_OPTIONS |
( |
|
desc, |
|
|
|
opts |
|
) |
| |
Value:
namespace po = boost::program_options; \
po::options_description options(desc); \
{ \
using namespace boost::program_options; \
options.add_options() opts; \
static boost::program_options::options_description & options()
Get the registered global program options.
#define QI_UNIQ_DEF(A)
A macro to append the line number of the parent macro usage, to define a function in or a variable an...
#define QI_AT_ENTER(func)
calls qi::Application::atEnter(func) at static initialization time.
std::enable_if< std::is_function< RF >::value, boost::function< RF > >::type bind(AF &&fun, Arg0 &&arg0, Args &&...args)
Definition at line 273 of file application.hpp.
calls qi::Application::atEnter(func) at static initialization time.
- Parameters
-
func | The handler that must be called at enter. |
Definition at line 251 of file application.hpp.
calls qi::Application::atExit(func) at static initialization time.
- Parameters
-
func | The handler that must be called at exit. |
Definition at line 259 of file application.hpp.