Skip to main content

Post-processing tools 2024 R2

dynamic_visualization_store_error_codes.h File Reference

Last update: 16.07.2025
#include <stdint.h>

Go to the source code of this file.

Macros

#define DVS_PARAM_NULL   -100
 
#define DVS_PARAM_INVALID_SIZE   -101
 
#define DVS_PARAM_OUT_OF_BOUNDS   -102
 
#define DVS_INVALID_ID   -103
 
#define DVS_PARAM_INVALID_VAR   -104
 
#define DVS_PARAM_INVALID_VAR_LOC   -105
 
#define DVS_PARAM_INVALID_OBJECT   -106
 
#define DVS_PARAM_INVALID_OBJECT_TYPE   -107
 
#define DVS_PARAM_INVALID_TIME   -108
 
#define DVS_PARAM_OBJECT_DATASET_MISMATCH   -109
 
#define DVS_PARAM_INVALID   -110
 
#define DVS_INVALID_NAME   -111
 
#define DVS_DUPLICATE_ELEM_BLOCK_TYPE   -112
 
#define DVS_TRANSPORT_NULL_INVALID_SERVER   -150
 
#define DVS_TRANSPORT_SERVICE_UNAVAILABLE   -151
 
#define DVS_TRANSPORT_SERVICE_FAILURE   -152
 
#define DVS_ID_INVALID   -200
 
#define DVS_ID_INVALID_TYPE   -201
 
#define DVS_ID_NO_VALID_SERVER   -202
 
#define DVS_ID_NO_VALID_SESSION   -203
 
#define DVS_ID_OUT_OF_IDS   -204
 
#define DVS_SERVER_START_FAILED   -300
 
#define DVS_SERVER_ALREADY_STARTED   -301
 
#define DVS_SERVER_NOT_STARTED   -302
 
#define DVS_SERVER_FAILED_INIT   -303
 
#define DVS_SERVER_FAILED_SYNC_RANKS   -304
 
#define DVS_SERVER_FAILED_DEFINITIONS_MERGE   -305
 
#define DVS_SERVER_FAILED_TIMELINE_SYNC   -306
 
#define DVS_SERVER_FAILED_READER_CREATE   -307
 
#define DVS_SERVER_WAIT_TIMEOUT   -308
 
#define DVS_SERVER_CACHE_NOT_ACCESSIBLE   -309
 
#define DVS_SERVER_QUERY_FAILED   -310
 
#define DVS_SERVER_TERMINATING   300
 
#define DVS_CLIENT_INVALID_TRANSPORT   -400
 
#define DVS_DATASET_NAME_EMPTY   -500
 
#define DVS_NO_DATA   -502
 
#define DVS_METADATA_NO_HASH_OFFSET_TABLE   -600
 
#define DVS_METADATA_HASH_OFFSET_TABLE_BACKCOMPAT   -601
 
#define DVS_INVALID_STRUCTURED_DATA   -700
 
#define DVS_INVALID_ELEMENT_TYPE   -701
 
#define DVS_INVALID_MESH_TYPE   -702
 
#define DVS_INVALID_CONNECTIVITY_RANGE   -703
 
#define DVS_TYPE_MISMATCH   -704
 
#define DVS_VERSION_MISMATCH   -800
 
#define DVS_VERSION_UNKNOWN   -801
 
#define DVS_QUERY_INVALID_FILTER   -900
 
#define DVS_QUERY_INVALID_URI   -901
 
#define DVS_QUERY_HAS_CHILDREN   -903
 
#define DVS_HASH_NOT_FOUND   -8
 
#define DVS_METADATA_ERROR   -7
 
#define DVS_CACHE_EMPTY   -6
 
#define DVS_CACHE_MISSING_SERVERS   -5
 
#define DVS_INVALID_HASH   -4
 
#define DVS_DATA_FAILED_LOAD   -3
 
#define DVS_INVALID_CACHE   -2
 
#define DVS_UNKNOWN   -1
 
#define DVS_NONE   0
 
#define DVS_RANK_NOT_INITIALIZED   100
 
#define DVS_OTHER_RANKS_NOT_INITIALIZED   101
 
#define DVS_RANK_REINITIALIZING   102
 
#define DVS_RANK_NOT_REINITIALIZED   103
 
#define DVS_RANK_ALREADY_REINITIALIZED   104
 
#define DVS_REINITIALIZE_WAITING_MERGE   105
 
#define DVS_DELETE_BAD_QUERY   109
 

Typedefs

typedef int32_t dvs_ret
 

Detailed Description

Macro Definition Documentation

◆ DVS_CACHE_EMPTY

#define DVS_CACHE_EMPTY   -6

No server folders in cache.

Definition at line 97 of file dynamic_visualization_store_error_codes.h.

◆ DVS_CACHE_MISSING_SERVERS

#define DVS_CACHE_MISSING_SERVERS   -5

Gaps in number of servers, data corrupt?

Definition at line 98 of file dynamic_visualization_store_error_codes.h.

◆ DVS_CLIENT_INVALID_TRANSPORT

#define DVS_CLIENT_INVALID_TRANSPORT   -400

Internal error, tranport layer failed to instantiate.

Definition at line 72 of file dynamic_visualization_store_error_codes.h.

◆ DVS_DATA_FAILED_LOAD

#define DVS_DATA_FAILED_LOAD   -3

Data failed to load from the cache, potentially doesn't exist.

Definition at line 100 of file dynamic_visualization_store_error_codes.h.

◆ DVS_DATASET_NAME_EMPTY

#define DVS_DATASET_NAME_EMPTY   -500

Dataset name passed in is empty.

Definition at line 74 of file dynamic_visualization_store_error_codes.h.

◆ DVS_DELETE_BAD_QUERY

#define DVS_DELETE_BAD_QUERY   109

A bad filter has been given to the delete_item call.

Definition at line 112 of file dynamic_visualization_store_error_codes.h.

◆ DVS_DUPLICATE_ELEM_BLOCK_TYPE

#define DVS_DUPLICATE_ELEM_BLOCK_TYPE   -112

Duplicate element block of same type added, only one element block should be added for each element type.

Definition at line 47 of file dynamic_visualization_store_error_codes.h.

◆ DVS_HASH_NOT_FOUND

#define DVS_HASH_NOT_FOUND   -8

Hash not found in cache when it should be, data invalid.

Definition at line 95 of file dynamic_visualization_store_error_codes.h.

◆ DVS_ID_INVALID

#define DVS_ID_INVALID   -200

Server or client ID is not valid.

Definition at line 53 of file dynamic_visualization_store_error_codes.h.

◆ DVS_ID_INVALID_TYPE

#define DVS_ID_INVALID_TYPE   -201

Client ID used for Server ID or Server ID used for Client ID.

Definition at line 54 of file dynamic_visualization_store_error_codes.h.

◆ DVS_ID_NO_VALID_SERVER

#define DVS_ID_NO_VALID_SERVER   -202

Server ID is not valid or server instance no longer valid.

Definition at line 55 of file dynamic_visualization_store_error_codes.h.

◆ DVS_ID_NO_VALID_SESSION

#define DVS_ID_NO_VALID_SESSION   -203

Session ID for client is not valid or client instance no longer valid.

Definition at line 56 of file dynamic_visualization_store_error_codes.h.

◆ DVS_ID_OUT_OF_IDS

#define DVS_ID_OUT_OF_IDS   -204

Maximum number of clients 1,048,575 reached.

Definition at line 57 of file dynamic_visualization_store_error_codes.h.

◆ DVS_INVALID_CACHE

#define DVS_INVALID_CACHE   -2

There was an error creating/accessing the cache, might not exist or not readable (bad permissions?)

Definition at line 101 of file dynamic_visualization_store_error_codes.h.

◆ DVS_INVALID_CONNECTIVITY_RANGE

