Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
senf
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
wiback
senf
Commits
8b253cff
Commit
8b253cff
authored
17 years ago
by
g0dil
Browse files
Options
Downloads
Patches
Plain Diff
Scheduler: Added EventId documentation
parent
302f6e26
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Scheduler/Scheduler.hh
+17
-5
17 additions, 5 deletions
Scheduler/Scheduler.hh
doclib/Doxyfile.global
+4
-1
4 additions, 1 deletion
doclib/Doxyfile.global
with
21 additions
and
6 deletions
Scheduler/Scheduler.hh
+
17
−
5
View file @
8b253cff
...
...
@@ -167,11 +167,23 @@ namespace senf {
///////////////////////////////////////////////////////////////////////////
// Types
/** \brief Types of file descriptor events */
enum
EventId
{
EV_NONE
=
0
,
EV_READ
=
1
,
EV_PRIO
=
2
,
EV_WRITE
=
4
,
EV_ALL
=
7
,
EV_HUP
=
8
,
EV_ERR
=
16
};
/** \brief Types of file descriptor events
These events are grouped into to classes:
\li Ordinary file descriptor events for which handlers may be registered. These are
EV_READ, EV_PRIO and EV_WRITE. EV_ALL is a combination of these three.
\li Error flags. These additional flags may be passed to a handler to pass an error
condition to the handler.
*/
enum
EventId
{
EV_NONE
=
0
/**< No event */
,
EV_READ
=
1
/**< File descriptor is readable */
,
EV_PRIO
=
2
/**< File descriptor has OOB data */
,
EV_WRITE
=
4
/**< File descriptor is writable */
,
EV_ALL
=
7
/**< Used to register all events at once (read/prio/write) */
,
EV_HUP
=
8
/**< Hangup condition on file handle */
,
EV_ERR
=
16
/**< Error condition on file handle */
};
/** \brief Template typedef for Callback type
...
...
This diff is collapsed.
Click to expand it.
doclib/Doxyfile.global
+
4
−
1
View file @
8b253cff
...
...
@@ -60,7 +60,10 @@ PREDEFINED = \
"SENF_PARSER_LIST_N(name,elt_type,size_type)=senf::Parse_ListN<elt_type,size_type>::parser name() const" \
"SENF_PARSER_VARIANT(name,chooser,types)=senf::Parse_Variant_Direct<chooser ## _t,?,types>::parser name() const" \
"SENF_PARSER_PRIVATE_VARIANT(name,chooser,types)=private: senf::Parse_Variant_Direct<chooser ## _t,?,types>::parser name() const; public:" \
"SENF_PARSER_VEC_N(name,elt_type,size_type)=senf::Parse_VectorN<elt_type,size_type> name() const"
"SENF_PARSER_VEC_N(name,elt_type,size_type)=senf::Parse_VectorN<elt_type,size_type> name() const" \
"SENF_LOG_CLASS_AREA()=" \
"SENF_LOG_DEFAULT_AREA(area)=" \
"SENF_LOG_DEFAULT_STREAM(stream)="
EXPAND_AS_DEFINED = prefix_ SENF_LOG_DEF_STREAM SENF_LOG_DEF_AREA SENF_LOG_DEF_AREA_I
HTML_HEADER = "$(TOPDIR)/doclib/doxy-header.html"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment