Gocator Development Kit
Home
Topics
Types
Files
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
>
14
#include <
Gdk/Tools/GdkToolOutput.h
>
15
#include <
Gdk/Utils/GdkSensorInfo.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
*/
49
GdkFx(
GdkSensorInfo
)
GdkTool_SensorInfo
(
GdkTool
tool);
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
GdkDef.h
Essential Gdk declarations.
GdkToolOutput.h
Declares the GdkToolOutput class.
GdkSensorInfo.h
Declares the GdkSensorInfo class.
GdkTool::GdkTool_SensorInfo
GdkSensorInfo GdkTool_SensorInfo(GdkTool tool)
Returns the sensor information.
GdkSensorInfo
Describes the sensor system environment.
GdkTool::GdkTool_Config
GdkToolCfg GdkTool_Config(GdkTool tool)
Returns the tool configuration.
GdkToolCfg
Represents configuration for a tool.
GdkToolInput
Represents a tool input collection.
kObject
kStatus
GdkToolInfo.h
Declares the GdkToolCfg class.
GdkToolInput.h
Declares the GdkToolInput and related classes.
GdkTool
Base class for a tool implementation.
GdkToolCfg.h
Declares the GdkToolCfg class.
GdkToolOutput
Represents a tool output collection.
Tools
GdkTool.h
This site is best viewed with Firefox. Copyright (C) 2003-2016 by LMI Technologies.