All Downloads are FREE. Search and download functionalities are using the official Maven repository.

fr.esrf.Tango.DevLongHelper Maven / Gradle / Ivy

package fr.esrf.Tango;

/**
 * Generated from IDL alias "DevLong".
 *
 * @author JacORB IDL compiler V 3.8
 * @version generated at Feb 9, 2018 11:17:04 AM
 */

public abstract class DevLongHelper
{
	private volatile static org.omg.CORBA.TypeCode _type;

	public static void insert (org.omg.CORBA.Any any, int s)
	{
		any.insert_long(s);
	}

	public static int extract (final org.omg.CORBA.Any any)
	{
		return any.extract_long();
	}

	public static org.omg.CORBA.TypeCode type ()
	{
		if (_type == null)
		{
			synchronized(DevLongHelper.class)
			{
				if (_type == null)
				{
					_type = org.omg.CORBA.ORB.init().create_alias_tc(fr.esrf.Tango.DevLongHelper.id(), "DevLong",org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.from_int(3)));
				}
			}
		}
		return _type;
	}

	public static String id()
	{
		return "IDL:Tango/DevLong:1.0";
	}
	public static int read (final org.omg.CORBA.portable.InputStream _in)
	{
		int _result;
		_result=_in.read_long();
		return _result;
	}

	public static void write (final org.omg.CORBA.portable.OutputStream _out, int _s)
	{
		_out.write_long(_s);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy