##// END OF EJS Templates
Progress bar added to the plugin
Progress bar added to the plugin

File last commit:

r20:eedc59c3c383 default
r57:71cb087f0080 default
Show More
wfpacket.cpp
24 lines | 469 B | text/x-c | CppLexer
#include "wfpacket.h"
WFPacket::WFPacket(QObject *parent) :
QObject(parent)
{
this->nbSamples = XMAX;
//
wf_v = (short*) malloc(2*XMAX);
wf_e1 = (short*) malloc(2*XMAX);
wf_e2 = (short*) malloc(2*XMAX);
wf_b1 = (short*) malloc(2*XMAX);
wf_b2 = (short*) malloc(2*XMAX);
wf_b3 = (short*) malloc(2*XMAX);
}
WFPacket::~WFPacket()
{
free(wf_v);
free(wf_e1);
free(wf_e2);
free(wf_b1);
free(wf_b2);
free(wf_b3);
}