##// END OF EJS Templates
Changes to lfrsge...
Changes to lfrsge Minor changes to the rmap plugin

File last commit:

r58:6bfd3f59df14 default
r58:6bfd3f59df14 default
Show More
wfpacket.cpp
24 lines | 504 B | text/x-c | CppLexer
#include "wfpacket.h"
WFPacket::WFPacket(QObject *parent, unsigned int nbData) :
QObject(parent)
{
this->nbSamples = nbData;
//
wf_v = (short*) malloc(2*nbData);
wf_e1 = (short*) malloc(2*nbData);
wf_e2 = (short*) malloc(2*nbData);
wf_b1 = (short*) malloc(2*nbData);
wf_b2 = (short*) malloc(2*nbData);
wf_b3 = (short*) malloc(2*nbData);
}
WFPacket::~WFPacket()
{
free(wf_v);
free(wf_e1);
free(wf_e2);
free(wf_b1);
free(wf_b2);
free(wf_b3);
}