public BehaviorCheckTriggerBridge(System.IntPtr _helperFactory, BehaviorCheckTrigger _controller) { controller = _controller; helperFactory = _helperFactory; beginBehaviorCheckCallback = (bhvrChkListener) => { controller.BeginBehavior(new NativeBehaviorCheckListener(bhvrChkListener)); }; ImplPtr = NewBehaviorCheckTrigger(helperFactory, beginBehaviorCheckCallback, stopBehaviorCallback = () => { }, continueBehaviorCallback = () => { } ); }
private extern static void ExtractClusterGBlock( System.IntPtr gCluster, SinglePtrCallback forEachElement, SinglePtrCallback ifHasModifier, SinglePtrCallback ifMetaInfo );
private extern static void ExtractGUnit( System.IntPtr gUnit, SingleWordCallback getWords, SinglePtrCallback ifHasModifier, SinglePtrCallback ifMetaInfo );
public PtrClusterFetcher() { ptrFetchCallback = (ptr) => { fetchedPtrs.Add(ptr); }; }
public PtrFetcher() { ptrFetchCallback = (ptr) => { fetchedPtr = ptr; }; }
private extern static System.IntPtr NewBehaviorCheckTrigger( System.IntPtr behaviorFactory, SinglePtrCallback beginBehaviorCallback, SignalCallback stopCallback, SignalCallback continueCallback );