#define DVS_INVALID_CONNECTIVITY_RANGE   -703

Connectivity index higher than number of nodes (should be zero based)

Definition at line 84 of file dynamic_visualization_store_error_codes.h.

◆ DVS_INVALID_ELEMENT_TYPE

#define DVS_INVALID_ELEMENT_TYPE   -701

The element type is invalid for this method.

Definition at line 82 of file dynamic_visualization_store_error_codes.h.

◆ DVS_INVALID_HASH

#define DVS_INVALID_HASH   -4

Object hash is invalid, should not happen.

Definition at line 99 of file dynamic_visualization_store_error_codes.h.

◆ DVS_INVALID_ID

#define DVS_INVALID_ID   -103

Invalid ID passed in.

Definition at line 38 of file dynamic_visualization_store_error_codes.h.

◆ DVS_INVALID_MESH_TYPE

#define DVS_INVALID_MESH_TYPE   -702

Invalid mesh type for this method.

Definition at line 83 of file dynamic_visualization_store_error_codes.h.

◆ DVS_INVALID_NAME

#define DVS_INVALID_NAME   -111

Invalid part name.

Definition at line 46 of file dynamic_visualization_store_error_codes.h.

◆ DVS_INVALID_STRUCTURED_DATA

#define DVS_INVALID_STRUCTURED_DATA   -700

Internal error, structured data structure is invalid.

Definition at line 81 of file dynamic_visualization_store_error_codes.h.

◆ DVS_METADATA_ERROR

#define DVS_METADATA_ERROR   -7

Error loading metadata.

Definition at line 96 of file dynamic_visualization_store_error_codes.h.

◆ DVS_METADATA_HASH_OFFSET_TABLE_BACKCOMPAT

#define DVS_METADATA_HASH_OFFSET_TABLE_BACKCOMPAT   -601

Internal error in case of table avaiable but with negative values. Needed for backward compatibility.

Definition at line 79 of file dynamic_visualization_store_error_codes.h.

◆ DVS_METADATA_NO_HASH_OFFSET_TABLE

#define DVS_METADATA_NO_HASH_OFFSET_TABLE   -600

Internal error in case of table not available. Needed for backward compatibility.

Definition at line 78 of file dynamic_visualization_store_error_codes.h.

◆ DVS_NO_DATA

#define DVS_NO_DATA   -502

This object has no data.

Definition at line 76 of file dynamic_visualization_store_error_codes.h.

◆ DVS_NONE

#define DVS_NONE   0

No detected error has occurred.

Definition at line 103 of file dynamic_visualization_store_error_codes.h.

◆ DVS_OTHER_RANKS_NOT_INITIALIZED

#define DVS_OTHER_RANKS_NOT_INITIALIZED   101

Other ranks on server have not yet called begin/end init sequence.

Definition at line 106 of file dynamic_visualization_store_error_codes.h.

◆ DVS_PARAM_INVALID

#define DVS_PARAM_INVALID   -110

Parameter invalid, see error messages.

Definition at line 45 of file dynamic_visualization_store_error_codes.h.

◆ DVS_PARAM_INVALID_OBJECT

#define DVS_PARAM_INVALID_OBJECT   -106

Invalid object passed in.

Definition at line 41 of file dynamic_visualization_store_error_codes.h.

◆ DVS_PARAM_INVALID_OBJECT_TYPE

#define DVS_PARAM_INVALID_OBJECT_TYPE   -107

Invalid object type passed in.

Definition at line 42 of file dynamic_visualization_store_error_codes.h.

◆ DVS_PARAM_INVALID_SIZE

#define DVS_PARAM_INVALID_SIZE   -101

Param passed in was of invalid size.

Definition at line 36 of file dynamic_visualization_store_error_codes.h.

◆ DVS_PARAM_INVALID_TIME

#define DVS_PARAM_INVALID_TIME   -108

Invalid time passed in.

