|
Urbi SDK Remote for Java
2.7.5
|
00001 /* ---------------------------------------------------------------------------- 00002 * This file was automatically generated by SWIG (http://www.swig.org). 00003 * Version 2.0.4 00004 * 00005 * Do not make changes to this file unless you know what you are doing--modify 00006 * the SWIG interface file instead. 00007 * ----------------------------------------------------------------------------- */ 00008 00009 package urbi; 00010 /*--------------. 00011 | UStarterHub. | 00012 `--------------*/ 00013 /// URBIStarter base class used to store heterogeneous template 00014 /// class objects in starterlist 00015 00016 public class baseURBIStarterHub { 00017 private long swigCPtr; 00018 protected boolean swigCMemOwn; 00019 00020 public baseURBIStarterHub(long cPtr, boolean cMemoryOwn) { 00021 swigCMemOwn = cMemoryOwn; 00022 swigCPtr = cPtr; 00023 } 00024 00025 public static long getCPtr(baseURBIStarterHub obj) { 00026 return (obj == null) ? 0 : obj.swigCPtr; 00027 } 00028 00029 protected void finalize() { 00030 delete(); 00031 } 00032 00033 public synchronized void delete() { 00034 if (swigCPtr != 0) { 00035 if (swigCMemOwn) { 00036 swigCMemOwn = false; 00037 urbiJNI.delete_baseURBIStarterHub(swigCPtr); 00038 } 00039 swigCPtr = 0; 00040 } 00041 } 00042 00043 public UObjectHub instanciate(UContextImpl ctx, String n) { 00044 long cPtr = urbiJNI.baseURBIStarterHub_instanciate__SWIG_0(swigCPtr, this, UContextImpl.getCPtr(ctx), ctx, n); 00045 return (cPtr == 0) ? null : new UObjectHub(cPtr, false); 00046 } 00047 00048 public UObjectHub instanciate(UContextImpl ctx) { 00049 long cPtr = urbiJNI.baseURBIStarterHub_instanciate__SWIG_1(swigCPtr, this, UContextImpl.getCPtr(ctx), ctx); 00050 return (cPtr == 0) ? null : new UObjectHub(cPtr, false); 00051 } 00052 00053 public void setName(String value) { 00054 urbiJNI.baseURBIStarterHub_name_set(swigCPtr, this, value); 00055 } 00056 00057 public String getName() { 00058 return urbiJNI.baseURBIStarterHub_name_get(swigCPtr, this); 00059 } 00060 00061 }