My Project
Public Member Functions | Protected Types | Protected Member Functions | List of all members
splitmethod Class Referenceabstract

#include <splitmethod.hpp>

Inheritance diagram for splitmethod:
roundrobin

Public Member Functions

template<class T , typename std::enable_if< std::is_fundamental< T >::value >::type * = nullptr>
bool send (T &item, const raft::signal signal, Port &outputs)
 
template<class T , typename std::enable_if< not std::is_base_of< autoreleasebase, T >::value >::type * = nullptr>
bool send (T &range, Port &outputs)
 
template<class T >
bool get (T &item, raft::signal &signal, Port &inputs)
 

Protected Types

enum  functype { sendtype, gettype }
 

Protected Member Functions

virtual FIFO * select_fifo (Port &port_list, const functype type)=0
 

Detailed Description

FIXME, it's relativly easy to do zero copy....so implement

Member Function Documentation

template<class T , typename std::enable_if< not std::is_base_of< autoreleasebase, T >::value >::type * = nullptr>
bool splitmethod::send ( T &  range,
Port outputs 
)
inline

send - this version is intended for the peekrange object from autorelease.tcc in the fifo dir. I'll add some code to enable only on the autorelease object shortly, but for now this will get it working.

Parameters
range- T&, autorelease object
outputs- output port list

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