… | |
… | |
4 | <head> |
4 | <head> |
5 | <title>libev</title> |
5 | <title>libev</title> |
6 | <meta name="description" content="Pod documentation for libev" /> |
6 | <meta name="description" content="Pod documentation for libev" /> |
7 | <meta name="inputfile" content="<standard input>" /> |
7 | <meta name="inputfile" content="<standard input>" /> |
8 | <meta name="outputfile" content="<standard output>" /> |
8 | <meta name="outputfile" content="<standard output>" /> |
9 | <meta name="created" content="Fri Dec 7 21:13:07 2007" /> |
9 | <meta name="created" content="Fri Dec 7 21:19:14 2007" /> |
10 | <meta name="generator" content="Pod::Xhtml 1.57" /> |
10 | <meta name="generator" content="Pod::Xhtml 1.57" /> |
11 | <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> |
11 | <link rel="stylesheet" href="http://res.tst.eu/pod.css"/></head> |
12 | <body> |
12 | <body> |
13 | <div class="pod"> |
13 | <div class="pod"> |
14 | <!-- INDEX START --> |
14 | <!-- INDEX START --> |
… | |
… | |
1740 | </pre> |
1740 | </pre> |
1741 | <p>This automatically includes <cite>ev.h</cite> and puts all of its definitions (many |
1741 | <p>This automatically includes <cite>ev.h</cite> and puts all of its definitions (many |
1742 | of them macros) into the global namespace. All C++ specific things are |
1742 | of them macros) into the global namespace. All C++ specific things are |
1743 | put into the <code>ev</code> namespace. It should support all the same embedding |
1743 | put into the <code>ev</code> namespace. It should support all the same embedding |
1744 | options as <cite>ev.h</cite>, most notably <code>EV_MULTIPLICITY</code>.</p> |
1744 | options as <cite>ev.h</cite>, most notably <code>EV_MULTIPLICITY</code>.</p> |
1745 | <p>Care has been taken to keep the overhead low. The only data member added |
1745 | <p>Care has been taken to keep the overhead low. The only data member the C++ |
1746 | to the C-style watchers is the event loop the watcher is associated with |
1746 | classes add (compared to plain C-style watchers) is the event loop pointer |
1747 | (or no additional members at all if you disable <code>EV_MULTIPLICITY</code> when |
1747 | that the watcher is associated with (or no additional members at all if |
1748 | embedding libev).</p> |
1748 | you disable <code>EV_MULTIPLICITY</code> when embedding libev).</p> |
1749 | <p>Currently, functions and static and non-static member functions can be |
1749 | <p>Currently, functions, and static and non-static member functions can be |
1750 | used as callbacks. Other types should be easy to add as long as they only |
1750 | used as callbacks. Other types should be easy to add as long as they only |
1751 | need one additional pointer for context. If you need support for other |
1751 | need one additional pointer for context. If you need support for other |
1752 | types of functors please contact the author (preferably after implementing |
1752 | types of functors please contact the author (preferably after implementing |
1753 | it).</p> |
1753 | it).</p> |
1754 | <p>Here is a list of things available in the <code>ev</code> namespace:</p> |
1754 | <p>Here is a list of things available in the <code>ev</code> namespace:</p> |