00001 #ifndef PCL_ROSLIB_MESSAGE_HEADER_H
00002 #define PCL_ROSLIB_MESSAGE_HEADER_H
00003 #include <string>
00004 #include <vector>
00005 #include <boost/shared_ptr.hpp>
00006
00007 #ifndef _WIN32
00008 # include <stdint.h>
00009 #else
00010 # if (_MSC_VER >= 1600)
00011 # include <stdint.h>
00012
00013 # else
00014 typedef signed char int8_t;
00015 typedef short int16_t;
00016 typedef int int32_t;
00017
00018 typedef unsigned char uint8_t;
00019 typedef unsigned short uint16_t;
00020 typedef unsigned int uint32_t;
00021
00022 typedef signed char int_least8_t;
00023 typedef short int_least16_t;
00024 typedef int int_least32_t;
00025
00026 typedef unsigned char uint_least8_t;
00027 typedef unsigned short uint_least16_t;
00028 typedef unsigned int uint_least32_t;
00029
00030 typedef char int_fast8_t;
00031 typedef int int_fast16_t;
00032 typedef int int_fast32_t;
00033
00034 typedef unsigned char uint_fast8_t;
00035 typedef unsigned int uint_fast16_t;
00036 typedef unsigned int uint_fast32_t;
00037
00038 typedef _Longlong int64_t;
00039 typedef _ULonglong uint64_t;
00040 # endif
00041 #endif
00042
00043 namespace roslib
00044 {
00045 template <class ContainerAllocator>
00046 struct Header_
00047 {
00048 typedef Header_<ContainerAllocator> Type;
00049
00050 Header_()
00051 : seq(0)
00052 , stamp()
00053 , frame_id()
00054 {
00055 }
00056
00057 Header_(const ContainerAllocator& _alloc)
00058 : seq(0)
00059 , stamp()
00060 , frame_id(_alloc)
00061 {
00062 }
00063
00064 uint32_t seq;
00065 uint64_t stamp;
00066
00067 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _frame_id_type;
00068 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > frame_id;
00069
00070 typedef boost::shared_ptr<Header_<ContainerAllocator> > Ptr;
00071 typedef boost::shared_ptr<Header_<ContainerAllocator> const> ConstPtr;
00072 };
00073 typedef Header_<std::allocator<void> > Header;
00074
00075 typedef boost::shared_ptr<Header> HeaderPtr;
00076 typedef boost::shared_ptr<Header const> HeaderConstPtr;
00077 }
00078
00079 #endif // PCL_ROSLIB_MESSAGE_HEADER_H
00080