23 #ifndef _RECEIVER_HXX_
24 #define _RECEIVER_HXX_
30 template<
class T,
class senderPtr,
class senderSrv>
37 virtual T *
getValue(
long &size,senderPtr sender);
38 static inline T *
getLocalValue(
long &size,senderSrv* servant);
42 template<
class T,
class senderPtr,
class senderSrv>
45 const T *src=(
const T *)servant->getData(size);
46 long lgr=size*servant->getSizeOf();
47 void *ret=
new char[lgr];
53 template<
class T,
class senderPtr,
class senderSrv>
56 senderSrv* data=senderSrv::find(sender);
58 return getLocalValue(size,data);
60 return getDistValue(size);