Kanzi 4.0.0-beta2
qnx_screen_macros.hpp File Reference

Macros

#define KANZI_GENERATE_QNX_PROPERTY_HOST_SIGNATURE(qnxType)
 Generates native QNX handle type followed by comma-separated property functions for this QNX resource.
 
#define KANZI_QNX_PROPERTY_GETTER(qnxType, argType)
 Produces a QNX function name that gets a property of a certain type.
 
#define KANZI_QNX_PROPERTY_SETTER(qnxType, argType)
 Produces a QNX function name that sets a property of a certain type.
 

Macro Definition Documentation

◆ KANZI_QNX_PROPERTY_GETTER

#define KANZI_QNX_PROPERTY_GETTER ( qnxType,
argType )

Produces a QNX function name that gets a property of a certain type.

Parameters
qnxTypeQNX resource type.
argTypePrimitive type to access.
Since
Kanzi 4.0.0

◆ KANZI_QNX_PROPERTY_SETTER

#define KANZI_QNX_PROPERTY_SETTER ( qnxType,
argType )

Produces a QNX function name that sets a property of a certain type.

Parameters
qnxTypeQNX resource type.
argTypePrimitive type to set.
Since
Kanzi 4.0.0

◆ KANZI_GENERATE_QNX_PROPERTY_HOST_SIGNATURE

#define KANZI_GENERATE_QNX_PROPERTY_HOST_SIGNATURE ( qnxType)

Generates native QNX handle type followed by comma-separated property functions for this QNX resource.

Should be used to generate correct signature for QnxPropetyHost.

Example code

class QnxContext : public QnxPropertyHost<QnxContext, KANZI_GENERATE_QNX_PROPERTY_HOST_SIGNATURE(context)> {};
Parameters
qnxTypeQNX resource type.
Since
Kanzi 4.0.0