示例#1
0
 Remote<T> read_variable(const char *name) const
 {
   Remote<T> res;
   read_variable(name, res.getBuffer(), sizeof(T));
   return res;
 }
示例#2
0
 template<class T> inline
 void read(Remote<T>& buffer, RemotePtr<T> ptr, int process_index = ProcessIndexAny) const
 {
   this->read_bytes(buffer.getBuffer(), sizeof(T), ptr, process_index);
 }