Gocator Development Kit
 All Classes Files Functions Variables Typedefs Friends Modules Pages
GdkOutputInfo.h
Go to the documentation of this file.
1 /**
2 * @file GdkOutputInfo.h
3 * @brief Declares the GdkOutputInfo class.
4 *
5 * Copyright (C) 2017-2022 by LMI Technologies Inc. All rights reserved.
6 */
7 #ifndef GDK_OUTPUT_INFO_H
8 #define GDK_OUTPUT_INFO_H
9 
10 #include <Gdk/GdkDef.h>
12 
13 /**
14 * Describes a output type.
15 *
16 * @class GdkOutputInfo
17 * @extends kObject
18 * @ingroup Gdk-Tools
19 */
20 typedef kObject GdkOutputInfo;
22 
23 /**
24 * Adds a new parameter to the output info object.
25 *
26 * @public @memberof GdkOutputInfo
27 * @param outputInfo Output info object.
28 * @param paramType Parameter type to add. Should be one of the following:
29 * - #GDK_PARAM_TYPE_INT
30 * - #GDK_PARAM_TYPE_FLOAT
31 * - #GDK_PARAM_TYPE_BOOL
32 * - #GDK_PARAM_TYPE_PROFILE_REGION
33 * - #GDK_PARAM_TYPE_SURFACE_REGION
34 * - #GDK_PARAM_TYPE_SURFACE_REGION_2D
35 * @param name Parameter name.
36 * @param label Parameter label; same as name if kNULL.
37 * @param defValue Pointer to default value to set (depends on paramType).
38 * @param paramInfo Pointer to receive the newly added param info object.
39 * @return Operation status.
40 */
41 GdkFx(kStatus) GdkOutputInfo_AddParam(GdkOutputInfo outputInfo, GdkParamType paramType, const kChar* name, const kChar* label, void *defValue, GdkParamInfo *paramInfo);
42 
43 #include <Gdk/Tools/GdkOutputInfo.x.h>
44 
45 #endif
Essential Gdk declarations.
Definition: GdkCfgInterfaces.h:14
#define kDeclareClassEx(PREFIX, SYMBOL, BASE)
Represents the schema of a configurable parameter.
Declares the GdkParamsInfo class.
Describes a output type.
kStatus GdkOutputInfo_AddParam(GdkOutputInfo outputInfo, GdkParamType paramType, const kChar *name, const kChar *label, void *defValue, GdkParamInfo *paramInfo)
Adds a new parameter to the output info object.
Type of a parameter.