RaftLib  0.3a
C++ Stream Processing Template Library
Public Member Functions | List of all members
Print< T, delim > Class Template Reference
Inheritance diagram for Print< T, delim >:
[legend]
Collaboration diagram for Print< T, delim >:
[legend]

Public Member Functions

virtual raft::kstatus run ()
 
- Public Member Functions inherited from raft::kernel
 kernel ()
 
 kernel (void *const ptr, const std::size_t nbytes)
 
virtual raft::kernelclone ()
 
std::size_t get_id ()
 

Additional Inherited Members

- Static Public Member Functions inherited from raft::kernel
template<class T , class... Args>
static kernelmake (Args &&...params)
 
- Protected Attributes inherited from raft::kernel
Port input = { this }
 
Port output = { this }
 
- Static Protected Attributes inherited from raft::kernel
static std::size_t kernel_count
 

Member Function Documentation

template<typename T , char delim = '\0'>
virtual raft::kstatus Print< T, delim >::run ( )
inlinevirtual

run - implemented to take a single input port, pop the itam and print it. the output isn't yet synchronized so if multiple things are printing to std::cout then there might be issues, otherwise this works well for debugging and basic output.

Returns
raft::kstatus

Implements raft::kernel.


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