-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update repositories for SmartMDSD Toolchain v3.11
This update requires the SmartMDSD Toolchain version 3.11
- Loading branch information
Showing
682 changed files
with
22,712 additions
and
609 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 6 additions & 3 deletions
9
CommBasicObjects/model/CommBasicObjects.domainModelsDatasheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
DomainModelsDatasheet CommBasicObjects { | ||
baseURI : "http://www.servicerobotik-ulm.de" | ||
shortDescription: "The generic domain models shared by many other domains" | ||
license : spdx ( "LGPL-3.0-or-later" ) | ||
BaseURI "http://www.servicerobotik-ulm.de" | ||
ShortDescription "The generic domain models shared by many other domains" | ||
DatasheetProperty SpdxLicense { | ||
value "LGPL-3.0-or-later" | ||
semanticID "https://spdx.org/licenses/LGPL-3.0-or-later.html" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
CMAKE_MINIMUM_REQUIRED(VERSION 3.5) | ||
|
||
PROJECT("CommBasicObjectsOpcUa" VERSION 1.0) | ||
|
||
FIND_PACKAGE(Open62541Cpp QUIET) | ||
SET(SmartSoft_CD_API_DIR $ENV{SMART_ROOT_ACE}/modules) | ||
FIND_PACKAGE(SeRoNetSDK QUIET) | ||
|
||
IF(SeRoNetSDK_FOUND) | ||
SET(CMAKE_CXX_STANDARD 14) | ||
|
||
FILE(GLOB OPCUA_SRCS ${PROJECT_SOURCE_DIR}/${PROJECT_NAME}/*.cc) | ||
FILE(GLOB OPCUA_HDRS ${PROJECT_SOURCE_DIR}/${PROJECT_NAME}/*.hh) | ||
|
||
ADD_LIBRARY(${PROJECT_NAME} SHARED ${OPCUA_SRCS}) | ||
TARGET_LINK_LIBRARIES(${PROJECT_NAME} CommBasicObjects SeRoNetSDK::SeRoNetSDK) | ||
TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME} PUBLIC | ||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}> | ||
$<INSTALL_INTERFACE:include> | ||
) | ||
|
||
ADD_DEPENDENCIES(autoinstall ${PROJECT_NAME}) | ||
|
||
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${PROJECT_NAME}Config.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake @ONLY) | ||
INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake DESTINATION modules) | ||
|
||
IF(DEFINED ${PROJECT_NAME}_VERSION) | ||
SET_TARGET_PROPERTIES(${PROJECT_NAME} PROPERTIES VERSION ${${PROJECT_NAME}_VERSION} SOVERSION ${${PROJECT_NAME}_VERSION_MAJOR}) | ||
INCLUDE(CMakePackageConfigHelpers) | ||
write_basic_package_version_file(${PROJECT_NAME}ConfigVersion.cmake COMPATIBILITY SameMajorVersion) | ||
IF(EXISTS ${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake) | ||
INSTALL(FILES ${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake DESTINATION modules) | ||
SMART_TRACE_GENERATED_FILE(${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake) | ||
ENDIF(EXISTS ${PROJECT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake) | ||
ENDIF(DEFINED ${PROJECT_NAME}_VERSION) | ||
|
||
INSTALL(TARGETS ${PROJECT_NAME} EXPORT ${PROJECT_NAME}Targets DESTINATION lib) | ||
EXPORT(EXPORT ${PROJECT_NAME}Targets) | ||
INSTALL(EXPORT ${PROJECT_NAME}Targets DESTINATION modules) | ||
INSTALL(FILES ${OPCUA_HDRS} DESTINATION include/${PROJECT_NAME}) | ||
ENDIF(SeRoNetSDK_FOUND) |
46 changes: 46 additions & 0 deletions
46
CommBasicObjects/opcua-backend/src-gen/CommBasicObjectsOpcUa/CommBasePoseOpcUa.cc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#include "CommBasePoseOpcUa.hh" | ||
|
||
#define SERONET_NO_DEPRECATED | ||
#include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/ComplexType.hpp> | ||
#include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/ElementPrimitives.hpp> | ||
#include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/SelfDescriptionArray.hpp> | ||
#include <SeRoNetSDK/SeRoNet/CommunicationObjects/Description/ElementArray.hpp> | ||
|
||
#include "CommBasicObjectsOpcUa/CommPose3dOpcUa.hh" | ||
#include "CommBasicObjectsOpcUa/CommTimeStampOpcUa.hh" | ||
|
||
namespace SeRoNet { | ||
namespace CommunicationObjects { | ||
namespace Description { | ||
|
||
// serialization for CommBasicObjectsIDL::CommBasePose | ||
template <> | ||
IDescription::shp_t SelfDescription(CommBasicObjectsIDL::CommBasePose *obj, std::string name) | ||
{ | ||
auto ret = std::make_shared<SeRoNet::CommunicationObjects::Description::ComplexType>(name); | ||
// add covInvalid | ||
ret->add( | ||
SelfDescription(&(obj->covInvalid), "CovInvalid") | ||
); | ||
// add covMatrix | ||
ret->add( | ||
SelfDescription(&(obj->covMatrix), "CovMatrix") | ||
); | ||
// add updateCount | ||
ret->add( | ||
SelfDescription(&(obj->updateCount), "UpdateCount") | ||
); | ||
// add pose3D | ||
ret->add( | ||
SelfDescription(&(obj->pose3D), "Pose3D") | ||
); | ||
// add timeStamp | ||
ret->add( | ||
SelfDescription(&(obj->timeStamp), "TimeStamp") | ||
); | ||
return ret; | ||
} // end SelfDescription | ||
|
||
} // end namespace Description | ||
} // end namespace CommunicationObjects | ||
} // end namespace SeRoNet |
Oops, something went wrong.