Gocator Development Kit
 All Classes Files Functions Variables Typedefs Friends Modules Pages
GdkMeasurementCfg.h
Go to the documentation of this file.
1 /**
2 * @file GdkMeasurementCfg.h
3 * @brief Declares the GdkMeasurementCfg class.
4 *
5 * Copyright (C) 2015-2022 by LMI Technologies Inc. All rights reserved.
6 */
7 #ifndef GDK_MEASUREMENT_CFG_H
8 #define GDK_MEASUREMENT_CFG_H
9 
10 #include <Gdk/GdkDef.h>
12 #include <Gdk/Config/GdkParams.h>
13 
14 /**
15 * Represents configuration for a measurement.
16 *
17 * @class GdkMeasurementCfg
18 * @ingroup Gdk-Config
19 */
21 
22 /**
23 * Returns the measurement type name.
24 *
25 * @public @memberof GdkMeasurementCfg
26 * @param config Configuration object.
27 * @return Pointer to type name.
28 */
29 GdkFx(const kChar*) GdkMeasurementCfg_Type(GdkMeasurementCfg config);
30 
31 /**
32 * Returns the measurement ID.
33 *
34 * @public @memberof GdkMeasurementCfg
35 * @param config Configuration object.
36 * @return Measurement ID.
37 */
39 
40 /**
41 * Returns the measurement name.
42 *
43 * @public @memberof GdkMeasurementCfg
44 * @param config Configuration object.
45 * @return Pointer to name.
46 */
47 GdkFx(const kChar*) GdkMeasurementCfg_Name(GdkMeasurementCfg config);
48 
49 /**
50 * Returns measurement enabled state.
51 *
52 * @public @memberof GdkMeasurementCfg
53 * @param config Configuration object.
54 * @return Enabled state.
55 */
57 
58 /**
59 * Returns user-defined parameter set.
60 *
61 * @public @memberof GdkMeasurementCfg
62 * @param config Configuration object.
63 * @return Parameter set.
64 */
66 
67 /**
68 * Sets the name of the measurement.
69 *
70 * @public @memberof GdkMeasurementCfg
71 * @param config Configuration object.
72 * @param name Name to set to.
73 * @return Operation status.
74 */
75 GdkFx(kStatus) GdkMeasurementCfg_SetName(GdkMeasurementCfg config, const kChar* name);
76 
77 /**
78 * Sets the enabled state of the measurement.
79 *
80 * @public @memberof GdkMeasurementCfg
81 * @param config Configuration object.
82 * @param flag True to enable, false to disable.
83 * @return Operation status.
84 */
86 
87 #include <Gdk/Config/GdkMeasurementCfg.x.h>
88 
89 #endif
Essential Gdk declarations.
const kChar * GdkMeasurementCfg_Name(GdkMeasurementCfg config)
Returns the measurement name.
Represents configuration for a measurement.
Declares the GdkParams class.
Represents a set of parameters.
kStatus GdkMeasurementCfg_SetEnabled(GdkMeasurementCfg config, kBool flag)
Sets the enabled state of the measurement.
k32s GdkMeasurementCfg_Id(GdkMeasurementCfg config)
Returns the measurement ID.
kBool GdkMeasurementCfg_Enabled(GdkMeasurementCfg config)
Returns measurement enabled state.
const kChar * GdkMeasurementCfg_Type(GdkMeasurementCfg config)
Returns the measurement type name.
GdkParams GdkMeasurementCfg_Parameters(GdkMeasurementCfg config)
Returns user-defined parameter set.
kStatus GdkMeasurementCfg_SetName(GdkMeasurementCfg config, const kChar *name)
Sets the name of the measurement.
Declares the GdkToolOutputCfg class.