コード例 #1
0
ファイル: Device.cs プロジェクト: penyatree/openni
 public override void Dispose()
 {
     if (m_deviceIdentification != null)
         m_deviceIdentification.InternalDispose();
     m_deviceIdentification = null;
     base.Dispose();
 }
コード例 #2
0
ファイル: Device.cs プロジェクト: penyatree/openni
 internal Device(Context context, IntPtr nodeHandle, bool addRef)
     : base(context, nodeHandle, addRef)
 {
     if (IsCapabilitySupported(Capabilities.DeviceIdentification))
         m_deviceIdentification = new DeviceIdentificationCapability(this);
     else
         m_deviceIdentification = null;
 }
コード例 #3
0
ファイル: Device.cs プロジェクト: ypupo2002/OpenNI
 internal Device(Context context, IntPtr nodeHandle, bool addRef) :
     base(context, nodeHandle, addRef)
 {
     if (IsCapabilitySupported(Capabilities.DeviceIdentification))
     {
         m_deviceIdentification = new DeviceIdentificationCapability(this);
     }
     else
     {
         m_deviceIdentification = null;
     }
 }