FreeHEP API
Version v1.2.2

hep.aida.ref.remote.testRemote.converters
Class TestHist1DConverter

java.lang.Object
  |
  +--hep.aida.ref.remote.RemoteConverter
        |
        +--hep.aida.ref.remote.testRemote.converters.TestConverter
              |
              +--hep.aida.ref.remote.testRemote.converters.TestHist1DConverter

public final class TestHist1DConverter
extends TestConverter

Converts Hist1DData to RemoteHistogram1D

Author:
serbo

Field Summary
 
Fields inherited from class hep.aida.ref.remote.RemoteConverter
aidaType, dataType, protocol
 
Method Summary
 Object createAidaObject(String name)
          Creates new instance of type "type".
 hep.aida.IHistogram1D createData(hep.aida.IHistogram1D hist)
          Create Hist1DData structure from an IHistogram1D
 Object extractData(Object aidaObject)
          Returns IHistogram1D object
static TestHist1DConverter getInstance()
          Creates a new instance of CorbaHist1DAdapter
 boolean updateAidaObject(Object aidaObject, Object newData)
          Updates data contained by object.
 hep.aida.IManagedObject updateData(RemoteHistogram1D hist, hep.aida.IHistogram1D 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 TestHist1DConverter 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 must be IHistogram1D.

Specified by:
updateAidaObject in class RemoteConverter

extractData

public Object extractData(Object aidaObject)
Returns IHistogram1D object

Specified by:
extractData in class RemoteConverter

updateData

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


createData

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


FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.