Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bip_fmu
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anastasios Temperekidis
bip_fmu
Commits
39e9908b
Commit
39e9908b
authored
Jan 21, 2022
by
Anastasios Temperekidis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fmi getters+setters, values synchronization in connectors
parent
b579ed29
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
generateAtomType.mtl
...jf/verimag/bip/backend/cpp/templates/generateAtomType.mtl
+2
-1
generatePortValue.mtl
...imag/bip/backend/cpp/templates/port/generatePortValue.mtl
+3
-3
Version.java
.../main/java/ujf/verimag/bip/userinterface/cli/Version.java
+1
-1
No files found.
Compiler/Backend/ujf.verimag.bip.backend.cpp/src/ujf/verimag/bip/backend/cpp/templates/generateAtomType.mtl
View file @
39e9908b
...
@@ -1534,8 +1534,9 @@ true
...
@@ -1534,8 +1534,9 @@ true
[p.penabledVarName()/](false)[/for], __previous(-1)
[p.penabledVarName()/](false)[/for], __previous(-1)
[/template]
[/template]
[template private genPortValueInitialization(aPort : AtomInternalPortDeclaration)]
[template private genPortValueInitialization(aPort : AtomInternalPortDeclaration)]
[for (aParam : DataDeclarationReferenceDataParameter | aPort.dataParameters) separator(', ')][aParam.dataDeclarationReference.oclAsType(AtomInternalDataDeclaration).varName()/][/for]
[for (aParam : DataDeclarationReferenceDataParameter | aPort.dataParameters) separator(', ')][aParam.dataDeclarationReference.oclAsType(AtomInternalDataDeclaration).varName()/]
, ['this->fullName()+\".' + aParam.dataDeclarationReference.oclAsType(AtomInternalDataDeclaration).varName() + '\"'/]
[/for]
[/template]
[/template]
[template public generateSubClasses(anAtomType : AtomType, aCMakeList : String, disableSerialization: Boolean) post(trim())]
[template public generateSubClasses(anAtomType : AtomType, aCMakeList : String, disableSerialization: Boolean) post(trim())]
...
...
Compiler/Backend/ujf.verimag.bip.backend.cpp/src/ujf/verimag/bip/backend/cpp/templates/port/generatePortValue.mtl
View file @
39e9908b
...
@@ -32,7 +32,7 @@ string [pvCN/]::toString() const {
...
@@ -32,7 +32,7 @@ string [pvCN/]::toString() const {
ostringstream oss;
ostringstream oss;
[for (datadecl : PortDataParameterDeclaration | aPortType.dataParameterDeclarations)]
[for (datadecl : PortDataParameterDeclaration | aPortType.dataParameterDeclarations)]
oss << "[datadecl.name/]=" << [datadecl.
varName()
/] << ';';
oss << "[datadecl.name/]=" << [datadecl.
dataType.typeName() + '_variables[this->name]'
/] << ';';
[/for]
[/for]
return oss.str();
return oss.str();
}
}
...
@@ -58,8 +58,8 @@ public:
...
@@ -58,8 +58,8 @@ public:
[for (datadecl : PortDataParameterDeclaration | aPortType.dataParameterDeclarations)
[for (datadecl : PortDataParameterDeclaration | aPortType.dataParameterDeclarations)
before('\n // get/set for data.\n')
before('\n // get/set for data.\n')
separator('\n')]
separator('\n')]
[pvCN/]([datadecl.dataType.typeName()/] &_[datadecl.varName() /] , string name) : PortValue(), [datadecl.varName()/](_[datadecl.varName()/]) {
[pvCN/]([datadecl.dataType.typeName()/] &_[datadecl.varName() /] , string name) : PortValue(), [datadecl.varName()/](_[datadecl.varName()/])
,name("ROOT." + name)
{
name = name;
}
}
[/for]
[/for]
...
...
Compiler/Frontend/ujf.verimag.bip.userinterface.cli/src/main/java/ujf/verimag/bip/userinterface/cli/Version.java
View file @
39e9908b
...
@@ -7,5 +7,5 @@ package ujf.verimag.bip.userinterface.cli;
...
@@ -7,5 +7,5 @@ package ujf.verimag.bip.userinterface.cli;
* use "svn annotate" and BLAME the one who has commited it !
* use "svn annotate" and BLAME the one who has commited it !
*/
*/
public
class
Version
{
public
class
Version
{
public
static
final
String
VERSION
=
"2022.01.1
95807
-DEV"
;
public
static
final
String
VERSION
=
"2022.01.1
75206
-DEV"
;
}
}
Write
Preview
Markdown
is supported
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