Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BufferedSerial motor_sn7544
OStream Struct Reference
Output stream. More...
#include <serialization.h>
Inherits ros::serialization::Stream.
Public Member Functions | |
template<typename T > | |
ROS_FORCE_INLINE void | next (const T &t) |
Serialize an item to this output stream. | |
ROS_FORCE_INLINE uint8_t * | advance (uint32_t len) |
Advances the stream, checking bounds, and returns a pointer to the position before it was advanced. | |
uint32_t | getLength () |
Returns the amount of space left in the stream. |
Detailed Description
Output stream.
Definition at line 733 of file serialization.h.
Member Function Documentation
ROS_FORCE_INLINE uint8_t* advance | ( | uint32_t | len ) | [inherited] |
Advances the stream, checking bounds, and returns a pointer to the position before it was advanced.
- Exceptions:
-
StreamOverrunException if len would take this stream past the end of its buffer
Definition at line 673 of file serialization.h.
uint32_t getLength | ( | ) | [inherited] |
Returns the amount of space left in the stream.
Definition at line 689 of file serialization.h.
ROS_FORCE_INLINE void next | ( | const T & | t ) |
Serialize an item to this output stream.
Definition at line 745 of file serialization.h.
Generated on Wed Jul 13 2022 07:13:54 by
