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_TARGET_PLATFORM

Description

Gives the type of the target.

Usage

typedef enum{

UNKNOWN_TARGET,

QNX_TARGET,

NT_TARGET,

QNXNTO_TARGET,

REDHAWK_TARGET,

REDHAWK64_TARGET,

LINUX_TARGET

} OP_TARGET_PLATFORM;

Elements
  • UNKNOWN_TARGET (0): Target not defined
  • QNX_TARGET (1): QNX 4.2.x target. Not supported 
  • NT_TARGET (2): Windows target
  • QNXNTO_TARGET (3): QNX 6 target. Not supported 
  • REDHAWK_TARGET (4): OPAL-RTLinux (x86-based) target
  • REDHAWK64_TARGET (5): OPAL-RTLinux (x64-based) target
  • LINUX_TARGET (6): Linux target (for future use)
Examples

See the example configuration.

Related ItemsOpalGetTargetPlatform, OpalSetTargetPlatform
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