HAN-FUN API  1.5.3
This project provides the common implementation of ULE Alliance's HAN-FUN application protocol.
HF::Interface::Any Struct Reference

Helper class to match any interface. More...

#include <interface.h>

+ Inheritance diagram for HF::Interface::Any:
+ Collaboration diagram for HF::Interface::Any:

Additional Inherited Members

- Public Member Functions inherited from HF::Common::Interface
 Interface (uint16_t id=0, uint8_t role=0)
 Constructor. More...
 
uint16_t size () const
 Number bytes needed to serialize the message. More...
 
uint16_t pack (Common::ByteArray &array, uint16_t offset=0) const
 Write the object on to a ByteArray so it can be sent over the network. More...
 
uint16_t unpack (const Common::ByteArray &array, uint16_t offset=0)
 Read a message from a ByteArray. More...
 
- Data Fields inherited from HF::Common::Interface
uint16_t role: 1
 Interface role : Server or Client. More...
 
uint16_t id: 15
 Identifier of the interface. More...
 
- Static Public Attributes inherited from HF::Common::Interface
static constexpr uint16_t min_size = sizeof(uint16_t)
 Minimum pack/unpack required data size.
 

Detailed Description

Helper class to match any interface.

Definition at line 101 of file interface.h.


The documentation for this struct was generated from the following file: