FUEvent0 Class Reference
[Utility Classes.]

An event with no argument. More...

#include <FUEvent.h>

List of all members.

Public Member Functions

 FUEvent0 ()
 Constructor.
 ~FUEvent0 ()
 Destructor.
size_t GetHandlerCount ()
 Retrieves the number of callbacks registered for this event.
template<class Class>
void InsertHandler (Class *handle, void(Class::*_function)())
 Adds a new callback that handles the event.
void InsertHandler (Handler *functor)
 Adds a functor that handles the event.
void InsertHandler (void(*_function)())
 Adds a new callback that handles the event.
void ReleaseHandler (void *handle, void *function)
 Releases and unregisters a callback that handles the event.
template<class Class>
void ReleaseHandler (Class *handle, void(Class::*_function)())
 Releases and unregisters a callback that handles the event.
void ReleaseHandler (void(*_function)())
 Releases and unregisters a callback that handles the event.
void operator() ()
 Triggers the event.


Detailed Description

An event with no argument.


Member Function Documentation

size_t FUEvent0::GetHandlerCount  )  [inline]
 

Retrieves the number of callbacks registered for this event.

Returns:
The number of callbacks registered.

void FUEvent0::InsertHandler void(*)()  _function  )  [inline]
 

Adds a new callback that handles the event.

Parameters:
_function The static function to callback.

void FUEvent0::InsertHandler Handler functor  )  [inline]
 

Adds a functor that handles the event.

Note that the event will own the memory for the functor.

Parameters:
functor The functor that handlers the event.

template<class Class>
void FUEvent0::InsertHandler Class *  handle,
void(Class::*)()  _function
[inline]
 

Adds a new callback that handles the event.

Parameters:
handle The object that contains the member function.
_function The member function to callback.

void FUEvent0::operator()  )  [inline]
 

Triggers the event.

All the registered callbacks will be called, in reverse-order of their registration.

void FUEvent0::ReleaseHandler void(*)()  _function  )  [inline]
 

Releases and unregisters a callback that handles the event.

Parameters:
_function The static function callback to unregister.

template<class Class>
void FUEvent0::ReleaseHandler Class *  handle,
void(Class::*)()  _function
[inline]
 

Releases and unregisters a callback that handles the event.

Parameters:
handle The object that contains the member function.
_function The member function callback to unregister.

void FUEvent0::ReleaseHandler void *  handle,
void *  function
[inline]
 

Releases and unregisters a callback that handles the event.

Parameters:
handle The handle of the function container. This pointer will be NULL for static functions.
function The address of the function callback to unregister.


The documentation for this class was generated from the following file:
Generated on Thu Feb 14 16:58:40 2008 for FCollada by  doxygen 1.4.6-NO