Gocator API
 All Classes Files Functions Variables Typedefs Macros Modules Pages
GoOutput.h
Go to the documentation of this file.
1 /**
2  * @file GoOutput.h
3  * @brief Declares the GoOutput class.
4  *
5  * @internal
6  * Copyright (C) 2015 by LMI Technologies Inc.
7  * Licensed under the MIT License.
8  * Redistributed files must retain the above copyright notice.
9  */
10 #ifndef GO_SDK_OUTPUT_H
11 #define GO_SDK_OUTPUT_H
12 
13 #include <GoSdk/GoSdkDef.h>
14 #include <GoSdk/Outputs/GoAnalog.h>
17 #include <GoSdk/Outputs/GoSerial.h>
18 
19 kBeginHeader()
20 
21 /**
22  * @class GoOutput
23  * @extends kObject
24  * @ingroup GoSdk-Output
25  * @brief Represents output configuration.
26  */
27 typedef kObject GoOutput;
28 
29 /**
30  * Gets the Ethernet output configuration object.
31  *
32  * @public @memberof GoOutput
33  * @version Introduced in firmware 4.0.10.27
34  * @param output GoOutput object.
35  * @return Ethernet configuration object.
36  */
37 GoFx(GoEthernet) GoOutput_Ethernet(GoOutput output);
38 
39 /**
40  * Gets the Serial output configuration object.
41  *
42  * @public @memberof GoOutput
43  * @version Introduced in firmware 4.0.10.27
44  * @param output GoOutput object.
45  * @return Serial configuration object.
46  */
47 GoFx(GoSerial) GoOutput_Serial(GoOutput output);
48 
49 /**
50  * Gets the count of Digital output configuration objects.
51  *
52  * @public @memberof GoOutput
53  * @version Introduced in firmware 4.0.10.27
54  * @param output GoOutput object.
55  * @return Count of digital output configuration objects.
56  */
57 GoFx(k32u) GoOutput_DigitalCount(GoOutput output);
58 
59 /**
60  * Gets the Digital output configuration object at the specified index.
61  *
62  * @public @memberof GoOutput
63  * @version Introduced in firmware 4.0.10.27
64  * @param output GoOutput object.
65  * @param index Digital output index.
66  * @return Digital output configuration object.
67  */
68 GoFx(GoDigital) GoOutput_DigitalAt(GoOutput output, kSize index);
69 
70 /**
71  * Gets the Analog output configuration object.
72  *
73  * @public @memberof GoOutput
74  * @version Introduced in firmware 4.0.10.27
75  * @param output GoOutput object.
76  * @return Analog configuration object.
77  */
78 GoFx(GoAnalog) GoOutput_Analog(GoOutput output);
79 
80 
81 kEndHeader()
82 #include <GoSdk/Outputs/GoOutput.x.h>
83 
84 #endif
GoEthernet GoOutput_Ethernet(GoOutput output)
Gets the Ethernet output configuration object.
GoDigital GoOutput_DigitalAt(GoOutput output, kSize index)
Gets the Digital output configuration object at the specified index.
GoAnalog GoOutput_Analog(GoOutput output)
Gets the Analog output configuration object.
Declares the GoSerial class.
GoSerial GoOutput_Serial(GoOutput output)
Gets the Serial output configuration object.
Represents Digital output settings.
Declares the GoEthernet class.
Represents output configuration.
Essential SDK declarations.
Represents Serial output settings.
Declares the GoDigital class.
k32u GoOutput_DigitalCount(GoOutput output)
Gets the count of Digital output configuration objects.
Represents Ethernet output settings.
Declares the GoAnalog class.
Represents Analog output settings.