#include <acqiris.h>
Public Member Functions | |
Acqiris (QObject *=0) | |
Inits Acqiris. | |
~Acqiris () | |
Stops all Acqiris-things. | |
int | digitizers () |
Returns the number of found digitizers. | |
Digitizer * | digitizer (int) |
Returns a pointer to the specified digitizer. | |
Private Member Functions | |
QDomNode | saveToXML (QDomDocument doc) |
Store the information of this element into a new QDomElement. | |
bool | restoreFromXML (QDomNode node) |
Restore the state of this element from the given QDomNode. | |
QString | debug () const |
Custom debug text. | |
Private Attributes | |
std::list< Digitizer * > | _digitizers |
Initializes all the crades and gives access to all the found digitizers
NSAcqiris::Acqiris::~Acqiris | ( | ) |
Stops all Acqiris-things.
int NSAcqiris::Acqiris::digitizers | ( | ) | [inline] |
Digitizer* NSAcqiris::Acqiris::digitizer | ( | int | ) |
Returns a pointer to the specified digitizer.
QDomNode NSAcqiris::Acqiris::saveToXML | ( | QDomDocument | doc | ) | [inline, private, virtual] |
Store the information of this element into a new QDomElement.
This function is only to save the state of this element, all the recursive stuff will be done by toXml().
doc | The QDomDocument to use for creation of the element |
Implements NSCore::QTreeItem.
bool NSAcqiris::Acqiris::restoreFromXML | ( | QDomNode | node | ) | [inline, private, virtual] |
Restore the state of this element from the given QDomNode.
You don't have to do the recursive stuff here, that is handled in fromXml() for you. Only the things done in saveToXML need/can be restored here.
If you succeeded and want the childs to be restored too, return true.
node | The QDomNode to restore from |
Implements NSCore::QTreeItem.
QString NSAcqiris::Acqiris::debug | ( | ) | const [inline, private, virtual] |
Custom debug text.
This function has to be implemented and has to return the internal debug-data that is to be printed...
Implements NSCore::QTreeItem.
std::list<Digitizer*> NSAcqiris::Acqiris::_digitizers [private] |
Referenced by digitizers().