FreeHEP API
Version current

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

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

public final class CorbaDataPointSetDConverter
extends CorbaConverter

Converts Hist1DData to RemoteHistogram1D

Author:
serbo
Source Code:
CorbaDataPointSetDConverter.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".
 DataPointSetData createData(hep.aida.IDataPointSet hist)
          Create Hist1DData structure from an IHistogram1D
 Object extractData(Object aidaObject)
          Returns CORBA Any object
static CorbaDataPointSetDConverter getInstance()
          Creates a new instance of CorbaHist1DAdapter
 boolean updateAidaObject(Object aidaObject, Object newData)
          Updates data contained by object.
 hep.aida.IManagedObject updateData(RemoteDataPointSet hist, DataPointSetData 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 CorbaDataPointSetDConverter 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(RemoteDataPointSet hist,
                                          DataPointSetData data)
Update data in RemoteHistogram1d from IHistogram1D and calls setDataValid(true) method.


createData

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


FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.