fr.esrf.Tango.DevShortHelper Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JavaTangoIDL Show documentation
Show all versions of JavaTangoIDL Show documentation
Java Tango IDL (compiled with jacorb IDL compiler, http://www.jacorb.org)
The newest version!
package fr.esrf.Tango;
/**
* Generated from IDL alias "DevShort".
*
* @author JacORB IDL compiler V 3.8
* @version generated at Oct 21, 2017 6:12:33 PM
*/
public abstract class DevShortHelper
{
private volatile static org.omg.CORBA.TypeCode _type;
public static void insert (org.omg.CORBA.Any any, short s)
{
any.insert_short(s);
}
public static short extract (final org.omg.CORBA.Any any)
{
return any.extract_short();
}
public static org.omg.CORBA.TypeCode type ()
{
if (_type == null)
{
synchronized(DevShortHelper.class)
{
if (_type == null)
{
_type = org.omg.CORBA.ORB.init().create_alias_tc(fr.esrf.Tango.DevShortHelper.id(), "DevShort",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(2)));
}
}
}
return _type;
}
public static String id()
{
return "IDL:Tango/DevShort:1.0";
}
public static short read (final org.omg.CORBA.portable.InputStream _in)
{
short _result;
_result=_in.read_short();
return _result;
}
public static void write (final org.omg.CORBA.portable.OutputStream _out, short _s)
{
_out.write_short(_s);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy