FreeHEP API
Version current

hep.aida.ref.remote.corba.converters
Class CorbaHist1DConverter

java.lang.Object
  extended byhep.aida.ref.remote.RemoteConverter
      extended byhep.aida.ref.remote.corba.converters.CorbaConverter
          extended byhep.aida.ref.remote.corba.converters.CorbaHist1DConverter

public final class CorbaHist1DConverter
extends CorbaConverter

Converts Hist1DData to RemoteHistogram1D

Author:
serbo
Source Code:
CorbaHist1DConverter.java

Field Summary
 
Fields inherited from class hep.aida.ref.remote.corba.converters.CorbaConverter
orb
 
Fields inherited from class hep.aida.ref.remote.RemoteConverter
aidaType, dataType, protocol
 
Method Summary
 Object createAidaObject(String name)
          Creates new instance of type "type".
 Hist1DData createData(hep.aida.IHistogram1D hist)
          Create Hist1DData structure from an IHistogram1D
 Object extractData(Object aidaObject)
          Returns CORBA Any object
static CorbaHist1DConverter getInstance()
          Creates a new instance of CorbaHist1DAdapter
 boolean updateAidaObject(Object aidaObject, Object newData)
          Updates data contained by object.
 hep.aida.IManagedObject updateData(RemoteHistogram1D hist, Hist1DData data)
          Update data in RemoteHistogram1d from IHistogram1D and calls setDataValid(true) method.
 
Methods inherited from class hep.aida.ref.remote.RemoteConverter
aidaType, dataType, protocol
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static CorbaHist1DConverter getInstance()
Creates a new instance of CorbaHist1DAdapter


createAidaObject

public Object createAidaObject(String name)
Creates new instance of type "type".

Specified by:
createAidaObject in class RemoteConverter

updateAidaObject

public boolean updateAidaObject(Object aidaObject,
                                Object newData)
Updates data contained by object. Input can be Hist1DData or Any wrapped around Hist1DData.

Specified by:
updateAidaObject in class RemoteConverter

extractData

public Object extractData(Object aidaObject)
Returns CORBA Any object

Specified by:
extractData in class RemoteConverter

updateData

public hep.aida.IManagedObject updateData(RemoteHistogram1D hist,
                                          Hist1DData data)
Update data in RemoteHistogram1d from IHistogram1D and calls setDataValid(true) method.


createData

public Hist1DData createData(hep.aida.IHistogram1D hist)
Create Hist1DData structure from an IHistogram1D


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.