Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Humanoid Path Planner
hpp-model
Commits
cb0f1ffd
Commit
cb0f1ffd
authored
Dec 03, 2014
by
Joseph Mirabel
Committed by
Joseph Mirabel
Dec 03, 2014
Browse files
Move operator<< for Joint and Device into namespace hpp::model
parent
23cf9c96
Changes
4
Hide whitespace changes
Inline
Side-by-side
include/hpp/model/device.hh
View file @
cb0f1ffd
...
...
@@ -358,9 +358,9 @@ namespace hpp {
ExtraConfigSpace
extraConfigSpace_
;
DeviceWkPtr_t
weakPtr_
;
};
// class Device
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
hpp
::
model
::
Device
&
device
);
}
// namespace model
}
// namespace hpp
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
hpp
::
model
::
Device
&
device
);
#endif // HPP_MODEL_DEVICE_HH
include/hpp/model/joint.hh
View file @
cb0f1ffd
...
...
@@ -530,11 +530,11 @@ namespace hpp {
mutable
fcl
::
Vec3f
com_
;
};
// class JointTranslation
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
hpp
::
model
::
Joint
&
joint
);
}
// namespace model
}
// namespace hpp
namespace
fcl
{
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
fcl
::
Transform3f
&
trans
);
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
hpp
::
model
::
Joint
&
joint
);
#endif // HPP_MODEL_JOINT_HH
src/device.cc
View file @
cb0f1ffd
...
...
@@ -570,10 +570,10 @@ namespace hpp {
return
os
;
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
hpp
::
model
::
Device
&
device
)
{
return
device
.
print
(
os
);
}
}
// namespace model
}
// namespace hpp
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
hpp
::
model
::
Device
&
device
)
{
return
device
.
print
(
os
);
}
src/joint.cc
View file @
cb0f1ffd
...
...
@@ -665,6 +665,11 @@ namespace hpp {
template
class
JointTranslation
<
1
>;
template
class
JointTranslation
<
2
>;
template
class
JointTranslation
<
3
>;
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
hpp
::
model
::
Joint
&
joint
)
{
return
joint
.
display
(
os
);
}
}
// namespace model
}
// namespace hpp
...
...
@@ -682,9 +687,3 @@ namespace fcl {
return
os
;
}
}
std
::
ostream
&
operator
<<
(
std
::
ostream
&
os
,
const
hpp
::
model
::
Joint
&
joint
)
{
return
joint
.
display
(
os
);
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment