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
a9dc43e6
Commit
a9dc43e6
authored
6 years ago
by
Martin Christoph Hierholzer
Browse files
Options
Downloads
Patches
Plain Diff
changed formatting
parent
4ced7fc7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/DeviceModule.h
+5
-8
5 additions, 8 deletions
include/DeviceModule.h
with
5 additions
and
8 deletions
include/DeviceModule.h
+
5
−
8
View file @
a9dc43e6
...
...
@@ -86,10 +86,8 @@ namespace ChimeraTK {
* function to connect the register with another variable. */
VariableNetworkNode
operator
()(
const
std
::
string
&
registerName
,
UpdateMode
mode
,
const
std
::
type_info
&
valueType
=
typeid
(
AnyType
),
size_t
nElements
=
0
)
const
;
VariableNetworkNode
operator
()(
const
std
::
string
&
registerName
,
const
std
::
type_info
&
valueType
,
size_t
nElements
=
0
,
UpdateMode
mode
=
UpdateMode
::
poll
)
const
{
VariableNetworkNode
operator
()(
const
std
::
string
&
registerName
,
const
std
::
type_info
&
valueType
,
size_t
nElements
=
0
,
UpdateMode
mode
=
UpdateMode
::
poll
)
const
{
return
operator
()(
registerName
,
mode
,
valueType
,
nElements
);
}
VariableNetworkNode
operator
()(
const
std
::
string
&
variableName
)
const
override
{
...
...
@@ -109,6 +107,7 @@ namespace ChimeraTK {
* device. This function shall not be called by the user, all exception
* handling is done internally by ApplicationCore. */
void
reportException
(
std
::
string
errMsg
);
void
run
()
override
;
void
terminate
()
override
;
...
...
@@ -161,10 +160,8 @@ namespace ChimeraTK {
* state has been resolved by the moduleThread. */
std
::
condition_variable
errorCondVar
;
/** This functions tries to open the device and set the deviceError. Once done
* it notifies the waiting thread(s).
* The function is running an endless loop inside its own thread
* (moduleThread). */
/** This functions tries to open the device and set the deviceError. Once done it notifies the waiting thread(s).
* The function is running an endless loop inside its own thread (moduleThread). */
void
handleException
();
};
...
...
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