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
1f3b0919
Commit
1f3b0919
authored
8 years ago
by
Martin Christoph Hierholzer
Browse files
Options
Downloads
Patches
Plain Diff
added option to obtain the name of an application-defined variable
parent
279dfbc1
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/Accessor.h
+8
-2
8 additions, 2 deletions
include/Accessor.h
with
8 additions
and
2 deletions
include/Accessor.h
+
8
−
2
View file @
1f3b0919
...
...
@@ -52,6 +52,9 @@ namespace ChimeraTK {
/* Obtain the description of the variable */
virtual
const
std
::
string
&
getDescription
()
const
=
0
;
/* Obtain the name of the accessor */
virtual
const
std
::
string
&
getName
()
const
=
0
;
/** Read an input variable. In case of an output variable, an exception will be thrown. This function will block
* the calling thread until the variable has been read. If the UpdateMode::push flag has been set when creating
...
...
@@ -91,8 +94,9 @@ namespace ChimeraTK {
VariableDirection
getDirection
()
const
{
std
::
terminate
();}
UpdateMode
getUpdateMode
()
const
{
std
::
terminate
();}
size_t
getNumberOfElements
()
{
std
::
terminate
();}
const
std
::
string
&
getUnit
()
const
{
std
::
terminate
();}
const
std
::
string
&
getDescription
()
const
{
std
::
terminate
();}
const
std
::
string
&
getUnit
()
const
{
std
::
terminate
();}
const
std
::
string
&
getDescription
()
const
{
std
::
terminate
();}
const
std
::
string
&
getName
()
const
{
std
::
terminate
();}
};
/*********************************************************************************************************************/
...
...
@@ -120,6 +124,8 @@ namespace ChimeraTK {
const
std
::
string
&
getDescription
()
const
{
return
_description
;}
const
std
::
string
&
getName
()
const
{
return
_name
;}
const
std
::
type_info
&
getValueType
()
const
{
return
typeid
(
UserType
);
}
...
...
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