ROSE 0.11.145.147
Public Member Functions | List of all members
Sawyer::Callbacks< Callback > Class Template Reference

Description

template<class Callback>
class Sawyer::Callbacks< Callback >

Definition at line 19 of file Callbacks.h.

Inheritance diagram for Sawyer::Callbacks< Callback >:
Inheritance graph
[legend]

Public Member Functions

bool isEmpty () const
 
bool operator== (const Callbacks &other)
 
Callbacksappend (const Callback &callback)
 
Callbacksappend (const Callbacks &other)
 
Callbacksprepend (const Callback &callback)
 
Callback & prepend (const Callbacks &other)
 
CallbackseraseFirst (const Callback &callback)
 
CallbackseraseLast (const Callback &callback)
 
CallbackseraseMatching (const Callback &callback)
 
template<class CB , class Args >
bool applyCallback (CB *callback, bool chained, Args &args) const
 
template<class CB , class Args >
bool applyCallback (const SharedPointer< CB > &callback, bool chained, Args &args) const
 
template<class CB , class Args >
bool applyCallback (CB &callback, bool chained, Args &args) const
 
template<class Arguments >
bool apply (bool chained, const Arguments &arguments) const
 
template<class Arguments >
bool apply (bool chained, Arguments &arguments) const
 

Member Function Documentation

◆ isEmpty()

template<class Callback >
bool Sawyer::Callbacks< Callback >::isEmpty ( ) const
inline

Definition at line 25 of file Callbacks.h.

◆ operator==()

template<class Callback >
bool Sawyer::Callbacks< Callback >::operator== ( const Callbacks< Callback > &  other)
inline

Definition at line 29 of file Callbacks.h.

◆ append() [1/2]

template<class Callback >
Callbacks & Sawyer::Callbacks< Callback >::append ( const Callback &  callback)
inline

Definition at line 34 of file Callbacks.h.

◆ append() [2/2]

template<class Callback >
Callbacks & Sawyer::Callbacks< Callback >::append ( const Callbacks< Callback > &  other)
inline

Definition at line 39 of file Callbacks.h.

◆ prepend() [1/2]

template<class Callback >
Callbacks & Sawyer::Callbacks< Callback >::prepend ( const Callback &  callback)
inline

Definition at line 44 of file Callbacks.h.

◆ prepend() [2/2]

template<class Callback >
Callback & Sawyer::Callbacks< Callback >::prepend ( const Callbacks< Callback > &  other)
inline

Definition at line 49 of file Callbacks.h.

◆ eraseFirst()

template<class Callback >
Callbacks & Sawyer::Callbacks< Callback >::eraseFirst ( const Callback &  callback)
inline

Definition at line 54 of file Callbacks.h.

◆ eraseLast()

template<class Callback >
Callbacks & Sawyer::Callbacks< Callback >::eraseLast ( const Callback &  callback)
inline

Definition at line 64 of file Callbacks.h.

◆ eraseMatching()

template<class Callback >
Callbacks & Sawyer::Callbacks< Callback >::eraseMatching ( const Callback &  callback)
inline

Definition at line 75 of file Callbacks.h.

◆ applyCallback() [1/3]

template<class Callback >
template<class CB , class Args >
bool Sawyer::Callbacks< Callback >::applyCallback ( CB *  callback,
bool  chained,
Args &  args 
) const
inline

Definition at line 88 of file Callbacks.h.

◆ applyCallback() [2/3]

template<class Callback >
template<class CB , class Args >
bool Sawyer::Callbacks< Callback >::applyCallback ( const SharedPointer< CB > &  callback,
bool  chained,
Args &  args 
) const
inline

Definition at line 93 of file Callbacks.h.

◆ applyCallback() [3/3]

template<class Callback >
template<class CB , class Args >
bool Sawyer::Callbacks< Callback >::applyCallback ( CB &  callback,
bool  chained,
Args &  args 
) const
inline

Definition at line 105 of file Callbacks.h.

◆ apply() [1/2]

template<class Callback >
template<class Arguments >
bool Sawyer::Callbacks< Callback >::apply ( bool  chained,
const Arguments &  arguments 
) const
inline

Definition at line 110 of file Callbacks.h.

◆ apply() [2/2]

template<class Callback >
template<class Arguments >
bool Sawyer::Callbacks< Callback >::apply ( bool  chained,
Arguments &  arguments 
) const
inline

Definition at line 117 of file Callbacks.h.


The documentation for this class was generated from the following file: