EnOcean Link
1.14.0.0
Middleware to Connect EnOcean easily to other Projects
|
Helper Class for the Serializations, sets the Archive Header. More...
#include <eoHeader.h>
Public Member Functions | |
eoHeader (uint8_t majorVersion, uint8_t minorVersion, const char *handlerName) | |
virtual uint8_t | Serialize (eoArchive &arch) |
Serialization Function which will be called by the eoStorageManager. More... | |
Public Attributes | |
uint8_t | major |
Major version of the Archive. | |
uint8_t | minor |
Minor Version of the Archive. | |
char | name [32] |
String name of the Archive. | |
Helper Class for the Serializations, sets the Archive Header.
eoHeader::eoHeader | ( | uint8_t | majorVersion, |
uint8_t | minorVersion, | ||
const char * | handlerName | ||
) |
Create an eoHeadr for serialisation with specific versions.
majorVersion | Major version of the archive. |
minorVersion | Minor version of the archive. |
handlerName | Name of the archive. |
|
virtual |
Serialization Function which will be called by the eoStorageManager.
This function will be called by the eoArchive(inside of the eoStorageManager) and allows the class to be Serialized.
arch | archive where to Load or to Store. |
Implements eoISerialize.