v2.10-0 (21000JUN2005)

Go4CommandsAnalysis
Class TGo4ComCreateObject

Direct Known Subclasses:
TGo4ComCreateCondition, TGo4ComCreateHistogram

class TGo4ComCreateObject
derived from TGo4AnalysisObjectCommand

Creates new object of class name on client side.Object will be kept in
directory which matches to its base type, e.g in condition directory if it
inherits from condition, in data index dir if inherits from TGo4EventDataIndex, etc.
Histograms (TH1) and all unknown objects are added to histogram dir. There is no
dynamic list entry created for the new object.

Author:
J. Adamczewski
Since: 06-Jun-2001

Field Summary
 private TStringfxObjectClassName
          Classname of the object to be created.

Fields inherited from class Go4CommandsBase.TGo4Command
fbIsEnabled, fbIsExclusive, fbIsLocal, fbIsSynchron, fgcMODEDESCRIPTION, fiCommandID, fiMode, fiProtection, fiVersion, fxReceiverBase

Fields inherited from class TNamed
fName, fTitle

Constructor Summary
TGo4ComCreateObject()
           
TGo4ComCreateObject(const char * obname, const char * classname)
           

Destructor Summary
 virtual synchronized ~TGo4ComCreateObject()
           

Method Summary
 protected TNamed*CreateObject()
          Create object of given classname using root TClass mechanism
 Int_tExeCom()
           
 const const char *GetObjectClassName()
          access to the object class name from subclasses
 voidSetObjectClassName(const char * name)
          set the target object name under command.

Methods inherited from class Go4CommandsAnalysis.TGo4AnalysisObjectCommand
GetFolderName, GetObjectName, SetFolderName, SetObjectName

Methods inherited from class Go4CommandsAnalysis.TGo4AnalysisCommand
operator=, RefuseCom

Methods inherited from class Go4CommandsBase.TGo4Command
GetCommandID, GetMode, GetModeDescription, GetProtection, GetReceiverName, GetTaskName, Help, IsEnabled, IsExclusive, IsLocal, IsSynchron, Log, SetDescription, SetMode, SetProtection, SetReceiver, SetReceiverName, SetTaskName, UnExeCom, What

Methods inherited from class TNamed
operator=, Clear, Clone, Compare, Copy, FillBuffer, GetName, GetTitle, Hash, IsSortable, SetName, SetNameTitle, SetTitle, ls, Print, Sizeof, Class, Class_Name, Class_Version, Dictionary, IsA, ShowMembers, Streamer, StreamerNVirtual, DeclFileName, ImplFileLine, ImplFileName, DeclFileLine

Field Detail

fxObjectClassName

private TString fxObjectClassName
Classname of the object to be created.
Constructor Detail

TGo4ComCreateObject

public TGo4ComCreateObject()

TGo4ComCreateObject

public TGo4ComCreateObject(const char * obname, const char * classname)
Method Detail

~TGo4ComCreateObject

public virtual synchronized ~TGo4ComCreateObject()
Method Detail

CreateObject

protected TNamed* CreateObject()
Create object of given classname using root TClass mechanism

ExeCom

public Int_t ExeCom()

GetObjectClassName

public const const char * GetObjectClassName()
access to the object class name from subclasses

SetObjectClassName

public void SetObjectClassName(const char * name)
set the target object name under command.

J.Adamczewski, M.Al-Turany, D.Bertini, H.G.Essel, S.Linev

30-06-2005