Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
generators
EMAM2Cpp
Commits
574a3acc
Commit
574a3acc
authored
Oct 22, 2018
by
Nils Kaminski
Browse files
Update c++ helper
parent
c1a4ce0d
Pipeline
#80058
failed
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/resources/template/dynamics/dynamic_port_request_connect_helper_h.ftl
View file @
574a3acc
#
ifndef
Dynamic_Connect_Helper_h
#
define
Not_h
//
//
DynamicHelper.h
//
TestForMa2
//
//
Created by Nils Kaminski on 20.10.18.
//
Copyright © 2018 Nils Kaminski. All rights reserved.
//
#
ifndef
DynamicHelper_h
#
define
DynamicHelper_h
#
include
<queue>
#
include
<vector>
#
ifndef
CONNECTION_H
#
define
CONNECTION_H
template
<
typename
T>
template
<
typename
T
, typename T2
>
struct
connection
{
T
*
from
;
void
*
afterComponent
;
T
2
*
from
;
T
*
to
;
}
;
#
endif
...
...
@@ -37,5 +46,4 @@ int dynamicconnect(int numPorts, bool* connected, std::queue<int>* request){
return
port
;
}
#
endif
/
*
Dynamic_Connect_Helper_h
*
/
\ No newline at end of file
#
endif
/
*
DynamicHelper_h
*
/
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment