本文整理汇总了Java中com.sun.jna.ptr.LongByReference类的典型用法代码示例。如果您正苦于以下问题:Java LongByReference类的具体用法?Java LongByReference怎么用?Java LongByReference使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
LongByReference类属于com.sun.jna.ptr包,在下文中一共展示了LongByReference类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: owlGetMappedItem
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public float[] owlGetMappedItem(Pointer model, Pointer instance, long owlInstance) {
Memory memory = new Memory(16 * 4 * getPlatformMultiplier());
LongByReference owlInstanceReference = new LongByReference();
owlInstanceReference.setValue(owlInstance);
engine.owlGetMappedItem(model, instance, owlInstanceReference, memory);
if (getPlatformMultiplier() == 2) {
double[] doubleArray = memory.getDoubleArray(0, 16);
float[] floatArray = new float[16];
for (int i=0; i<16; i++) {
floatArray[i] = (float)doubleArray[i];
}
return floatArray;
} else {
return memory.getFloatArray(0, 16);
}
}
示例2: Schedule_ExtractBusyTimeRange
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public native short Schedule_ExtractBusyTimeRange(
long hCntnr,
int hSchedObj,
NotesUniversalNoteIdStruct punidIgnore,
NotesTimeDatePairStruct pInterval,
IntByReference retdwSize,
LongByReference rethRange,
IntByReference rethMoreCtx);
示例3: NIFFindByKeyExtended3
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public native long NIFFindByKeyExtended3 (long hCollection,
Memory keyBuffer, int findFlags,
int returnFlags,
NotesCollectionPositionStruct retIndexPos,
IntByReference retNumMatches, ShortByReference retSignalFlags,
LongByReference rethBuffer, IntByReference retSequence,
NotesCallbacks.NIFFindByKeyProc NIFFindByKeyCallback, NIFFindByKeyContextStruct Ctx);
示例4: NSFNoteCipherDecrypt
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public short NSFNoteCipherDecrypt(
long hNote,
long hKFC,
int DecryptFlags,
LongByReference rethCipherForAttachments,
int Reserved,
Pointer pReserved);
示例5: startPlatformPlayBackByIP
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
/**
* 开始平台录像播放
*
* @param cameraCode
* 摄像机编码
* @param mediaAddrSrc
* 媒体流目标地址
* @param playbackParam
* 录像播放媒体参数
* @return SDKResult<Business> 封装领域层的SDKResult<Business>对象
* @since eSDK IVS V100R003C00
*/
@Override
public SDKResult<Business> startPlatformPlayBackByIP(String cameraCode, MediaAddress mediaAddrSrc,
PlaybackParam playbackParam) {
int sessionId = super.getIVSSessionId();
MediaAddressSouth mediaAddressSouthIn = businessMgrCabilityConvert.getMediaAddressModel2South(mediaAddrSrc);
PlayBackParamSouth playBackParamSouthIn = businessMgrCabilityConvert.getPlayBackParamModel2South(playbackParam);
LongByReference handle = new LongByReference();
MediaAddressSouth mediaAddressSouthOut = new MediaAddressSouth();
int resultCode = super.getBaseCablilityJNA().IVS_SDK_StartPlatformPlayBackByIP(sessionId, cameraCode,
playBackParamSouthIn, mediaAddressSouthIn, mediaAddressSouthOut.getPointer(), handle);
mediaAddressSouthOut.read();
SDKResult<Business> result = new SDKResult<Business>();
result.setErrCode(resultCode);
if (0 == resultCode) {
Business business = new Business();
business.setHandle(handle.getValue());
business.setMediaAddrSrc(businessMgrCabilityConvert.getMediaAddressSouth2Model(mediaAddressSouthOut));
result.setResult(business);
}
return result;
}
示例6: NSFDbGetMultNoteInfo
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public short NSFDbGetMultNoteInfo(
long hDb,
short Count,
short Options,
long hInBuf,
IntByReference retSize,
LongByReference rethOutBuf);
示例7: Schedule_ExtractMoreBusyTimeRange
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public native short Schedule_ExtractMoreBusyTimeRange(
long hCntnr,
int hMoreCtx,
NotesUniversalNoteIdStruct punidIgnore,
NotesTimeDatePairStruct pInterval,
IntByReference retdwSize,
LongByReference rethRange,
IntByReference rethMore);
示例8: NIFReadEntriesExt
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public short NIFReadEntriesExt(long hCollection,
NotesCollectionPositionStruct CollectionPos,
short SkipNavigator, int SkipCount,
short ReturnNavigator, int ReturnCount, int ReturnMask,
NotesTimeDateStruct DiffTime, long DiffIDTable, int ColumnNumber, int Flags,
LongByReference rethBuffer, ShortByReference retBufferLength,
IntByReference retNumEntriesSkipped, IntByReference retNumEntriesReturned,
ShortByReference retSignalFlags, NotesTimeDateStruct retDiffTime,
NotesTimeDateStruct retModifiedTime, IntByReference retSequence);
示例9: NSFComputeEvaluate
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public native short NSFComputeEvaluate(
long hCompute,
long hNote,
LongByReference rethResult,
ShortByReference retResultLength,
IntByReference retNoteMatchesFormula,
IntByReference retNoteShouldBeDeleted,
IntByReference retNoteModified);
示例10: NIFFindByKeyExtended2
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public native short NIFFindByKeyExtended2 (long hCollection, Memory keyBuffer,
int findFlags,
int returnFlags,
NotesCollectionPositionStruct retIndexPos,
IntByReference retNumMatches,
ShortByReference retSignalFlags,
LongByReference rethBuffer,
IntByReference retSequence);
示例11: NIFOpenCollectionWithUserNameList
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public short NIFOpenCollectionWithUserNameList (long hViewDB, long hDataDB,
int ViewNoteID, short OpenFlags,
long hUnreadList,
LongByReference rethCollection,
LongByReference rethViewNote, Memory retViewUNID,
LongByReference rethCollapsedList,
LongByReference rethSelectedList,
long nameList);
示例12: FTSearch
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public short FTSearch(
long hDB,
LongByReference phSearch,
long hColl,
Memory query,
int options,
short limit,
long hIDTable,
IntByReference retNumDocs,
Memory reserved,
LongByReference rethResults);
示例13: NSFFormulaCompile
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public short NSFFormulaCompile(
Memory FormulaName,
short FormulaNameLength,
Memory FormulaText,
short FormulaTextLength,
LongByReference rethFormula,
ShortByReference retFormulaLength,
ShortByReference retCompileError,
ShortByReference retCompileErrorLine,
ShortByReference retCompileErrorColumn,
ShortByReference retCompileErrorOffset,
ShortByReference retCompileErrorLength);
示例14: NSFComputeEvaluate
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public short NSFComputeEvaluate(
long hCompute,
long hNote,
LongByReference rethResult,
ShortByReference retResultLength,
IntByReference retNoteMatchesFormula,
IntByReference retNoteShouldBeDeleted,
IntByReference retNoteModified);
示例15: NIFReadEntriesExt
import com.sun.jna.ptr.LongByReference; //导入依赖的package包/类
public native short NIFReadEntriesExt(long hCollection,
NotesCollectionPositionStruct CollectionPos,
short SkipNavigator, int SkipCount,
short ReturnNavigator, int ReturnCount, int ReturnMask,
NotesTimeDateStruct DiffTime, long DiffIDTable, int ColumnNumber, int Flags,
LongByReference rethBuffer, ShortByReference retBufferLength,
IntByReference retNumEntriesSkipped, IntByReference retNumEntriesReturned,
ShortByReference retSignalFlags, NotesTimeDateStruct retDiffTime,
NotesTimeDateStruct retModifiedTime, IntByReference retSequence);