##// END OF EJS Templates
dsu3 wip
dsu3 wip

File last commit:

r32:4c8d1b562d91 default
r37:934336d3c2c5 default
Show More
memcheckplugin.cpp
52 lines | 2.1 KiB | text/x-c | CppLexer
Added new MemChecker plugin....
r31 /*------------------------------------------------------------------------------
-- This file is a part of the SocExplorer Software
-- Copyright (C) 2011, Plasma Physics Laboratory - CNRS
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program; if not, write to the Free Software
-- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-------------------------------------------------------------------------------*/
/*-- Author : Alexis Jeandet
-- Mail : alexis.jeandet@lpp.polytechnique.fr
----------------------------------------------------------------------------*/
#include "memcheckplugin.h"
memcheckplugin::memcheckplugin(QWidget *parent):socexplorerplugin(parent,true)
{
this->UI = new memcheckplugin_ui();
this->setWidget(this->UI);
this->checker = new memchecker(this);
Improved APB UART Plugin, now check how many bytes are available on uart...
r32 QObject::connect(this->UI,SIGNAL(checkdatabits(uint,uint)),this,SLOT(checkdatabits(uint,uint)));
QObject::connect(this->UI,SIGNAL(checkmemory(uint,uint)),this,SLOT(checkmemory(uint,uint)));
Added new MemChecker plugin....
r31 }
memcheckplugin::~memcheckplugin()
{}
Improved APB UART Plugin, now check how many bytes are available on uart...
r32
void memcheckplugin::checkmemory(unsigned int address, unsigned int size)
Added new MemChecker plugin....
r31 {
Improved APB UART Plugin, now check how many bytes are available on uart...
r32 bool success;
QString repport=this->checker->checkmemory(address,size,&success);
this->UI->setResult(success,repport);
Added new MemChecker plugin....
r31
}
Improved APB UART Plugin, now check how many bytes are available on uart...
r32 void memcheckplugin::checkdatabits(unsigned int address, unsigned int size)
{
bool success;
QString repport=this->checker->checkdatabits(address,size,&success);
this->UI->setResult(success,repport);
}
Added new MemChecker plugin....
r31
Improved APB UART Plugin, now check how many bytes are available on uart...
r32