
fr.esrf.Tango.DevUShortHelper Maven / Gradle / Ivy
package fr.esrf.Tango;
/**
* Generated from IDL alias "DevUShort".
*
* @author JacORB IDL compiler V 3.8
* @version generated at Feb 9, 2018 11:17:04 AM
*/
public abstract class DevUShortHelper
{
private volatile static org.omg.CORBA.TypeCode _type;
public static void insert (org.omg.CORBA.Any any, short s)
{
any.insert_ushort(s);
}
public static short extract (final org.omg.CORBA.Any any)
{
return any.extract_ushort();
}
public static org.omg.CORBA.TypeCode type ()
{
if (_type == null)
{
synchronized(DevUShortHelper.class)
{
if (_type == null)
{
_type = org.omg.CORBA.ORB.init().create_alias_tc(fr.esrf.Tango.DevUShortHelper.id(), "DevUShort",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(4)));
}
}
}
return _type;
}
public static String id()
{
return "IDL:Tango/DevUShort:1.0";
}
public static short read (final org.omg.CORBA.portable.InputStream _in)
{
short _result;
_result=_in.read_ushort();
return _result;
}
public static void write (final org.omg.CORBA.portable.OutputStream _out, short _s)
{
_out.write_ushort(_s);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy