Documentation Home Page RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.

C-API | OP_ALIAS_INFO

Description

Defines the structure of information for an alias.

Usage

typedef struct OP_ALIAS_INFO{

char *aliasName;

char *referencePath;

OP_OBJECT_TYPE refType;

char readOnly;

OP_SEARCH_RESULTS exist;

struct OP_ALIAS_INFO *newAlias;

} OP_ALIAS_INFO;

Elements
  • aliasName: Alias' name.
  • referencePath: Absolute path of the parameter or signal referenced by the alias. This path must exist in the model.
  • referenceType: See OP_OBJECT_TYPE.
  • readOnly: Boolean: true means that the alias is readonly (cannot modify the value of the reference).
  • exist: See OP_SEARCH_RESULTS. This field is only setted when the structure is obtained from the OpalLoadAliasDescription function.
  • newAlias: Pointer to new estimated alias if the alias doesn't exist in the current model. This field is only set when the structure is obtained from the OpalLoadAliasDescription function.
ExamplesNone.
Related ItemsOpalGetAliasDescription, OpalLoadAliasDescription, OP_SEARCH_RESULTS, OP_OBJECT_TYPE.
Library and Header

WINDOWSLINUX
Static LibraryOpalApi.lib-
Dynamic LibraryOPalApi.dlllibOpalApi.so
Header FileOpalApi.hOpalApi.h

OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter