MeshNet  1.0.0
Data Structures
meshVariableArray.h File Reference

This file contains class which safetly handles allocation and deallocation of memory. It can be used in conjunction with meshPacket or meshFrame to create data(payload) part before creating packet or frame. Main advantage is, that std::move can be used to set data (payload) with variable array without manually copying each element in array. More...

#include "meshHelper.h"
Include dependency graph for meshVariableArray.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  MeshVariableArray< T >
 This class safetly handles allocation and deallocation of memory. It can be used in conjunction with meshPacket or meshFrame to create data(payload) part before creating packet or frame. Main advantage is, that std::move can be used to set data (payload) with variable array without manually copying each element in array. More...
 

Detailed Description

This file contains class which safetly handles allocation and deallocation of memory. It can be used in conjunction with meshPacket or meshFrame to create data(payload) part before creating packet or frame. Main advantage is, that std::move can be used to set data (payload) with variable array without manually copying each element in array.

Credits

Author
Matej Fitoš
Date
Apr 21, 2022
See also
MeshPacket
MeshFrame