Project

General

Profile

Actions

Plugins Python API » History » Revision 2

« Previous | Revision 2/21 (diff) | Next »
Alexis Jeandet, 21/09/2015 12:32 PM


Plugins Python API

All SocExplorer plugins expose some common functions and their own functions to the embedded Python terminal.

Common Functions

All this functions are either implemented in the base class socexplorerplugin or in the plugin itself.

Function list:
  • QVariantList Read (unsigned int address, unsigned int count);
  • void Write (unsigned int address, QList<QVariant> dataList);
  • void closeMe ();
  • void activate (bool flag);
  • void setInstanceName (const QString & newName);
  • bool dumpMemory (unsigned int address, unsigned int count, QString file);
  • bool memSet (unsigned int address, int value, unsigned int count);
  • bool loadbin (unsigned int address, QString file);
  • bool loadfile (abstractBinFile * file);
  • bool dumpMemory (unsigned int address, unsigned int count, QString file, const QString & format);

QVariantList Read (unsigned int address, unsigned int count)

void Write (unsigned int address, QList<QVariant> dataList)

void closeMe ()

void activate (bool flag)

void setInstanceName (const QString & newName)

bool dumpMemory (unsigned int address, unsigned int count, QString file)

bool memSet (unsigned int address, int value, unsigned int count)

bool loadbin (unsigned int address, QString file)

bool loadfile (abstractBinFile * file)

bool dumpMemory (unsigned int address, unsigned int count, QString file, const QString & format)

Updated by Alexis Jeandet over 8 years ago · 2 revisions

Also available in: PDF HTML TXT