Definition at line 43 of file dynamic_visualization_store_error_codes.h.

◆ DVS_PARAM_INVALID_VAR

#define DVS_PARAM_INVALID_VAR   -104

Invalid variable passed in.

Definition at line 39 of file dynamic_visualization_store_error_codes.h.

◆ DVS_PARAM_INVALID_VAR_LOC

#define DVS_PARAM_INVALID_VAR_LOC   -105

Invalid variable location passed in.

Definition at line 40 of file dynamic_visualization_store_error_codes.h.

◆ DVS_PARAM_NULL

#define DVS_PARAM_NULL   -100

Param passed into method was NULL when it should not be.

Definition at line 35 of file dynamic_visualization_store_error_codes.h.

◆ DVS_PARAM_OBJECT_DATASET_MISMATCH

#define DVS_PARAM_OBJECT_DATASET_MISMATCH   -109

Objects passed in belong to different datasets.

Definition at line 44 of file dynamic_visualization_store_error_codes.h.

◆ DVS_PARAM_OUT_OF_BOUNDS

#define DVS_PARAM_OUT_OF_BOUNDS   -102

A parameter index was out of bounds.

Definition at line 37 of file dynamic_visualization_store_error_codes.h.

◆ DVS_QUERY_HAS_CHILDREN

#define DVS_QUERY_HAS_CHILDREN   -903

A query cannot be modified if it still has child chained queries.

Definition at line 93 of file dynamic_visualization_store_error_codes.h.

◆ DVS_QUERY_INVALID_FILTER

#define DVS_QUERY_INVALID_FILTER   -900

Filter is incorrectly formed.

Definition at line 90 of file dynamic_visualization_store_error_codes.h.

◆ DVS_QUERY_INVALID_URI

#define DVS_QUERY_INVALID_URI   -901

URI is incorrectly formed.

Definition at line 91 of file dynamic_visualization_store_error_codes.h.

◆ DVS_RANK_ALREADY_REINITIALIZED

#define DVS_RANK_ALREADY_REINITIALIZED   104

Begin init already called but server has not finished reinitializing yet.

Definition at line 109 of file dynamic_visualization_store_error_codes.h.

◆ DVS_RANK_NOT_INITIALIZED

#define DVS_RANK_NOT_INITIALIZED   100

Begin update or delete item called on unintialized rank, call begin/end init sequence.

Definition at line 105 of file dynamic_visualization_store_error_codes.h.

◆ DVS_RANK_NOT_REINITIALIZED

#define DVS_RANK_NOT_REINITIALIZED   103

Other ranks have started reinitializing but this one did not, call begin/end init sequence.

Definition at line 108 of file dynamic_visualization_store_error_codes.h.

◆ DVS_RANK_REINITIALIZING

#define DVS_RANK_REINITIALIZING   102

Waiting for reinitializing to occur, other ranks may not have called it yet.

Definition at line 107 of file dynamic_visualization_store_error_codes.h.

◆ DVS_REINITIALIZE_WAITING_MERGE

#define DVS_REINITIALIZE_WAITING_MERGE   105

Waiting on merge of definitions to occur.

Definition at line 110 of file dynamic_visualization_store_error_codes.h.

◆ DVS_SERVER_ALREADY_STARTED

#define DVS_SERVER_ALREADY_STARTED   -301

Server was already previously started.

Definition at line 60 of file dynamic_visualization_store_error_codes.h.

◆ DVS_SERVER_CACHE_NOT_ACCESSIBLE

#define DVS_SERVER_CACHE_NOT_ACCESSIBLE   -309

The cache is not available for write.

Definition at line 68 of file dynamic_visualization_store_error_codes.h.

◆ DVS_SERVER_FAILED_DEFINITIONS_MERGE

#define DVS_SERVER_FAILED_DEFINITIONS_MERGE   -305

Merging definitions across server failed, definitions across servers do not match up.

Definition at line 64 of file dynamic_visualization_store_error_codes.h.

