/usr/include/pcl-1.7/pcl/PCLHeader.h is in libpcl-dev 1.7.2-14build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | #ifndef PCL_ROSLIB_MESSAGE_HEADER_H
#define PCL_ROSLIB_MESSAGE_HEADER_H
#ifdef USE_ROS
#error USE_ROS setup requires PCL to compile against ROS message headers, which is now deprecated
#endif
#include <string>
#include <vector>
#include <boost/shared_ptr.hpp>
#include <pcl/pcl_macros.h>
#include <ostream>
namespace pcl
{
struct PCLHeader
{
PCLHeader (): seq (0), stamp (), frame_id ()
{}
/** \brief Sequence number */
pcl::uint32_t seq;
/** \brief A timestamp associated with the time when the data was acquired
*
* The value represents microseconds since 1970-01-01 00:00:00 (the UNIX epoch).
*/
pcl::uint64_t stamp;
/** \brief Coordinate frame ID */
std::string frame_id;
typedef boost::shared_ptr<PCLHeader> Ptr;
typedef boost::shared_ptr<PCLHeader const> ConstPtr;
}; // struct PCLHeader
typedef boost::shared_ptr<PCLHeader> HeaderPtr;
typedef boost::shared_ptr<PCLHeader const> HeaderConstPtr;
inline std::ostream& operator << (std::ostream& out, const PCLHeader &h)
{
out << "seq: " << h.seq;
out << " stamp: " << h.stamp;
out << " frame_id: " << h.frame_id << std::endl;
return (out);
}
} // namespace pcl
#endif // PCL_ROSLIB_MESSAGE_HEADER_H
|