Gocator Development Kit
 All Classes Files Functions Variables Typedefs Friends Modules Pages
GdkTool.h
Go to the documentation of this file.
1 /**
2  * @file GdkTool.h
3  * @brief Declares the GdkTool class.
4  *
5  * Copyright (C) 2015 by LMI Technologies Inc. All rights reserved.
6  */
7 #ifndef GDK_TOOL_H
8 #define GDK_TOOL_H
9 
10 #include <Gdk/GdkDef.h>
11 #include <Gdk/Tools/GdkToolInfo.h>
12 #include <Gdk/Config/GdkToolCfg.h>
13 #include <Gdk/Tools/GdkToolInput.h>
16 
17 kBeginHeader()
18 
19 typedef struct GdkToolEnv
20 {
21  GdkSensorInfo sensorInfo;
22 } GdkToolEnv;
23 
24 /**
25 * Base class for a tool implementation.
26 *
27 * @class GdkTool
28 * @extends kObject
29 * @ingroup Gdk-Tools
30 */
31 typedef kObject GdkTool;
32 
33 /**
34 * Returns the tool configuration.
35 *
36 * @public @memberof GdkTool
37 * @param tool Tool object.
38 * @return Current configuration object.
39 */
40 GdkFx(GdkToolCfg) GdkTool_Config(GdkTool tool);
41 
42 /**
43 * Returns the sensor information.
44 *
45 * @public @memberof GdkTool
46 * @param tool Tool object.
47 * @return Current sensor info.
48 */
50 
51 GdkFx(kStatus) GdkTool_Start(GdkTool tool);
52 GdkFx(kStatus) GdkTool_Stop(GdkTool tool);
53 GdkFx(kStatus) GdkTool_Process(GdkTool tool, GdkToolInput input, GdkToolOutput output);
54 
55 kEndHeader()
56 
57 #include <Gdk/Tools/GdkTool.x.h>
58 
59 #endif
Essential Gdk declarations.
Declares the GdkToolOutput class.
Declares the GdkSensorInfo class.
GdkSensorInfo GdkTool_SensorInfo(GdkTool tool)
Returns the sensor information.
Describes the sensor system environment.
GdkToolCfg GdkTool_Config(GdkTool tool)
Returns the tool configuration.
Represents configuration for a tool.
Represents a tool input collection.
Declares the GdkToolCfg class.
Declares the GdkToolInput and related classes.
Base class for a tool implementation.
Declares the GdkToolCfg class.
Represents a tool output collection.