├── .gitreview
├── CMakeLists.txt
├── README.md
├── bin
└── .gitignore
├── build
├── linux
│ └── .gitignore
└── windows
│ └── .gitignore
├── demo
├── csharp
│ ├── .gitignore
│ ├── App.config
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ └── openconfigurator_core_net_app.csproj
└── java
│ ├── .gitignore
│ └── src
│ └── org
│ └── epsg
│ └── openconfigurator
│ └── core
│ └── java
│ └── app
│ ├── WrapperTestMainLinux.java
│ ├── WrapperTestMainMSVC.java
│ └── WrapperTestMainMinGW.java
├── doc
└── .gitignore
├── library
├── CMakeLists.txt
├── Include
│ ├── AccessType.h
│ ├── ApplicationProcess.h
│ ├── ArrayDataType.h
│ ├── BaseNode.h
│ ├── BaseObject.h
│ ├── BaseParameter.h
│ ├── BaseProcessDataMapping.h
│ ├── BaseProcessImageObject.h
│ ├── BuildConfigurationId.h
│ ├── BuildConfigurationSetting.h
│ ├── BuildConfigurationSettingBuilder.h
│ ├── CProcessImageGenerator.h
│ ├── CnFeature.h
│ ├── ComplexDataType.h
│ ├── ConfigurationGenerator.h
│ ├── Constants.h
│ ├── ControlledNode.h
│ ├── Direction.h
│ ├── DynamicChannel.h
│ ├── DynamicChannelAccessType.h
│ ├── EnumDataType.h
│ ├── ErrorCode.h
│ ├── FeatureFlags.h
│ ├── GeneralFeature.h
│ ├── IBaseInterface.h
│ ├── IBaseObject.h
│ ├── IBuildConfiguration.h
│ ├── IBuildConfigurationSetting.h
│ ├── IEC_Datatype.h
│ ├── IFieldbusNode.h
│ ├── IParameterGroupEntry.h
│ ├── IResult.h
│ ├── Interface.h
│ ├── Language.h
│ ├── LoggingConfiguration.h
│ ├── ManagingNode.h
│ ├── ManagingNodeMappingBuilder.h
│ ├── MnFeature.h
│ ├── ModularControlledNode.h
│ ├── Module.h
│ ├── ModuleInterface.h
│ ├── NetProcessImageGenerator.h
│ ├── Network.h
│ ├── NetworkManagement.h
│ ├── NodeAssignment.h
│ ├── Object.h
│ ├── ObjectType.h
│ ├── OpenConfiguratorCore.h
│ ├── PDOMapping.h
│ ├── Parameter.h
│ ├── ParameterAccess.h
│ ├── ParameterGroup.h
│ ├── ParameterReference.h
│ ├── ParameterTemplate.h
│ ├── PlkConfiguration.h
│ ├── PlkDataType.h
│ ├── PlkFeature.h
│ ├── PlkFeatureEnum.h
│ ├── PlkOperationMode.h
│ ├── ProcessImageGenerator.h
│ ├── ProjectManager.h
│ ├── Range.h
│ ├── RedundantManagingNode.h
│ ├── Result.h
│ ├── SortEnums.h
│ ├── StructDataType.h
│ ├── SubObject.h
│ ├── Utilities.h
│ ├── VarDeclaration.h
│ └── XmlProcessImageGenerator.h
└── src
│ ├── ApplicationProcess.cpp
│ ├── ArrayDataType.cpp
│ ├── BaseNode.cpp
│ ├── BaseObject.cpp
│ ├── BaseParameter.cpp
│ ├── BaseProcessDataMapping.cpp
│ ├── BaseProcessImageObject.cpp
│ ├── BuildConfigurationSetting.cpp
│ ├── CProcessImageGenerator.cpp
│ ├── CnFeature.cpp
│ ├── ComplexDataType.cpp
│ ├── ConfigurationGenerator.cpp
│ ├── ControlledNode.cpp
│ ├── DynamicChannel.cpp
│ ├── EnumDataType.cpp
│ ├── GeneralFeature.cpp
│ ├── Interface.cpp
│ ├── LoggingConfiguration.cpp
│ ├── ManagingNode.cpp
│ ├── ManagingNodeMappingBuilder.cpp
│ ├── MnFeature.cpp
│ ├── ModularControlledNode.cpp
│ ├── Module.cpp
│ ├── ModuleInterface.cpp
│ ├── NetProcessImageGenerator.cpp
│ ├── Network.cpp
│ ├── NetworkManagement.cpp
│ ├── Object.cpp
│ ├── OpenConfiguratorCore.cpp
│ ├── Parameter.cpp
│ ├── ParameterGroup.cpp
│ ├── ParameterReference.cpp
│ ├── ParameterTemplate.cpp
│ ├── PlkConfiguration.cpp
│ ├── ProjectManager.cpp
│ ├── Range.cpp
│ ├── RedundantManagingNode.cpp
│ ├── Result.cpp
│ ├── StructDataType.cpp
│ ├── SubObject.cpp
│ ├── Utilities.cpp
│ ├── VarDeclaration.cpp
│ └── XmlProcessImageGenerator.cpp
├── resources
├── boost_log_settings.ini
└── doc
│ ├── glossary.md
│ ├── openconfigurator.core.css
│ ├── openconfigurator.core.layout.xml
│ ├── openconfigurator.core.mainpage.txt
│ ├── openconfigurator_core.doxyfile
│ └── powerlink_logo_small.jpg
├── test
├── CMakeLists.txt
├── FindCppUnit.cmake
├── Include
│ ├── AccessTypeTest.h
│ ├── ApplicationProcessTest.h
│ ├── ArrayDataTypeTest.h
│ ├── BaseNodeTest.h
│ ├── BaseObjectTest.h
│ ├── ComplexDataTypeTest.h
│ ├── ControlledNodeTest.h
│ ├── DynamicChannelTest.h
│ ├── EnumDataTypeTest.h
│ ├── ErrorCodeTest.h
│ ├── IEC_DatatypeTest.h
│ ├── LoggingConfigurationTest.h
│ ├── ManagingNodeTest.h
│ ├── ModularControlledNodeTest.h
│ ├── ModuleTest.h
│ ├── NetworkManagementTest.h
│ ├── NetworkTest.h
│ ├── ObjectTest.h
│ ├── ObjectTypeTest.h
│ ├── PDOMappingTest.h
│ ├── ParameterAccessTest.h
│ ├── ParameterTest.h
│ ├── PlkConfigurationTest.h
│ ├── PlkDataTypeTest.h
│ ├── PlkFeatureTest.h
│ ├── PlkOperationModeTest.h
│ ├── ProjectManagerTest.h
│ ├── RangeTest.h
│ ├── ResultTest.h
│ ├── StructDataTypeTest.h
│ ├── SubObjectTest.h
│ ├── TestTemplate.h
│ └── VarDeclarationTest.h
└── src
│ ├── AccessTypeTest.cpp
│ ├── ApplicationProcessTest.cpp
│ ├── ArrayDataTypeTest.cpp
│ ├── BaseNodeTest.cpp
│ ├── BaseObjectTest.cpp
│ ├── ComplexDataTypeTest.cpp
│ ├── ControlledNodeTest.cpp
│ ├── CoreTestSuite.cpp
│ ├── DynamicChannelTest.cpp
│ ├── EnumDataTypeTest.cpp
│ ├── ErrorCodeTest.cpp
│ ├── IEC_DatatypeTest.cpp
│ ├── LoggingConfigurationTest.cpp
│ ├── ManagingNodeTest.cpp
│ ├── ModularControlledNodeTest.cpp
│ ├── ModuleTest.cpp
│ ├── NetworkManagementTest.cpp
│ ├── NetworkTest.cpp
│ ├── ObjectTest.cpp
│ ├── ObjectTypeTest.cpp
│ ├── PDOMappingTest.cpp
│ ├── ParameterAccessTest.cpp
│ ├── ParameterTest.cpp
│ ├── PlkConfigurationTest.cpp
│ ├── PlkDataTypeTest.cpp
│ ├── PlkFeatureTest.cpp
│ ├── PlkOperationModeTest.cpp
│ ├── ProjectManagerTest.cpp
│ ├── RangeTest.cpp
│ ├── ResultTest.cpp
│ ├── StructDataTypeTest.cpp
│ ├── SubObjectTest.cpp
│ ├── TestTemplate.cpp
│ └── VarDeclarationTest.cpp
└── wrapper
├── csharp
├── CMakeLists.txt
├── openconfigurator_core_wrapper_net.i
└── std_string_ref.i
└── java
├── CMakeLists.txt
├── openconfigurator_core_wrapper_java.i
└── std_string_ref.i
/.gitreview:
--------------------------------------------------------------------------------
1 | [gerrit]
2 | host=gerrit.br-automation.co.at
3 | port=29418
4 | project=oat/openCONFIGURATOR/openCONFIGURATOR_2.0_core.git
5 | defaultremote=origin
6 | defaultrebase=0
7 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | openCONFIGURATOR library
2 | ======
3 |
--------------------------------------------------------------------------------
/bin/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | .*
3 | !.gitignore
4 |
5 |
--------------------------------------------------------------------------------
/build/linux/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | .*
3 | !.gitignore
--------------------------------------------------------------------------------
/build/windows/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | .*
3 | !.gitignore
--------------------------------------------------------------------------------
/demo/csharp/.gitignore:
--------------------------------------------------------------------------------
1 | *.cs
2 | obj
3 | *.csproj
--------------------------------------------------------------------------------
/demo/csharp/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/demo/csharp/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("openconfigurator_core_net_app")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("Bernecker + Rainer")]
12 | [assembly: AssemblyProduct("openconfigurator_core_net_app")]
13 | [assembly: AssemblyCopyright("Copyright © Bernecker + Rainer 2015")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("59e45f95-877b-46f6-a9eb-a353bf1df95d")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/demo/java/.gitignore:
--------------------------------------------------------------------------------
1 | dist
2 | lib
3 |
--------------------------------------------------------------------------------
/doc/.gitignore:
--------------------------------------------------------------------------------
1 | *
2 | .*
3 | !.gitignore
4 |
5 |
--------------------------------------------------------------------------------
/library/Include/AccessType.h:
--------------------------------------------------------------------------------
1 | /************************************************************************
2 | \file AccessType.h
3 | \brief Implementation of the Class AccessType
4 | \author rueckerc, Bernecker+Rainer Industrie Elektronik Ges.m.b.H.
5 | \date 01-May-2015 12:00:00
6 | ************************************************************************/
7 |
8 | /*------------------------------------------------------------------------------
9 | Copyright (c) 2015, Bernecker+Rainer Industrie-Elektronik Ges.m.b.H. (B&R)
10 | All rights reserved.
11 | Redistribution and use in source and binary forms, with or without
12 | modification, are permitted provided that the following conditions are met:
13 | * Redistributions of source code must retain the above copyright
14 | notice, this list of conditions and the following disclaimer.
15 | * Redistributions in binary form must reproduce the above copyright
16 | notice, this list of conditions and the following disclaimer in the
17 | documentation and/or other materials provided with the distribution.
18 | * Neither the name of the copyright holders nor the
19 | names of its contributors may be used to endorse or promote products
20 | derived from this software without specific prior written permission.
21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24 | DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS BE LIABLE FOR ANY
25 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 | ------------------------------------------------------------------------------*/
32 | #if !defined ACCESS_TYPE_H
33 | #define ACCESS_TYPE_H
34 |
35 | #include
36 |
37 | namespace IndustrialNetwork
38 | {
39 | namespace POWERLINK
40 | {
41 | namespace Core
42 | {
43 | /**
44 | \brief %Object dictionary related namespace
45 | \author rueckerc, Bernecker+Rainer Industrie Elektronik Ges.m.b.H.
46 | */
47 | namespace ObjectDictionary
48 | {
49 | /**
50 | \brief Presents the access type of a POWERLINK object
51 | \author rueckerc, Bernecker+Rainer Industrie Elektronik Ges.m.b.H.
52 | */
53 | enum class AccessType : std::uint8_t
54 | {
55 | UNDEFINED = 0,
56 | RW = 1,
57 | RWS,
58 | WO,
59 | WOS,
60 | RO,
61 | CONST,
62 | COND
63 |
64 | };
65 |
66 | static const std::string AccessTypeValues[] =
67 | {
68 | "UNDEFINED",
69 | "RW",
70 | "RWS",
71 | "WO",
72 | "WOS",
73 | "RO",
74 | "CONST",
75 | "COND"
76 | };
77 | }
78 | }
79 | }
80 | }
81 | #endif
82 |
--------------------------------------------------------------------------------
/library/Include/Constants.h:
--------------------------------------------------------------------------------
1 | /************************************************************************
2 | \file Constants.h
3 | \brief Constants ("real" constants or #defines) used throughout the codebase.
4 | \author David Puffer, Bernecker + Rainer Industrie Elektronik Ges.m.b.H.
5 | ************************************************************************/
6 | /*------------------------------------------------------------------------------
7 | Copyright (c) 2015, Bernecker+Rainer Industrie-Elektronik Ges.m.b.H. (B&R)
8 | All rights reserved.
9 | Redistribution and use in source and binary forms, with or without
10 | modification, are permitted provided that the following conditions are met:
11 | * Redistributions of source code must retain the above copyright
12 | notice, this list of conditions and the following disclaimer.
13 | * Redistributions in binary form must reproduce the above copyright
14 | notice, this list of conditions and the following disclaimer in the
15 | documentation and/or other materials provided with the distribution.
16 | * Neither the name of the copyright holders nor the
17 | names of its contributors may be used to endorse or promote products
18 | derived from this software without specific prior written permission.
19 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
20 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
21 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
22 | DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS BE LIABLE FOR ANY
23 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
24 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
25 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
26 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 | ------------------------------------------------------------------------------*/
30 | #ifndef CONSTANTS_H_
31 | #define CONSTANTS_H_
32 |
33 | #define DLLEXPORT
34 |
35 | #if defined(_WIN32) && defined(_MSC_VER)
36 | #undef DLLEXPORT
37 | #define DLLEXPORT __declspec(dllexport)
38 | #endif
39 |
40 | const char kPathSeparator =
41 | #ifdef _WIN32
42 | '\\';
43 | #else
44 | '/';
45 | #endif
46 |
47 | const char kVersionMajor = '2';
48 | const char kVersionMinor = '2';
49 | const char kVersionFix = '1';
50 | const std::string kReleaseType = "release";
51 |
52 | #endif // CONSTANTS_H_
53 |
--------------------------------------------------------------------------------
/library/Include/Direction.h:
--------------------------------------------------------------------------------
1 | /************************************************************************
2 | \file Direction.h
3 | \brief Implementation of the Class Direction
4 | \author rueckerc, Bernecker+Rainer Industrie Elektronik Ges.m.b.H.
5 | \date 01-May-2015 12:00:00
6 | ************************************************************************/
7 |
8 | /*------------------------------------------------------------------------------
9 | Copyright (c) 2015, Bernecker+Rainer Industrie-Elektronik Ges.m.b.H. (B&R)
10 | All rights reserved.
11 | Redistribution and use in source and binary forms, with or without
12 | modification, are permitted provided that the following conditions are met:
13 | * Redistributions of source code must retain the above copyright
14 | notice, this list of conditions and the following disclaimer.
15 | * Redistributions in binary form must reproduce the above copyright
16 | notice, this list of conditions and the following disclaimer in the
17 | documentation and/or other materials provided with the distribution.
18 | * Neither the name of the copyright holders nor the
19 | names of its contributors may be used to endorse or promote products
20 | derived from this software without specific prior written permission.
21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24 | DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS BE LIABLE FOR ANY
25 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 | ------------------------------------------------------------------------------*/
32 | #if !defined DIRECTION_H
33 | #define DIRECTION_H
34 |
35 | #include
36 |
37 | namespace IndustrialNetwork
38 | {
39 | namespace POWERLINK
40 | {
41 | namespace Core
42 | {
43 | namespace ObjectDictionary
44 | {
45 | /**
46 | \brief Represents the input and output directory.
47 | \author rueckerc, Bernecker+Rainer Industrie Elektronik Ges.m.b.H.
48 | */
49 | enum class Direction : std::uint8_t
50 | {
51 | RX = 0,
52 | TX,
53 | };
54 |
55 | static const std::string DirectionTypeValues[] =
56 | {
57 | "Rx",
58 | "Tx"
59 | };
60 | }
61 | }
62 | }
63 | }
64 | #endif
65 |
--------------------------------------------------------------------------------
/library/Include/DynamicChannelAccessType.h:
--------------------------------------------------------------------------------
1 | /************************************************************************
2 | \file DynamicChannelAccessType.h
3 | \brief Implementation of the Class DynamicChannelAccessType
4 | \author rueckerc, Bernecker+Rainer Industrie Elektronik Ges.m.b.H.
5 | \date 01-May-2015 12:00:00
6 | ************************************************************************/
7 |
8 | /*------------------------------------------------------------------------------
9 | Copyright (c) 2015, Bernecker+Rainer Industrie-Elektronik Ges.m.b.H. (B&R)
10 | All rights reserved.
11 | Redistribution and use in source and binary forms, with or without
12 | modification, are permitted provided that the following conditions are met:
13 | * Redistributions of source code must retain the above copyright
14 | notice, this list of conditions and the following disclaimer.
15 | * Redistributions in binary form must reproduce the above copyright
16 | notice, this list of conditions and the following disclaimer in the
17 | documentation and/or other materials provided with the distribution.
18 | * Neither the name of the copyright holders nor the
19 | names of its contributors may be used to endorse or promote products
20 | derived from this software without specific prior written permission.
21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24 | DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS BE LIABLE FOR ANY
25 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 | ------------------------------------------------------------------------------*/
32 | #if !defined DYNAMIC_CHANNEL_ACCESS_TYPE_H
33 | #define DYNAMIC_CHANNEL_ACCESS_TYPE_H
34 |
35 | #include
36 |
37 | namespace IndustrialNetwork
38 | {
39 | namespace POWERLINK
40 | {
41 | namespace Core
42 | {
43 | namespace ObjectDictionary
44 | {
45 | /**
46 | \brief Represents the access type for dynamic channels of a POWERLINK node.
47 | \author rueckerc, Bernecker+Rainer Industrie Elektronik Ges.m.b.H.
48 | */
49 | enum class DynamicChannelAccessType : std::uint8_t
50 | {
51 | UNDEFINED = 0,
52 | readOnly = 1,
53 | writeOnly,
54 | readWriteOutput
55 | };
56 | }
57 | }
58 | }
59 | }
60 | #endif
61 |
--------------------------------------------------------------------------------
/library/Include/IFieldbusNode.h:
--------------------------------------------------------------------------------
1 | /************************************************************************
2 | \file FieldbusNode.h
3 | \brief Implementation of the Class IFieldbusNode
4 | \author rueckerc, Bernecker+Rainer Industrie Elektronik Ges.m.b.H.
5 | \date 01-May-2015 12:00:00
6 | ************************************************************************/
7 |
8 | /*------------------------------------------------------------------------------
9 | Copyright (c) 2015, Bernecker+Rainer Industrie-Elektronik Ges.m.b.H. (B&R)
10 | All rights reserved.
11 | Redistribution and use in source and binary forms, with or without
12 | modification, are permitted provided that the following conditions are met:
13 | * Redistributions of source code must retain the above copyright
14 | notice, this list of conditions and the following disclaimer.
15 | * Redistributions in binary form must reproduce the above copyright
16 | notice, this list of conditions and the following disclaimer in the
17 | documentation and/or other materials provided with the distribution.
18 | * Neither the name of the copyright holders nor the
19 | names of its contributors may be used to endorse or promote products
20 | derived from this software without specific prior written permission.
21 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
22 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
23 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24 | DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDERS BE LIABLE FOR ANY
25 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
26 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
27 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
28 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
30 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 | ------------------------------------------------------------------------------*/
32 | #if !defined IFIELDBUS_NODE_H
33 | #define IFIELDBUS_NODE_H
34 |
35 | #include