@Namespace(value="rs") @NoOffset @Properties(inherit=RealSense.class) public class context extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
context()
\brief Creates RealSense context that is required for the rest of the API
|
context(long size)
Native array allocator.
|
context(Pointer p)
Pointer cast constructor.
|
context(rs_context handle) |
| Modifier and Type | Method and Description |
|---|---|
int |
get_device_count()
Determines number of connected devices
|
device |
get_device(int index)
Retrieves connected device by index
|
context |
position(long position) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic context(Pointer p)
Pointer.Pointer(Pointer).public context(long size)
Pointer.position(long).public context()
public context(rs_context handle)
public int get_device_count()
public device get_device(int index)
index - [in] Zero-based index of device to retrieveCopyright © 2020. All rights reserved.