ChannelCallback< T > Class Template Reference

This Callback sends a given object on a given Channel when run. More...

#include <callback_decls.h>

Inheritance diagram for ChannelCallback< T >:

Callback List of all members.

Public Member Functions

 ChannelCallback (Channel< T > &c, const T &v)
 ChannelCallback constructor.
void run ()
 This method takes action when the Callback is to be run.

Detailed Description

template<class T>
class ChannelCallback< T >

This Callback sends a given object on a given Channel when run.


Constructor & Destructor Documentation

template<class T>
ChannelCallback< T >::ChannelCallback ( Channel< T > &  c,
const T &  v 
) [inline]

ChannelCallback constructor.

Parameters:
c is the Channel that should receive the object
v is the object to be sent on the Channel
See also:
Channel


Member Function Documentation

template<typename T>
void ChannelCallback< T >::run (  )  [inline, virtual]

This method takes action when the Callback is to be run.

Derived classes must override this method.

Implements Callback.


The documentation for this class was generated from the following files:
Generated on Sat Feb 7 01:26:51 2009 by  doxygen 1.5.1