Hi Anton, I suggest using simply TROOT::ProcessLineFast. Example TAxis *axis = (TAxis*)gROOT->ProcessLineFast("hist.GetXaxis()") Simply encode the instruction you want to execute in your remote procedure. ProcessLineFast returns a long. You can cast it to the final type directly. Rene Brun anton.fokin@nl.fortisbank.com wrote: > > Hi rooters, > > I am developing a kind of remote procedure execution with root. I see I can > do > > void TCint::Execute(TObject *obj, TClass *cl, const char *method, const > char *params) > > Q: how can I get result of execution back into my code? > > Assume I have > > TObject *GetObject(Int_t Index); > > How can I access a pointer to returned TObject? > > Cheers, > Anton > > ___________________________________________________________________________ > > This e-mail is sent for the sole attention of the identified addressee and its > contents are provided for information purposes only. Fortis Bank makes no > warranty or representation as to the accuracy and completeness of any > information and does not assume whatever commitment hereby. Legally binding > obligation can only arise for, or be entered into on behalf of, Fortis Bank by > means of a written instrument, signed by two duly authorised representatives of > Fortis Bank. Fortis Bank excludes any liability whatsoever for any direct or > consequential loss arising from the use, or reliance on, this e-mail or its > contents. > ___________________________________________________________________________
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:41 MET