closure.h File Reference

Closure implementation, it is not a 'standart CS closure', it is an object that stores pointer to member function and references to params with this member function should be called. Name convention closureN, where N is a number of member function params. More...

Go to the source code of this file.

Classes

class  blue_sky::closure0< R, T, M >
 Implements 'closure' with no params and return type R. More...
struct  blue_sky::closure0< void, T, M >
class  blue_sky::closure1< R, T, M, A1 >
 Implements 'closure' with 1 param and return type R. More...
struct  blue_sky::closure1< void, T, M, A1 >
class  blue_sky::closure2< R, T, M, A1, A2 >
 Implements 'closure' with 2 param and return type R. More...
struct  blue_sky::closure2< void, T, M, A1, A2 >
class  blue_sky::closure3< R, T, M, A1, A2, A3 >
 Implements 'closure' with 3 param and return type R. More...
struct  blue_sky::closure3< void, T, M, A1, A2, A3 >
class  blue_sky::closure4< R, T, M, A1, A2, A3, A4 >
 Implements 'closure' with 4 param and return type R. More...
struct  blue_sky::closure4< void, T, M, A1, A2, A3, A4 >
class  blue_sky::closure5< R, T, M, A1, A2, A3, A4, A5 >
 Implements 'closure' with 5 param and return type R. More...
struct  blue_sky::closure5< void, T, M, A1, A2, A3, A4, A5 >
class  blue_sky::closure6< R, T, M, A1, A2, A3, A4, A5, A6 >
 Implements 'closure' with 6 param and return type R. More...
struct  blue_sky::closure6< void, T, M, A1, A2, A3, A4, A5, A6 >

Namespaces

namespace  blue_sky

Functions

template<typename R , typename T >
closure0< R, T, R(T::*)()> blue_sky::closure (R(T::*m)())
template<typename R , typename T , typename A1 >
closure1< R, T, R(T::*)(A1)
const, A1 > 
blue_sky::closure (R(T::*m)(A1) const, A1 a1)
template<typename R , typename T , typename A1 , typename A2 >
closure2< R, T, R(T::*)(A1, A2),
A1, A2 > 
blue_sky::closure (R(T::*m)(A1, A2), A1 a1, A2 a2)
template<typename R , typename T , typename A1 , typename A2 , typename A3 >
closure3< R, T, R(T::*)(A1, A2,
A3), A1, A2, A3 > 
blue_sky::closure (R(T::*m)(A1, A2, A3), A1 a1, A2 a2, A3 a3)
template<typename R , typename T , typename A1 , typename A2 , typename A3 , typename A4 >
closure4< R, T, R(T::*)(A1, A2,
A3, A4), A1, A2, A3, A4 > 
blue_sky::closure (R(T::*m)(A1, A2, A3, A4), A1 a1, A2 a2, A3 a3, A4 a4)
template<typename R , typename T , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 >
closure5< R, T, R(T::*)(A1, A2,
A3, A4, A5) const, A1, A2, A3,
A4, A5 > 
blue_sky::closure (R(T::*m)(A1, A2, A3, A4, A5) const, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5)
template<typename R , typename T , typename A1 , typename A2 , typename A3 , typename A4 , typename A5 , typename A6 >
closure6< R, T, R(T::*)(A1, A2,
A3, A4, A5, A6) const, A1, A2,
A3, A4, A5, A6 > 
blue_sky::closure (R(T::*m)(A1, A2, A3, A4, A5, A6) const, A1 a1, A2 a2, A3 a3, A4 a4, A5 a5, A6 a6)

Variables

closure0< R, T, R(T::*)() const blue_sky::closure )(R(T::*m)() const)


Detailed Description

Closure implementation, it is not a 'standart CS closure', it is an object that stores pointer to member function and references to params with this member function should be called. Name convention closureN, where N is a number of member function params.

Author:
Sergey Miryanov (sergey-miryanov), sergey.miryanov@gmail.com
Date:
13.02.2009 This source code is released under the terms of the BSD License. See LICENSE for more details.

Generated on Fri Nov 13 12:07:12 2009 for TheBSEagleProject by  doxygen 1.5.8