Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Adam Osuchowski
Kea
Commits
e746e58a
Commit
e746e58a
authored
Jul 10, 2013
by
Michal 'vorner' Vaner
Browse files
[2861] Little bit of documentation
parent
bc251297
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/auth/datasrc_clients_mgr.h
View file @
e746e58a
...
...
@@ -94,14 +94,23 @@ typedef boost::function<void ()> FinishedCallback;
/// This just holds the data items together, no logic or protection
/// is present here.
struct
Command
{
/// \brief Constructor
///
/// It just initializes the member variables of the same names
/// as the parameters.
Command
(
CommandID
id
,
const
data
::
ConstElementPtr
&
params
,
const
FinishedCallback
&
callback
)
:
id
(
id
),
params
(
params
),
callback
(
callback
)
{}
/// \brief The command to execute
CommandID
id
;
/// \brief Argument of the command.
///
/// If the command takes no argument, it should be null pointer.
data
::
ConstElementPtr
params
;
/// \brief A callback to be called once the command finishes.
FinishedCallback
callback
;
};
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment