Gocator Development Kit
Home
Topics
Types
Files
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
>
11
#include <
Gdk/Config/GdkParamsInfo.h
>
12
13
/**
14
* Describes a output type.
15
*
16
* @class GdkOutputInfo
17
* @extends kObject
18
* @ingroup Gdk-Tools
19
*/
20
typedef
kObject
GdkOutputInfo
;
21
kDeclareClassEx
(
Gdk
,
GdkOutputInfo
,
kObject
)
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
GdkDef.h
Essential Gdk declarations.
Gdk
Definition:
GdkCfgInterfaces.h:14
kDeclareClassEx
#define kDeclareClassEx(PREFIX, SYMBOL, BASE)
kChar
GdkParamInfo
Represents the schema of a configurable parameter.
GdkParamsInfo.h
Declares the GdkParamsInfo class.
GdkOutputInfo
Describes a output type.
GdkOutputInfo::GdkOutputInfo_AddParam
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.
kObject
kStatus
GdkParamType
Type of a parameter.
Tools
GdkOutputInfo.h