[Bug 571] New: hardware/axes/dev classes should not be RTT namespace.

For more infomation about this bug, visit
Summary: hardware/axes/dev classes should not be RTT namespace.
Product: OCL
Version: 1.4.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Hardware
AssignedTo: orocos-dev [..] ...
ReportedBy: peter [dot] soetens [..] ...
CC: orocos-dev [..] ...
Estimated Hours: 0.0

Similar to bug #293, the hardware/axes classes in OCL are in the RTT
namespace, while they should be in the OCL namespace.

Since Comedi changed over from RTT to OCL, maybe it would be a good time to
change these over as well.

[Bug 571] hardware/axes/dev classes should not be RTT namespace.

For more infomation about this bug, visit

Peter Soetens

<peter [dot] soetens [..] ...> changed:

What |Removed |Added
--------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED

--- Comment #2 from Peter Soetens

<peter [dot] soetens [..] ...> 2008-08-13 13:27:30 ---
Applied on trunk/ocl.

$ svn ci hardware/axes/ -m"Applied patch for bug #571: hardware/axes/dev
classes should not be RTT namespace."
Sending hardware/axes/dev/AbsoluteEncoderSensor.cpp
Sending hardware/axes/dev/AbsoluteEncoderSensor.hpp
Sending hardware/axes/dev/AnalogDrive.hpp
Sending hardware/axes/dev/AnalogSensor.hpp
Sending hardware/axes/dev/Axis.cpp
Sending hardware/axes/dev/Axis.hpp
Sending hardware/axes/dev/EncoderPositionSensor.hpp
Sending hardware/axes/dev/EndLimitDetector.hpp
Sending hardware/axes/dev/EndPositionDetector.hpp
Sending hardware/axes/dev/HomePositionDetector.hpp
Sending hardware/axes/dev/IncrementalEncoderSensor.cpp
Sending hardware/axes/dev/IncrementalEncoderSensor.hpp
Sending hardware/axes/dev/SimulationAxis.cpp
Sending hardware/axes/dev/SimulationAxis.hpp
Sending hardware/axes/dev/TorqueSimulationAxis.cpp
Sending hardware/axes/dev/TorqueSimulationAxis.hpp
Transmitting file data ................
Committed revision 29490.

If your code used explicitly RTT::Axis for example, change it to OCL::Axis.
This holds for all these classes.

[Bug 571] hardware/axes/dev classes should not be RTT namespace.

For more infomation about this bug, visit

--- Comment #1 from Peter Soetens

<peter [dot] soetens [..] ...> 2008-07-08 12:02:17 ---
Created an attachment (id=331)
--> (https://www.fmtc.be/bugzilla/orocos/attachment.cgi?id=331)
Changes namespaces, includes OCL.hpp where necessary

If no one objects, this one goes on trunk shortly. It seems my new eclipse is
removing extra whitespace at the end of lines, hence the many small 1-line
changes.

$ diffstat axes-to-ocl-namespace.patch
AbsoluteEncoderSensor.cpp | 2 -
AbsoluteEncoderSensor.hpp | 27 +++++++++----------
AnalogDrive.hpp | 13 ++++-----
AnalogSensor.hpp | 2 -
Axis.cpp | 2 -
Axis.hpp | 38 ++++++++++++--------------
EncoderPositionSensor.hpp | 2 -
EndLimitDetector.hpp | 2 -
EndPositionDetector.hpp | 2 -
HomePositionDetector.hpp | 2 -
IncrementalEncoderSensor.cpp | 2 -
IncrementalEncoderSensor.hpp | 27 +++++++++----------
SimulationAxis.cpp | 31 +++++++++++----------
SimulationAxis.hpp | 25 +++++++++--------
TorqueSimulationAxis.cpp | 61
+++++++++++++++++--------------------------
TorqueSimulationAxis.hpp | 27 +++++++++----------
16 files changed, 129 insertions(+), 136 deletions(-)