Back to index

easystroke  0.5.5.1
Public Member Functions | Protected Member Functions | Private Attributes
Out< T > Class Template Reference

#include <var.h>

Inheritance diagram for Out< T >:
Inheritance graph
[legend]
Collaboration diagram for Out< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void connect (Base *s)
virtual T get () const =0

Protected Member Functions

void update ()

Private Attributes

std::set< Base * > out

Detailed Description

template<class T>
class Out< T >

Definition at line 46 of file var.h.


Member Function Documentation

template<class T>
void Out< T >::connect ( Base s) [inline]

Definition at line 54 of file var.h.

{ out.insert(s); }

Here is the caller graph for this function:

template<class T>
virtual T Out< T >::get ( ) const [pure virtual]
template<class T>
void Out< T >::update ( ) [inline, protected]

Definition at line 49 of file var.h.

                     {
              for (std::set<Base *>::iterator i = out.begin(); i != out.end(); i++)
                     (*i)->notify();
       }

Here is the caller graph for this function:


Member Data Documentation

template<class T>
std::set<Base *> Out< T >::out [private]

Definition at line 47 of file var.h.


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