Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ApplicationCore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ChimeraTK Mirror
ApplicationCore
Commits
2253b8d8
Commit
2253b8d8
authored
6 years ago
by
Martin Christoph Hierholzer
Browse files
Options
Downloads
Patches
Plain Diff
refactoring: renamed class DebugDecoratorRegisterAccessor ->DebugPrintAccessorDecorator
parent
299abdb2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/Application.h
+1
-1
1 addition, 1 deletion
include/Application.h
include/DebugPrintAccessorDecorator.h
+3
-3
3 additions, 3 deletions
include/DebugPrintAccessorDecorator.h
src/Application.cc
+5
-5
5 additions, 5 deletions
src/Application.cc
with
9 additions
and
9 deletions
include/Application.h
+
1
−
1
View file @
2253b8d8
...
...
@@ -343,7 +343,7 @@ namespace ChimeraTK {
friend
class
TestFacility
;
// needs access to testableMode_variables
template
<
typename
UserType
>
friend
class
Debug
DecoratorRegisterAccess
or
;
// needs access to the idMap
friend
class
Debug
PrintAccessorDecorat
or
;
// needs access to the idMap
/** Counter for how many write() operations have overwritten unread data */
std
::
atomic
<
size_t
>
dataLossCounter
{
0
};
...
...
This diff is collapsed.
Click to expand it.
include/Debug
DecoratorRegisterAccess
or.h
→
include/Debug
PrintAccessorDecorat
or.h
+
3
−
3
View file @
2253b8d8
/*
* Debug
DecoratorRegisterAccess
or.h
* Debug
PrintAccessorDecorat
or.h
*
* Created on: Nov 21, 2017
* Author: Martin Hierholzer
...
...
@@ -16,9 +16,9 @@ namespace ChimeraTK {
/** Decorator of the NDRegisterAccessor which facilitates tests of the application */
template
<
typename
UserType
>
class
Debug
DecoratorRegisterAccess
or
:
public
ChimeraTK
::
NDRegisterAccessorDecorator
<
UserType
>
{
class
Debug
PrintAccessorDecorat
or
:
public
ChimeraTK
::
NDRegisterAccessorDecorator
<
UserType
>
{
public:
Debug
DecoratorRegisterAccess
or
(
boost
::
shared_ptr
<
ChimeraTK
::
NDRegisterAccessor
<
UserType
>>
accessor
,
Debug
PrintAccessorDecorat
or
(
boost
::
shared_ptr
<
ChimeraTK
::
NDRegisterAccessor
<
UserType
>>
accessor
,
const
std
::
string
&
fullyQualifiedName
)
:
ChimeraTK
::
NDRegisterAccessorDecorator
<
UserType
>
(
accessor
),
_fullyQualifiedName
(
fullyQualifiedName
)
...
...
This diff is collapsed.
Click to expand it.
src/Application.cc
+
5
−
5
View file @
2253b8d8
...
...
@@ -25,7 +25,7 @@
#include
"ArrayAccessor.h"
#include
"ConstantAccessor.h"
#include
"TestableModeAccessorDecorator.h"
#include
"Debug
DecoratorRegisterAccess
or.h"
#include
"Debug
PrintAccessorDecorat
or.h"
#include
"Visitor.h"
#include
"VariableNetworkGraphDumpingVisitor.h"
#include
"XMLGeneratorVisitor.h"
...
...
@@ -433,12 +433,12 @@ std::pair< boost::shared_ptr<ChimeraTK::NDRegisterAccessor<UserType>>, boost::sh
if
(
consumer
.
getType
()
!=
NodeType
::
invalid
)
{
assert
(
node
.
getDirection
().
dir
==
VariableDirection
::
feeding
);
assert
(
consumer
.
getDirection
().
dir
==
VariableDirection
::
consuming
);
pvarPair
.
first
=
boost
::
make_shared
<
Debug
DecoratorRegisterAccess
or
<
UserType
>>
(
pvarPair
.
first
,
node
.
getQualifiedName
());
pvarPair
.
second
=
boost
::
make_shared
<
Debug
DecoratorRegisterAccess
or
<
UserType
>>
(
pvarPair
.
second
,
consumer
.
getQualifiedName
());
pvarPair
.
first
=
boost
::
make_shared
<
Debug
PrintAccessorDecorat
or
<
UserType
>>
(
pvarPair
.
first
,
node
.
getQualifiedName
());
pvarPair
.
second
=
boost
::
make_shared
<
Debug
PrintAccessorDecorat
or
<
UserType
>>
(
pvarPair
.
second
,
consumer
.
getQualifiedName
());
}
else
{
pvarPair
.
first
=
boost
::
make_shared
<
Debug
DecoratorRegisterAccess
or
<
UserType
>>
(
pvarPair
.
first
,
node
.
getQualifiedName
());
pvarPair
.
second
=
boost
::
make_shared
<
Debug
DecoratorRegisterAccess
or
<
UserType
>>
(
pvarPair
.
second
,
node
.
getQualifiedName
());
pvarPair
.
first
=
boost
::
make_shared
<
Debug
PrintAccessorDecorat
or
<
UserType
>>
(
pvarPair
.
first
,
node
.
getQualifiedName
());
pvarPair
.
second
=
boost
::
make_shared
<
Debug
PrintAccessorDecorat
or
<
UserType
>>
(
pvarPair
.
second
,
node
.
getQualifiedName
());
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment