ctrlX Data Layer .NET API  4.3.0
Loading...
Searching...
No Matches
Enums.cs
1using System;
2
3namespace Datalayer
4{
8 [Flags]
10 {
14 None = 0,
18 Read = 1 << 0,
22 Write = 1 << 1,
26 Create = 1 << 2,
30 Delete = 1 << 3,
34 Browse = 1 << 4,
38 All = ~(~0 << 5)
39 }
40
44 public enum DLR_MEMORYTYPE
45 {
50
55
60
65
70 }
71
75 public enum DLR_SCHEMA
76 {
81
86
91
96
101
106
111 }
112
117 {
122 Idle,
123
128 Ping,
129
134 Reconnect,
135
140 ZmqHWMSnd,
141
146 ZmqHWMRcv,
147 }
148
152 public enum DLR_RESULT
153 {
157 DL_OK = 0,
158
163
167 DL_FAILED = unchecked((int)0x80000001),
168
172 DL_INVALID_ADDRESS = unchecked((int)0x80010001),
173
177 DL_UNSUPPORTED = unchecked((int)0x80010002),
178
182 DL_OUT_OF_MEMORY = unchecked((int)0x80010003),
183
187 DL_LIMIT_MIN = unchecked((int)0x80010004),
188
192 DL_LIMIT_MAX = unchecked((int)0x80010005),
193
197 DL_TYPE_MISMATCH = unchecked((int)0x80010006),
198
202 DL_SIZE_MISMATCH = unchecked((int)0x80010007),
203
207 DL_INVALID_FLOATINGPOINT = unchecked((int)0x80010009),
208
212 DL_INVALID_HANDLE = unchecked((int)0x8001000A),
213
217 DL_INVALID_OPERATION_MODE = unchecked((int)0x8001000B),
218
222 DL_INVALID_CONFIGURATION = unchecked((int)0x8001000C),
223
227 DL_INVALID_VALUE = unchecked((int)0x8001000D),
228
232 DL_SUBMODULE_FAILURE = unchecked((int)0x8001000E),
233
237 DL_TIMEOUT = unchecked((int)0x8001000F),
238
242 DL_ALREADY_EXISTS = unchecked((int)0x80010010),
243
247 DL_CREATION_FAILED = unchecked((int)0x80010011),
248
252 DL_VERSION_MISMATCH = unchecked((int)0x80010012),
253
257 DL_DEPRECATED = unchecked((int)0x80010013),
258
262 DL_PERMISSION_DENIED = unchecked((int)0x80010014),
263
267 DL_NOT_INITIALIZED = unchecked((int)0x80010015),
268
272 DL_MISSING_ARGUMENT = unchecked((int)0x80010016),
273
277 DL_TOO_MANY_ARGUMENTS = unchecked((int)0x80010017),
278
282 DL_RESOURCE_UNAVAILABLE = unchecked((int)0x80010018),
283
287 DL_COMMUNICATION_ERROR = unchecked((int)0x80010019),
288
292 DL_TOO_MANY_OPERATIONS = unchecked((int)0x8001001A),
293
297 DL_WOULD_BLOCK = unchecked((int)0x8001001B),
298
302 DL_COMM_PROTOCOL_ERROR = unchecked((int)0x80020001),
303
307 DL_COMM_INVALID_HEADER = unchecked((int)0x80020002),
308
312 DL_CLIENT_NOT_CONNECTED = unchecked((int)0x80030001),
313
317 DL_PROVIDER_RESET_TIMEOUT = unchecked((int)0x80040001),
318
322 DL_PROVIDER_UPDATE_TIMEOUT = unchecked((int)0x80040002),
323
327 DL_PROVIDER_SUB_HANDLING = unchecked((int)0x80040003),
328
332 DL_RT_NOTOPEN = unchecked((int)0x80060001),
333
337 DL_RT_INVALIDOBJECT = unchecked((int)0x80060002),
338
342 DL_RT_WRONGREVISON = unchecked((int)0x80060003),
343
347 DL_RT_NOVALIDDATA = unchecked((int)0x80060004),
348
352 DL_RT_MEMORYLOCKED = unchecked((int)0x80060005),
353
357 DL_RT_INVALIDMEMORYMAP = unchecked((int)0x80060006),
358
362 DL_RT_INVALID_RETAIN = unchecked((int)0x80060007),
363
367 DL_RT_INTERNAL_ERROR = unchecked((int)0x80060008),
368
372 DL_RT_MALLOC_FAILED = unchecked((int)0x80060009),
373
377 DL_RT_WOULD_BLOCK = unchecked((int)0x8006000A),
378
382 DL_SEC_NOTOKEN = unchecked((int)0x80070001),
383
387 DL_SEC_INVALIDSESSION = unchecked((int)0x80070002),
388
392 DL_SEC_INVALIDTOKENCONTENT = unchecked((int)0x80070003),
393
397 DL_SEC_UNAUTHORIZED = unchecked((int)0x80070004),
398
402 DL_SEC_PAYMENT_REQUIRED = unchecked((int)0x80070005),
403 }
404
409 {
414
419
424
429
434
439
444
449
454
459
464
469
474
479
484
489
494
499
504
509
514
519
524
529
534
539
544
549
554 }
555}
DLR_RESULT
The result.
Definition: Enums.cs:153
@ DL_INVALID_VALUE
Invalid value.
@ DL_COMMUNICATION_ERROR
Low level communication error occurred.
@ DL_INVALID_ADDRESS
Address not found, address invalid (browse of this node not possible, write -> address not valid).
@ DL_RT_INVALIDMEMORYMAP
RT invalid memory map.
@ DL_TIMEOUT
Request timeout.
@ DL_RT_NOVALIDDATA
RT no valid data.
@ DL_RT_INTERNAL_ERROR
RT internal error.
@ DL_NOT_INITIALIZED
Object not initialized yet.
@ DL_OUT_OF_MEMORY
Out of memory or resources (RAM, sockets, handles, disk space ...).
@ DL_INVALID_HANDLE
Invalid handle argument or NULL pointer argument.
@ DL_PERMISSION_DENIED
Request declined due to missing permission rights.
@ DL_RESOURCE_UNAVAILABLE
Resource unavailable.
@ DL_CLIENT_NOT_CONNECTED
Client not connected.
@ DL_OK_NO_CONTENT
Function call succeeded with no content.
@ DL_RT_WRONGREVISON
RT wrong memory revision.
@ DL_RT_NOTOPEN
RT not open.
@ DL_SEC_NOTOKEN
No token found.
@ DL_VERSION_MISMATCH
Version conflict.
@ DL_MISSING_ARGUMENT
Missing argument (eg. missing argument in fbs).
@ DL_RT_INVALIDOBJECT
RT invalid object.
@ DL_COMM_PROTOCOL_ERROR
Internal protocol error.
@ DL_RT_MEMORYLOCKED
RT memory already locked.
@ DL_DEPRECATED
Deprecated - function not longer supported.
@ DL_COMM_INVALID_HEADER
Internal header mismatch.
@ DL_PROVIDER_UPDATE_TIMEOUT
Provider update timeout.
@ DL_TYPE_MISMATCH
Wrong flatbuffer type, wrong data type.
@ DL_WOULD_BLOCK
Request would block, you have called a synchronous function in a callback from a asynchronous functio...
@ DL_TOO_MANY_ARGUMENTS
To many arguments.
@ DL_RT_WOULD_BLOCK
BeginAccess would block because there are no data.
@ DL_SEC_INVALIDTOKENCONTENT
Token has wrong content.
@ DL_PROVIDER_RESET_TIMEOUT
Provider reset timeout.
@ DL_SIZE_MISMATCH
Size mismatch, present size doesn't match requested size.
@ DL_FAILED
Function call failed.
@ DL_LIMIT_MAX
The maximum of a limitation is exceeded.
@ DL_LIMIT_MIN
The minimum of a limitation is exceeded.
@ DL_INVALID_FLOATINGPOINT
Invalid floating point number.
@ DL_SEC_PAYMENT_REQUIRED
Payment required.
@ DL_UNSUPPORTED
Function not implemented.
@ DL_ALREADY_EXISTS
Create: resource already exists.
@ DL_INVALID_OPERATION_MODE
Not accessible due to invalid operation mode (write not possible).
@ DL_CREATION_FAILED
Error during creation.
@ DL_SEC_UNAUTHORIZED
Unauthorized.
@ DL_SEC_INVALIDSESSION
Token not valid (session not found).
@ DL_RT_INVALID_RETAIN
RT invalid retain.
@ DL_OK
Function call succeeded.
@ DL_TOO_MANY_OPERATIONS
Request can't be handled due to too many operations.
@ DL_INVALID_CONFIGURATION
Mismatch of this value with other configured values.
@ DL_SUBMODULE_FAILURE
Error in submodule.
@ DL_PROVIDER_SUB_HANDLING
Provider default subscription handling.
@ DL_RT_MALLOC_FAILED
Allocation of shared memory failed - datalayer-shm connected?
DLR_MEMORYTYPE
The memory type.
Definition: Enums.cs:45
@ MemoryType_SharedRetain
Shared retain memory type.
@ MemoryType_Output
Output memory type.
@ MemoryType_Shared
Shared memory type.
@ MemoryType_Unknown
Unknown memory type.
@ MemoryType_Input
Input memory type.
DLR_TIMEOUT_SETTING
The timeout setting.
Definition: Enums.cs:117
@ ZmqHWMRcv
High water mark of ZMQ (Receive). Default: 1000.
@ Reconnect
Timeout a reconnect attempt will be done if client looses connection to broker. Default: 1000 ms.
@ ZmqHWMSnd
High water mark of ZMQ (Send). Default: 1000.
@ Ping
Timeout to wait for a response of a request. If timeout is exceeded, the request will be aborted with...
@ Idle
Timeout to check whether the broker is still active when client is idle. Default: 30000 ms.
AllowedOperationFlags
The AllowedOperationFlags enumeration flags.
Definition: Enums.cs:10
DLR_VARIANT_TYPE
DLR_VARIANT_TYPE.
Definition: Enums.cs:409
@ DLR_VARIANT_TYPE_ARRAY_OF_INT64
Array of Signed int 64 bit.
@ DLR_VARIANT_TYPE_STRING
String (UTF-8)
@ DLR_VARIANT_TYPE_UINT8
Unsigned int 8 bit.
@ DLR_VARIANT_TYPE_INT8
Signed int 8 bit.
@ DLR_VARIANT_TYPE_UINT32
Unsigned int 32 bit.
@ DLR_VARIANT_TYPE_UINT64
Unsigned int 64 bit.
@ DLR_VARIANT_TYPE_ARRAY_OF_INT16
Array of Signed int 16 bit.
@ DLR_VARIANT_TYPE_RAW
Raw bytes.
@ DLR_VARIANT_TYPE_INT64
Signed int 64 bit.
@ DLR_VARIANT_TYPE_ARRAY_OF_UINT32
Array of Unsigned int 32 bit.
@ DLR_VARIANT_TYPE_FLATBUFFERS
Bytes as a complex data type encoded as a flatbuffer.
@ DLR_VARIANT_TYPE_ARRAY_OF_INT32
Array of Signed int 32 bit.
@ DLR_VARIANT_TYPE_ARRAY_OF_UINT64
Array of Unsigned int 64 bit.
@ DLR_VARIANT_TYPE_ARRAY_OF_FLOAT64
Array of float 64 bit.
@ DLR_VARIANT_TYPE_ARRAY_OF_UINT16
Array of Unsigned int 16 bit.
@ DLR_VARIANT_TYPE_INT32
Signed int 32 bit.
@ DLR_VARIANT_TYPE_ARRAY_OF_STRING
Array of string (UTF-8)
@ DLR_VARIANT_TYPE_ARRAY_OF_BOOL8
Array of bool 8 bit.
@ DLR_VARIANT_TYPE_BOOL8
Bool 8 bit.
@ DLR_VARIANT_TYPE_TIMESTAMP
Timestamp (FILETIME) 64 bit 100ns since 1.1.1601 (UTC)
@ DLR_VARIANT_TYPE_ARRAY_OF_TIMESTAMP
Array of Timestamp (FILETIME) 64 bit 100ns since 1.1.1601 (UTC)
@ DLR_VARIANT_TYPE_UINT16
Unsigned int 16 bit.
@ DLR_VARIANT_TYPE_ARRAY_OF_INT8
Array of Signed int 8 bit.
@ DLR_VARIANT_TYPE_FLOAT32
Float 32 bit.
@ DLR_VARIANT_TYPE_INT16
Signed int 16 bit.
@ DLR_VARIANT_TYPE_ARRAY_OF_UINT8
Array of Unsigned int 8 bit.
@ DLR_VARIANT_TYPE_FLOAT64
Float 64 bit.
@ DLR_VARIANT_TYPE_UNKNOWN
Unknown datatype.
@ DLR_VARIANT_TYPE_ARRAY_OF_FLOAT32
Array of float 32 bit.
DLR_SCHEMA
The schema.
Definition: Enums.cs:76
@ DLR_SCHEMA_MEMORY_MAP
Map schema.
@ DLR_SCHEMA_PROBLEM
Problem schema.
@ DLR_SCHEMA_METADATA
Metadata schema.
@ DLR_SCHEMA_REFLECTION
Reflection schema.
@ DLR_SCHEMA_DIAGNOSIS
Diagnosis schema.
@ DLR_SCHEMA_TOKEN
Token schema.
@ DLR_SCHEMA_MEMORY
Memory schema.