org.bridj.cs.dotnet
Class DotNetRuntime

java.lang.Object
  extended by org.bridj.AbstractBridJRuntime
      extended by org.bridj.cs.dotnet.DotNetRuntime
All Implemented Interfaces:
BridJRuntime, CSharpRuntime

public class DotNetRuntime
extends AbstractBridJRuntime
implements CSharpRuntime

Author:
Olivier
See Also:
http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal.getdelegateforfunctionpointer(VS.80).aspx

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.bridj.BridJRuntime
BridJRuntime.TypeInfo<T extends NativeObject>
 
Constructor Summary
DotNetRuntime()
           
 
Method Summary
<T extends NativeObject>
Class<? extends T>
getActualInstanceClass(Pointer<T> pInstance, Type officialType)
           
<T extends NativeObject>
BridJRuntime.TypeInfo<T>
getTypeInfo(Type type)
           
 boolean isAvailable()
           
 void register(Type type)
           
 
Methods inherited from class org.bridj.AbstractBridJRuntime
findConstructor, getType, isOverride, isOverridenSignature, log, log, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.bridj.BridJRuntime
getType, unregister
 

Constructor Detail

DotNetRuntime

public DotNetRuntime()
Method Detail

isAvailable

public boolean isAvailable()
Specified by:
isAvailable in interface BridJRuntime

getActualInstanceClass

public <T extends NativeObject> Class<? extends T> getActualInstanceClass(Pointer<T> pInstance,
                                                                          Type officialType)
Specified by:
getActualInstanceClass in interface BridJRuntime

register

public void register(Type type)
Specified by:
register in interface BridJRuntime

getTypeInfo

public <T extends NativeObject> BridJRuntime.TypeInfo<T> getTypeInfo(Type type)
Specified by:
getTypeInfo in interface BridJRuntime


Copyright © 2009-2012. All Rights Reserved.