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.
packet< TBase, SIZE, ALIGNMENT > Class Template Reference
[packet]
A template class that can store any types derived from TBase that conform to the size and alignment requirements. More...
#include <packet.h>
Public Member Functions | |
template<typename T > | |
packet (const T &value) | |
Constructor that static asserts any types that do not conform to the max size and alignment. | |
~packet () | |
Destructor. | |
template<typename T > | |
packet & | operator= (const T &value) |
Assignment operator for type. | |
TBase & | get () |
Get access to the contained object. | |
const TBase & | get () const |
Get access to the contained object. |
Detailed Description
template<typename TBase, size_t SIZE, size_t ALIGNMENT>
class etl::packet< TBase, SIZE, ALIGNMENT >
A template class that can store any types derived from TBase that conform to the size and alignment requirements.
Definition at line 55 of file packet.h.
Constructor & Destructor Documentation
packet | ( | const T & | value ) | [explicit] |
Member Function Documentation
const TBase& get | ( | ) | const |
Generated on Tue Jul 12 2022 14:05:53 by
