FACT++  1.0
void DimRpcInfo::rpcInfoHandler ( )
virtual

Reimplemented in RpcService, RpcStruct, and Rpc.

Definition at line 661 of file diccpp.cxx.

References data, DimClient::getNoDataCopy(), DimInfo::itsData, DimInfo::itsDataSize, and DimInfo::itsSize.

Referenced by rpc_user_routine().

662 {
663  char *data;
664  if(DimClient::getNoDataCopy() == 1)
665  {
666  data = (char *)itsData;
667  if(!itsDataSize)
668  {
669  itsData = new char[itsSize];
671  }
672  else if(itsDataSize < itsSize)
673  {
674  delete[] (char *)(itsData);
675  itsData = new char[itsSize];
677  }
678  memcpy(itsData, data, (size_t)itsSize);
679  }
680 }
void * itsData
Definition: dic.hxx:356
int itsDataSize
Definition: dic.hxx:357
static int getNoDataCopy()
Definition: diccpp.cxx:1241
float data[4 *1440]
int itsSize
Definition: dic.hxx:360

+ Here is the call graph for this function:

+ Here is the caller graph for this function: