Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
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
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
30883a97
Commit
30883a97
authored
13 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
onelab
parent
873fe98f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Common/onelab.h
+8
-4
8 additions, 4 deletions
Common/onelab.h
with
8 additions
and
4 deletions
Common/onelab.h
+
8
−
4
View file @
30883a97
...
...
@@ -40,11 +40,13 @@ namespace onelab{
private:
// the name of the parameter, including its '/'-separated path in
// the parameter hierarchy. Parameters or subpaths can start with
// numbers to force their relative ordering.
// numbers to force their relative ordering (such numbers could be
// automatically hidden in a GUI).
std
::
string
_name
;
// optional help strings
// optional help strings (the short help can serve as a better way
// to display the parameter in a GUI)
std
::
string
_shortHelp
,
_help
;
// client code(s)
for which
this parameter
makes sense
// client code(s)
that use
this parameter
std
::
set
<
std
::
string
>
_clients
;
public:
parameter
(
const
std
::
string
&
name
=
""
,
const
std
::
string
&
shortHelp
=
""
,
...
...
@@ -330,7 +332,8 @@ namespace onelab{
// get the parameter matching the given name, or all the
// parameters in the category if no name is given. If we find a
// given parameter by name, we add the client requesting the
// parameter to the list of clients for this parameter.
// parameter to the list of clients for this parameter. This also
// needs to be locked.
template
<
class
T
>
bool
_get
(
std
::
vector
<
T
>
&
p
,
const
std
::
string
&
name
,
const
std
::
string
&
client
,
std
::
set
<
T
*
,
parameterLessThan
>
&
ps
)
...
...
@@ -529,6 +532,7 @@ namespace onelab{
class
remoteNetworkClient
:
public
client
{
private:
// address (inet:port or unix socket) of the server
std
::
string
_serverAddress
;
// underlying GmshClient
GmshClient
*
_gmshClient
;
...
...
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