SHORE API
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
shore::pipe< Chnaf, S, T > Class Template Reference

Template for turning a class into a pipe element. More...

Public Types

typedef Chnaf pipe_type
 
typedef S current_type
 
typedef T append_type
 

Public Member Functions

template<typename Arg1 >
 pipe (Arg1 arg1)
 
template<typename Arg1 , typename Arg2 >
 pipe (Arg1 arg1, Arg2 arg2)
 
template<typename Arg1 , typename Arg2 , typename Arg3 >
 pipe (Arg1 arg1, Arg2 arg2, Arg3 arg3)
 
template<typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 >
 pipe (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4)
 
template<typename Arg1 , typename Arg2 , typename Arg3 , typename Arg4 , typename Arg5 >
 pipe (Arg1 arg1, Arg2 arg2, Arg3 arg3, Arg4 arg4, Arg5 arg5)
 
 pipe (const pipe &t)
 Copy constructor: need to bind the slots to the correct object.
 
pipe_type * operator-> ()
 
pipe_type & operator* ()
 
const pipe_type * operator-> () const
 
const pipe_type & operator* () const
 
signal< const current_type & > & sigdata ()
 
signal< void > & sigflush ()
 
slot< const append_type & > & slotdata ()
 
slot< void > & slotflush ()
 
slot< void > & slotfreeze ()
 
slot< void > & slotthaw ()
 
signal< void > & sigfreeze ()
 
signal< void > & sigthaw ()
 

Detailed Description

template<typename Chnaf, typename S = typename source_traits<Chnaf>::current_type, typename T = typename sink_traits<Chnaf>::append_type>
class shore::pipe< Chnaf, S, T >

Template for turning a class into a pipe element.

The pipe class must provide the methods current(), has_data(), next(), append() and flush().


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