Skip to content

Commit 9308145

Browse files
Fix style.
1 parent 77bd735 commit 9308145

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

include/dynamic-graph/signal-time-dependent.h

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,13 @@ namespace dynamicgraph {
1515
tick as reference.
1616
1717
It works this way. For a given SignalTimeDependent S,
18-
- the user manually adds dependent signals through the use of the SignalTimeDependent::addDependency function.
19-
- On access (calling the signal S SignalTimeDependent::operator()(const Time&) or
20-
SignalTimeDependent::access(const Time&) function), if the dependent signals are not
21-
up-to-date, i.e. if their [last update] time is less than the current time,
22-
their value will be SignalTimeDependent::access ()'ed to bring them up-to-date.
18+
- the user manually adds dependent signals through the use of the
19+
SignalTimeDependent::addDependency function.
20+
- On access (calling the signal S SignalTimeDependent::operator()(const Time&)
21+
or SignalTimeDependent::access(const Time&) function), if the dependent
22+
signals are not up-to-date, i.e. if their [last update] time is less than the
23+
current time, their value will be SignalTimeDependent::access ()'ed to bring
24+
them up-to-date.
2325
2426
Thus, the value of dependent signals can be accessed \b quickly and
2527
\b repeatedly through the Signal::accessCopy () function.

src/signal/signal-cast-helper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ DefaultCastRegisterer<bool> bool_reg;
8282
DefaultCastRegisterer<dynamicgraph::Vector> vectorCastRegisterer;
8383
DefaultCastRegisterer<dynamicgraph::Matrix> matrixCastRegisterer;
8484
DefaultCastRegisterer<boost::posix_time::ptime> ptimeCastRegisterer;
85-
DefaultCastRegisterer <std::string> stringCastRegisterer;
85+
DefaultCastRegisterer<std::string> stringCastRegisterer;
8686
} // end of anonymous namespace.
8787

8888
} // namespace dynamicgraph

0 commit comments

Comments
 (0)