You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
char packet[size];
...
template<typename Header, size_t PayloadSize, typename DataType>
structPacket{
Header header;
DataType data[PayloadSize/sizeof(DataType)];
}
//Current implementation, doesn't hold any info//on which type of data we have. Templated//on header to (in theory) allow to work with other//detectorstemplate<typename Header, size_t PayloadSize>
structPacket{
Header header;
char data[PayloadSize];
}
Building data structures on top
//using std::vector?
std::vector<Packet<Header, PayloadSize>> packets;
//Even more templates?
RawFrameData<Packet<Header, PayloadSize>, NumPackets> raw_frame;
//How much metadata? Owning non owning? Both? RawFrameView?