Faster  0.0.4Alpha
Superfastdistributtedcomputing
workerFddModule.h
1 #ifndef LIBFASTER_WORKERFDDMODULE_H
2 #define LIBFASTER_WORKERFDDMODULE_H
3 
4 namespace faster{
5 
6 
7  // C-stile Dynamic loaded functions
8  extern "C"{
9  workerFddBase * newWorkerSDL(unsigned long int id, fddType type, size_t size);
10  void discardWorkerDL(workerFddBase * fdd);
11 
12  fddType getTypeDL(workerFddBase * fdd);
13  fddType getKeyTypeDL(workerFddBase * fdd);
14 
15  void setDataDL(workerFddBase * fdd, void * keys, void * data, size_t * lineSizes, size_t size);
16  void setDataRawDL(workerFddBase * fdd, void * keys, void * data, size_t * lineSizes, size_t size);
17 
18  size_t * getLineSizesDL(workerFddBase * fdd);
19 
20  void * getFddItemDL(workerFddBase * fdd, size_t address);
21  void * getKeysDL(workerFddBase * fdd);
22  void * getDataDL(workerFddBase * fdd);
23  size_t getSizeDL(workerFddBase * fdd);
24  size_t itemSizeDL(workerFddBase * fdd);
25  size_t baseSizeDL(workerFddBase * fdd);
26  void setSizeDL(workerFddBase * fdd, size_t s);
27  void deleteItemDL(workerFddBase * fdd, void * item);
28  void shrinkDL(workerFddBase * fdd);
29 
30  void insertDL(workerFddBase * fdd, void * k, void * v, size_t s);
31  void insertListDL(workerFddBase * fdd, void * v);
32 
33  void preapplyDL(workerFddBase * fdd, unsigned long int id, void * func, fddOpType op, workerFddBase * dest, fastComm * comm);
34 
35  void collectDL(workerFddBase * fdd, fastComm * comm);
36  void exchangeDataByKeyDL(workerFddBase * fdd, fastComm *comm, void * keyMap);
37  void * getKeyLocationsDL(workerFddBase * fdd);
38  }
39 }
40 
41 #endif
Definition: _workerFdd.h:11