libfaster API Documentation  Development Version
Super fast distributted computing
faster::_workerFdd< T > Class Template Reference
Inheritance diagram for faster::_workerFdd< T >:
faster::workerFddCore< T > faster::workerFddBase

Description

template<class T>
class faster::_workerFdd< T >

Definition at line 23 of file _workerFdd.h.

Public Member Functions

 _workerFdd (unsigned int ident, fddType t)
 
 _workerFdd (unsigned int ident, fddType t, size_t size)
 
void setData (T *data, size_t size)
 
void setData (void *d UNUSED, size_t size UNUSED)
 
void setData (void *d UNUSED, size_t *lineSizes UNUSED, size_t size UNUSED)
 
void setData (void *k UNUSED, void *d UNUSED, size_t *lineSizes UNUSED, size_t size UNUSED)
 
void setDataRaw (void *data, size_t size) override
 
void setDataRaw (void *data UNUSED, size_t *listSizes UNUSED, size_t size UNUSED) override
 
size_t * getLineSizes ()
 
void insert (void *k, void *in, size_t s)
 
void insertl (void *in)
 
void insert (T &in)
 
void insert (T *in UNUSED, size_t s UNUSED)
 
void insert (std::deque< T > &in)
 
void insert (std::deque< std::pair< T *, size_t >> &in UNUSED)
 
void apply (void *func, fddOpType op, workerFddBase *dest, fastCommBuffer &buffer)
 
void collect (fastComm *comm) override
 
template<typename U >
void map (workerFddBase *dest, mapPFunctionP< T, U > mapFunc)
 
template<typename U >
void map (workerFddBase *dest, PmapPFunctionP< T, U > mapFunc)
 
template<typename L , typename U >
void map (workerFddBase *dest, ImapPFunctionP< T, L, U > mapFunc)
 
template<typename L , typename U >
void map (workerFddBase *dest, IPmapPFunctionP< T, L, U > mapFunc)
 
template<typename U >
void bulkMap (workerFddBase *dest, bulkMapPFunctionP< T, U > bulkMapFunc)
 
template<typename U >
void bulkMap (workerFddBase *dest, PbulkMapPFunctionP< T, U > bulkMapFunc)
 
template<typename L , typename U >
void bulkMap (workerFddBase *dest, IbulkMapPFunctionP< T, L, U > bulkMapFunc)
 
template<typename L , typename U >
void bulkMap (workerFddBase *dest, IPbulkMapPFunctionP< T, L, U > bulkMapFunc)
 
template<typename U >
void flatMap (workerFddBase *dest, flatMapPFunctionP< T, U > flatMapFunc)
 
template<typename U >
void flatMap (workerFddBase *dest, PflatMapPFunctionP< T, U > flatMapFunc)
 
template<typename L , typename U >
void flatMap (workerFddBase *dest, IflatMapPFunctionP< T, L, U > flatMapFunc)
 
template<typename L , typename U >
void flatMap (workerFddBase *dest, IPflatMapPFunctionP< T, L, U > flatMapFunc)
 
template<typename U >
void bulkFlatMap (workerFddBase *dest, bulkFlatMapPFunctionP< T, U > bulkFlatMapFunc)
 
template<typename U >
void bulkFlatMap (workerFddBase *dest, PbulkFlatMapPFunctionP< T, U > bulkFlatMapFunc)
 
template<typename L , typename U >
void bulkFlatMap (workerFddBase *dest, IbulkFlatMapPFunctionP< T, L, U > bulkFlatMapFunc)
 
template<typename L , typename U >
void bulkFlatMap (workerFddBase *dest, IPbulkFlatMapPFunctionP< T, L, U > bulkFlatMapFunc)
 
- Public Member Functions inherited from faster::workerFddCore< T >
 workerFddCore (unsigned int ident, fddType t)
 
 workerFddCore (unsigned int ident, fddType t, size_t size)
 
void setData (void *k UNUSED, void *d UNUSED, size_t size UNUSED)
 
void setDataRaw (void *keys UNUSED, void *data UNUSED, size_t size UNUSED) override
 
void setDataRaw (void *keys UNUSED, void *data UNUSED, size_t *lineSizes UNUSED, size_t size UNUSED) override
 
fddType getType () override
 
fddType getKeyType () override
 
T & operator[] (size_t address)
 
void * getItem (size_t address)
 
void * getKeys () override
 
void * getData () override
 
size_t getSize () override
 
size_t itemSize () override
 
size_t baseSize () override
 
void setSize (size_t s)
 
void deleteItem (void *item) override
 
void shrink ()
 
void writeToFile (void *path, size_t procId, void *sufix)
 
void preapply (unsigned long int id, void *func, fddOpType op, workerFddBase *dest, fastComm *comm)
 
- Public Member Functions inherited from faster::workerFddBase
 workerFddBase (unsigned int ident, fddType t)
 
virtual void setData (void *, size_t)=0
 
virtual void setData (void *, size_t *, size_t)=0
 
virtual void setData (void *, void *, size_t)=0
 
virtual void setData (void *, void *, size_t *, size_t)=0
 
virtual void setDataRaw (void *, size_t *, size_t)=0
 
virtual void setDataRaw (void *, void *, size_t)=0
 
virtual void setDataRaw (void *, void *, size_t *, size_t)=0
 
virtual void exchangeDataByKey (fastComm *comm)=0
 
virtual void setUKeys (void *uk)=0
 
virtual void setKeyMap (void *km)=0
 

Additional Inherited Members

- Protected Member Functions inherited from faster::workerFddCore< T >
void exchangeDataByKey (fastComm *comm UNUSED)
 
void * getUKeys ()
 
void setUKeys (void *uk UNUSED)
 
void * getKeyMap ()
 
void setKeyMap (void *km UNUSED)
 
std::vector< std::vector< void * > > * getKeyLocations ()
 
- Protected Attributes inherited from faster::workerFddCore< T >
fddStorage< T > * localData
 
- Protected Attributes inherited from faster::workerFddBase
unsigned long int id
 
fddType type
 
fddType keyType
 

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