Add some doxygen comments for signal
This commit is contained in:
parent
128d46d9ad
commit
41fb3e7b91
@ -39,8 +39,10 @@ class signal {
|
|||||||
{ m_children.reserve (16); }
|
{ m_children.reserve (16); }
|
||||||
|
|
||||||
/// Add a callback to list.
|
/// Add a callback to list.
|
||||||
void connect (callback_object _cb)
|
void connect (callback_object _cb)
|
||||||
{ m_children.push_back (_cb); }
|
{ m_children.push_back (_cb); }
|
||||||
|
|
||||||
|
/// Add a callback to the list.
|
||||||
void connect (callback_function _cb)
|
void connect (callback_function _cb)
|
||||||
{ m_children.push_back (_cb); }
|
{ m_children.push_back (_cb); }
|
||||||
|
|
||||||
@ -56,7 +58,7 @@ class signal {
|
|||||||
m_children.end ());
|
m_children.end ());
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
/// Remove all callbacks
|
/// Disconnect all callbacks
|
||||||
void clear (void)
|
void clear (void)
|
||||||
{ m_children.clear (); }
|
{ m_children.clear (); }
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user