org.tango.server.build
Class DeviceClassBuilder

java.lang.Object
  extended by org.tango.server.build.DeviceClassBuilder

public final class DeviceClassBuilder
extends java.lang.Object

Builder of a Tango class

Author:
ABEILLE

Constructor Summary
DeviceClassBuilder(java.lang.Class<?> clazz, java.lang.String className)
          Construct a newly allocated DeviceClass object.
 
Method Summary
 DeviceImpl buildDevice(java.lang.String name)
           
 void clearDevices()
           
 boolean containsDevice(java.lang.String deviceName)
           
 java.lang.String getClassName()
           
 java.lang.Class<?> getDeviceClass()
           
 DeviceImpl getDeviceImpl(java.lang.String deviceName)
           
 java.util.List<DeviceImpl> getDeviceImplList()
           
 java.util.List<java.lang.String> getDeviceNameList()
           
 void removeDevice(java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceClassBuilder

public DeviceClassBuilder(java.lang.Class<?> clazz,
                          java.lang.String className)
Construct a newly allocated DeviceClass object.

Parameters:
clazz - The class of the device
className - The Tango device class name
Method Detail

buildDevice

public DeviceImpl buildDevice(java.lang.String name)
                       throws fr.esrf.Tango.DevFailed
Throws:
fr.esrf.Tango.DevFailed

removeDevice

public void removeDevice(java.lang.String name)

getDeviceImplList

public java.util.List<DeviceImpl> getDeviceImplList()

getDeviceImpl

public DeviceImpl getDeviceImpl(java.lang.String deviceName)

containsDevice

public boolean containsDevice(java.lang.String deviceName)

clearDevices

public void clearDevices()

getDeviceNameList

public java.util.List<java.lang.String> getDeviceNameList()

getDeviceClass

public java.lang.Class<?> getDeviceClass()

getClassName

public java.lang.String getClassName()


Copyright © 2012-2015. All Rights Reserved.