Skip to main content

Classes

Enumeration types

Enumeration type VAR_TYPE

Variable type enum definition. Support FLOAT and INT64 Usage example: if VAR_TYPE::INT64 is passed in as an argument of a method. Only int64_t data will be processed. By default, VAR_TYPE::FLOAT is used.

Enumerator FLOAT

Enumerator INT64

Functions

Function CREATE_QUERY_INSTANCE

Create a query interface object. Returns: DVS::IQuery object instance, call release to destroy this object Return type: DVS_DLL_EXPORT IQuery *

Function CREATE_CLIENT_INSTANCE

Factory method to create a dynamic data client interface instance. Parameters: Returns: DVS::IClient* instance of a dvs client, (nullptr if failure), must be destroyed with DESTROY_CLIENT_INSTANCE Parameters: Return type: DVS_DLL_EXPORT DVS::IClient *

Function DESTROY_CLIENT_INSTANCE

Destruction method for a client created with CREATE_CLIENT_INSTANCE. Parameters:
  • destroy: Instance of a client to destroy
Parameters: Return type: DVS_DLL_EXPORT void

Function CREATE_SERVER_INSTANCE

Create a DVS::IServer instance for clients to connect to. There are currently 2 types of server communication, grpc over a network or “null” which uses direct method calls. Parameters:
  • uri: URI of server to create of the format protocol://hostname:port, i.e. grpc://localhost:50055 or null:// see Server URIs for more info.
Returns: IServer* instance to be later destroyed by calling DVS::DESTROY_SERVER_INSTANCE() Parameters:
  • const char * uri
Return type: DVS_DLL_EXPORT IServer *

Function DESTROY_SERVER_INSTANCE

Destroy the server instance (also shutting it down if needed). Parameters: Parameters: Return type: DVS_DLL_EXPORT void