Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic-graph
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
Container Registry
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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
dynamic-graph
Commits
f4def3bf
Commit
f4def3bf
authored
4 years ago
by
Guilhem Saurel
Browse files
Options
Downloads
Patches
Plain Diff
format
parent
37aca8ad
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
doc/additionalDoc/introduction.h
+1
-1
1 addition, 1 deletion
doc/additionalDoc/introduction.h
include/dynamic-graph/logger.h
+3
-3
3 additions, 3 deletions
include/dynamic-graph/logger.h
tests/value.cpp
+10
-5
10 additions, 5 deletions
tests/value.cpp
with
14 additions
and
9 deletions
doc/additionalDoc/introduction.h
+
1
−
1
View file @
f4def3bf
...
@@ -62,6 +62,6 @@ load classes of entities and create instances of entities.</p>
...
@@ -62,6 +62,6 @@ load classes of entities and create instances of entities.</p>
\li Type-safe connection of input and output signals
\li Type-safe connection of input and output signals
\li On-demand signal computation as well as a caching system for signal values
\li On-demand signal computation as well as a caching system for signal values
allow fast computation of signal values, which is a critical point for real-time
allow fast computation of signal values, which is a critical point for real-time
systems\n
systems\n
*/
*/
This diff is collapsed.
Click to expand it.
include/dynamic-graph/logger.h
+
3
−
3
View file @
f4def3bf
...
@@ -266,9 +266,9 @@ protected:
...
@@ -266,9 +266,9 @@ protected:
inline
bool
isStreamMsg
(
MsgType
m
)
{
return
(
m
&
MSG_TYPE_STREAM_BIT
);
}
inline
bool
isStreamMsg
(
MsgType
m
)
{
return
(
m
&
MSG_TYPE_STREAM_BIT
);
}
/** Check whether a message of type \p m and from \p c lineId should be
accepted.
/** Check whether a message of type \p m and from \p c lineId should be
* \note If \p m is a stream type, the internal counter associated
to \p lineId
*
accepted.
\note If \p m is a stream type, the internal counter associated
*
is updated.
*
to \p lineId
is updated.
*/
*/
bool
acceptMsg
(
MsgType
m
,
const
std
::
string
&
lineId
)
{
bool
acceptMsg
(
MsgType
m
,
const
std
::
string
&
lineId
)
{
// If more verbose than the current verbosity level
// If more verbose than the current verbosity level
...
...
This diff is collapsed.
Click to expand it.
tests/value.cpp
+
10
−
5
View file @
f4def3bf
...
@@ -64,7 +64,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
...
@@ -64,7 +64,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
bool
res
=
false
;
bool
res
=
false
;
try
{
try
{
int
aInt
(
anet
);
int
aInt
(
anet
);
aInt
++
;
// silence unused variable warnings to have a stable release in the ros buildfarm
aInt
++
;
// silence unused variable warnings to have a stable release in the
// ros buildfarm
}
catch
(
const
dg
::
ExceptionAbstract
&
aea
)
{
}
catch
(
const
dg
::
ExceptionAbstract
&
aea
)
{
output
<<
aea
.
getExceptionName
();
output
<<
aea
.
getExceptionName
();
output2
<<
aea
.
what
();
output2
<<
aea
.
what
();
...
@@ -79,7 +80,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
...
@@ -79,7 +80,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
res
=
false
;
res
=
false
;
try
{
try
{
bool
abool
(
anet
);
bool
abool
(
anet
);
abool
=!
abool
;
// silence unused variable warnings to have a stable release in the ros buildfarm
abool
=
!
abool
;
// silence unused variable warnings to have a stable release
// in the ros buildfarm
}
catch
(
const
dg
::
ExceptionAbstract
&
aea
)
{
}
catch
(
const
dg
::
ExceptionAbstract
&
aea
)
{
res
=
(
aea
.
getCode
()
==
dg
::
ExceptionAbstract
::
TOOLS
);
res
=
(
aea
.
getCode
()
==
dg
::
ExceptionAbstract
::
TOOLS
);
}
}
...
@@ -90,7 +92,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
...
@@ -90,7 +92,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
res
=
false
;
res
=
false
;
try
{
try
{
unsigned
int
aint
(
anet
);
unsigned
int
aint
(
anet
);
aint
++
;
// silence unused variable warnings to have a stable release in the ros buildfarm
aint
++
;
// silence unused variable warnings to have a stable release in the
// ros buildfarm
}
catch
(
const
dg
::
ExceptionAbstract
&
aea
)
{
}
catch
(
const
dg
::
ExceptionAbstract
&
aea
)
{
res
=
(
aea
.
getCode
()
==
dg
::
ExceptionAbstract
::
TOOLS
);
res
=
(
aea
.
getCode
()
==
dg
::
ExceptionAbstract
::
TOOLS
);
}
}
...
@@ -101,7 +104,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
...
@@ -101,7 +104,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
res
=
false
;
res
=
false
;
try
{
try
{
double
adouble
(
anet
);
double
adouble
(
anet
);
adouble
++
;
// silence unused variable warnings to have a stable release in the ros buildfarm
adouble
++
;
// silence unused variable warnings to have a stable release in
// the ros buildfarm
}
catch
(
const
dg
::
ExceptionAbstract
&
aea
)
{
}
catch
(
const
dg
::
ExceptionAbstract
&
aea
)
{
res
=
(
aea
.
getCode
()
==
dg
::
ExceptionAbstract
::
TOOLS
);
res
=
(
aea
.
getCode
()
==
dg
::
ExceptionAbstract
::
TOOLS
);
}
}
...
@@ -112,7 +116,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
...
@@ -112,7 +116,8 @@ BOOST_AUTO_TEST_CASE(value_exceptions) {
res
=
false
;
res
=
false
;
try
{
try
{
float
afloat
(
anet
);
float
afloat
(
anet
);
afloat
++
;
// silence unused variable warnings to have a stable release in the ros buildfarm
afloat
++
;
// silence unused variable warnings to have a stable release in
// the ros buildfarm
}
catch
(
const
dg
::
ExceptionAbstract
&
aea
)
{
}
catch
(
const
dg
::
ExceptionAbstract
&
aea
)
{
res
=
(
aea
.
getCode
()
==
dg
::
ExceptionAbstract
::
TOOLS
);
res
=
(
aea
.
getCode
()
==
dg
::
ExceptionAbstract
::
TOOLS
);
}
}
...
...
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