◆ DVS_SERVER_FAILED_INIT

#define DVS_SERVER_FAILED_INIT   -303

DVS server failed to initialize.

Definition at line 62 of file dynamic_visualization_store_error_codes.h.

◆ DVS_SERVER_FAILED_READER_CREATE

#define DVS_SERVER_FAILED_READER_CREATE   -307

Internal error for fatal error.

Definition at line 66 of file dynamic_visualization_store_error_codes.h.

◆ DVS_SERVER_FAILED_SYNC_RANKS

#define DVS_SERVER_FAILED_SYNC_RANKS   -304

DVS server failed syncing ranks, servers disagree on number of ranks.

Definition at line 63 of file dynamic_visualization_store_error_codes.h.

◆ DVS_SERVER_FAILED_TIMELINE_SYNC

#define DVS_SERVER_FAILED_TIMELINE_SYNC   -306

Syncing timelines between servers failed.

Definition at line 65 of file dynamic_visualization_store_error_codes.h.

◆ DVS_SERVER_NOT_STARTED

#define DVS_SERVER_NOT_STARTED   -302

DVS server terminating.

Definition at line 61 of file dynamic_visualization_store_error_codes.h.

◆ DVS_SERVER_QUERY_FAILED

#define DVS_SERVER_QUERY_FAILED   -310

The server query cannot be created yet.

Definition at line 69 of file dynamic_visualization_store_error_codes.h.

◆ DVS_SERVER_START_FAILED

#define DVS_SERVER_START_FAILED   -300

Internal error, server failed to start.

Definition at line 59 of file dynamic_visualization_store_error_codes.h.

◆ DVS_SERVER_TERMINATING

#define DVS_SERVER_TERMINATING   300

DVS server terminating.

Definition at line 70 of file dynamic_visualization_store_error_codes.h.

◆ DVS_SERVER_WAIT_TIMEOUT

#define DVS_SERVER_WAIT_TIMEOUT   -308

Timeout occured, increase wait time if unintended.

Definition at line 67 of file dynamic_visualization_store_error_codes.h.

◆ DVS_TRANSPORT_NULL_INVALID_SERVER

#define DVS_TRANSPORT_NULL_INVALID_SERVER   -150

Internal error, server failed to be instantiated.

Definition at line 49 of file dynamic_visualization_store_error_codes.h.

◆ DVS_TRANSPORT_SERVICE_FAILURE

#define DVS_TRANSPORT_SERVICE_FAILURE   -152

Unrecoverable error, turn on verbose logging to get more information, might be fine depending on use.

Definition at line 51 of file dynamic_visualization_store_error_codes.h.

◆ DVS_TRANSPORT_SERVICE_UNAVAILABLE

#define DVS_TRANSPORT_SERVICE_UNAVAILABLE   -151

Service is unavailable. Potentially increase number of retries and backoff timer.

Definition at line 50 of file dynamic_visualization_store_error_codes.h.

◆ DVS_TYPE_MISMATCH

#define DVS_TYPE_MISMATCH   -704

Mismatched DVS data types.

Definition at line 85 of file dynamic_visualization_store_error_codes.h.

◆ DVS_UNKNOWN

#define DVS_UNKNOWN   -1

Unknown error, notify developers.

Definition at line 102 of file dynamic_visualization_store_error_codes.h.

◆ DVS_VERSION_MISMATCH

#define DVS_VERSION_MISMATCH   -800

Invalid version, please update client and server to match.

Definition at line 87 of file dynamic_visualization_store_error_codes.h.

◆ DVS_VERSION_UNKNOWN

#define DVS_VERSION_UNKNOWN   -801

Unknown version, please update client and server to match.

Definition at line 88 of file dynamic_visualization_store_error_codes.h.

Typedef Documentation

◆ dvs_ret

typedef int32_t dvs_ret

Return value of methods, TODO.

Definition at line 32 of file dynamic_visualization_store_error_codes.h.

Connect with Ansys