5 #ifndef REALSENSE_MSGS_MESSAGE_STREAMINFO_H 6 #define REALSENSE_MSGS_MESSAGE_STREAMINFO_H 21 template <
class ContainerAllocator>
43 typedef std::basic_string<char, std::char_traits<char>,
typename ContainerAllocator::template rebind<char>::other >
_encoding_type;
52 typedef std::shared_ptr< ::realsense_msgs::StreamInfo_<ContainerAllocator> >
Ptr;
53 typedef std::shared_ptr< ::realsense_msgs::StreamInfo_<ContainerAllocator>
const>
ConstPtr;
57 typedef ::realsense_msgs::StreamInfo_<std::allocator<void> >
StreamInfo;
66 template<
typename ContainerAllocator>
67 std::ostream& operator<<(std::ostream& s, const ::realsense_msgs::StreamInfo_<ContainerAllocator> &
v)
77 namespace message_traits
90 template <
class ContainerAllocator>
95 template <
class ContainerAllocator>
100 template <
class ContainerAllocator>
105 template <
class ContainerAllocator>
110 template <
class ContainerAllocator>
115 template <
class ContainerAllocator>
121 template<
class ContainerAllocator>
126 return "311d7e24eac31bb87271d041bf70ff7d";
129 static const char*
value(const ::realsense_msgs::StreamInfo_<ContainerAllocator>&) {
return value(); }
130 static const uint64_t static_value1 = 0x311d7e24eac31bb8ULL;
131 static const uint64_t static_value2 = 0x7271d041bf70ff7dULL;
134 template<
class ContainerAllocator>
139 return "realsense_msgs/StreamInfo";
142 static const char*
value(const ::realsense_msgs::StreamInfo_<ContainerAllocator>&) {
return value(); }
145 template<
class ContainerAllocator>
150 return "# This message defines meta information for a stream\n\ 151 # The stream type is expressed in the topic name\n\ 153 uint32 fps # The nominal streaming rate, defined in Hz\n\ 154 string encoding # Stream's data format\n\ 155 bool is_recommended # Is this stream recommended by RealSense SDK\n\ 159 static const char*
value(const ::realsense_msgs::StreamInfo_<ContainerAllocator>&) {
return value(); }
167 namespace serialization
175 stream.next(m.encoding);
176 stream.next(m.is_recommended);
187 namespace message_operations
190 template<
class ContainerAllocator>
193 template<
typename Stream>
static void stream(Stream&
s,
const std::string& indent, const ::realsense_msgs::StreamInfo_<ContainerAllocator>&
v)
195 s << indent <<
"fps: ";
197 s << indent <<
"encoding: ";
199 s << indent <<
"is_recommended: ";
207 #endif // REALSENSE_MSGS_MESSAGE_STREAMINFO_H
typedef void(APIENTRY *GLDEBUGPROC)(GLenum source
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
std::shared_ptr< ::realsense_msgs::StreamInfo const > StreamInfoConstPtr
Specialize to provide the md5sum for a message.
StreamInfo_< ContainerAllocator > Type
Base type for compile-type true/false tests. Compatible with Boost.MPL. classes inheriting from this ...
uint8_t _is_recommended_type
GLsizei const GLchar *const * string
Specialize to provide the datatype for a message.
static void allInOne(Stream &stream, T m)
A fixed-size datatype is one whose size is constant, i.e. it has no variable-length arrays or strings...
Stream base-class, provides common functionality for IStream and OStream.
static const char * value(const ::realsense_msgs::StreamInfo_< ContainerAllocator > &)
StreamInfo_(const ContainerAllocator &_alloc)
std::shared_ptr< ::realsense_msgs::StreamInfo > StreamInfoPtr
static const char * value(const ::realsense_msgs::StreamInfo_< ContainerAllocator > &)
#define ROS_DECLARE_ALLINONE_SERIALIZER
Declare your serializer to use an allInOne member instead of requiring 3 different serialization func...
unsigned __int64 uint64_t
Specialize to provide the definition for a message.
static const char * value()
static const char * value()
std::basic_string< char, std::char_traits< char >, typename ContainerAllocator::template rebind< char >::other > _encoding_type
std::shared_ptr< ::realsense_msgs::StreamInfo_< ContainerAllocator > const > ConstPtr
static const char * value(const ::realsense_msgs::StreamInfo_< ContainerAllocator > &)
_is_recommended_type is_recommended
static const char * value()
Templated serialization class. Default implementation provides backwards compatibility with old messa...
static void stream(Stream &s, const std::string &indent, const ::realsense_msgs::StreamInfo_< ContainerAllocator > &v)
std::shared_ptr< ::realsense_msgs::StreamInfo_< ContainerAllocator > > Ptr
::realsense_msgs::StreamInfo_< std::allocator< void > > StreamInfo