Back to index

easystroke  0.5.5.1
Classes | Functions
var.h File Reference
#include <set>
#include <boost/shared_ptr.hpp>
#include <glibmm.h>
#include "util.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Base
class  Notifier
class  Atomic
class  Out< T >
class  In< T >
class  IO< T >
class  Source< T >
class  Var< T >
class  Fun< X, Y >
class  Fun2< X, Y, Z >
class  Bijection< X, Y >
class  Watcher
class  TimeoutWatcher

Functions

template<class X , class Y >
Fun< X, Y > * fun (Y(*f)(X), Out< X > &in)
template<class X1 , class X2 , class Y >
Fun2< X1, X2, Y > * fun2 (Y(*f)(X1, X2), Out< X1 > &in1, Out< X2 > &in2)

Function Documentation

template<class X , class Y >
Fun<X, Y>* fun ( Y(*)(X)  f,
Out< X > &  in 
)

Definition at line 108 of file var.h.

                                                                  {
       return new Fun<X, Y>(sigc::ptr_fun(f), in);
}

Here is the caller graph for this function:

template<class X1 , class X2 , class Y >
Fun2<X1, X2, Y>* fun2 ( Y(*)(X1, X2)  f,
Out< X1 > &  in1,
Out< X2 > &  in2 
)

Definition at line 125 of file var.h.

                                                                                                         {
       return new Fun2<X1, X2, Y>(sigc::ptr_fun(f), in1, in2);
}

Here is the caller graph for this function: