Wolframe, 0.0.3

envelopefilter.hpp File Reference

Filter serving as envelope for a typed filter with some addtionional context data. Used for functions that return a result of a function called as their own result. They need to add their closure so that it not get freed while the result is still processed by the caller. More...

#include "filter/typedfilter.hpp"
#include <boost/shared_ptr.hpp>

Go to the source code of this file.

Classes

class  _Wolframe::langbind::EnvelopeInputFilter< Context >
 Envelope for a input filter and its context. More...
 

Namespaces

 _Wolframe
 Toplevel Wolframe namespace.
 
 _Wolframe::langbind
 Glueing classes for language bindings and filters (implemented in the library libwolframe_langbind)
 

Detailed Description

Filter serving as envelope for a typed filter with some addtionional context data. Used for functions that return a result of a function called as their own result. They need to add their closure so that it not get freed while the result is still processed by the caller.

Remarks
Most scenarios where a function returns a result of an other function as its own needs an envelope of this kind to avoid data reference deadlocks.