PARP Research Group University of Murcia, Spain


src/qvworkers/qvsynchronizerworker.h

Go to the documentation of this file.
00001 /*
00002  *      Copyright (C) 2007, 2008. PARP Research Group.
00003  *      <http://perception.inf.um.es>
00004  *      University of Murcia, Spain.
00005  *
00006  *      This file is part of the QVision library.
00007  *
00008  *      QVision is free software: you can redistribute it and/or modify
00009  *      it under the terms of the GNU Lesser General Public License as
00010  *      published by the Free Software Foundation, version 3 of the License.
00011  *
00012  *      QVision is distributed in the hope that it will be useful,
00013  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
00014  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00015  *      GNU Lesser General Public License for more details.
00016  *
00017  *      You should have received a copy of the GNU Lesser General Public
00018  *      License along with QVision. If not, see <http://www.gnu.org/licenses/>.
00019  */
00020 
00024 
00025 #ifndef QVSYNCHRONIZERWORKER_H
00026 #define QVSYNCHRONIZERWORKER_H
00027 
00028 #include <QVWorker>
00029 
00034 class QVSynchronizer: public QVWorker
00035         {
00036         public:
00037                 QVSynchronizer(QString name = QString()): QVWorker(name)
00038                         { }
00039 
00040                 void iterate()
00041                         { }
00042 
00043                 virtual bool linkProperty(QString sourcePropName, QVPropertyContainer *destinyContainer, QString destinyPropName, LinkType linkType = AsynchronousLink);
00044                 virtual bool linkProperty(QString sourcePropName, QVPropertyContainer &destinyContainer, QString destinyPropName, LinkType linkType = AsynchronousLink);
00045                 virtual bool linkProperty(QVPropertyContainer *destinyContainer, QString destinyPropName, LinkType linkType = AsynchronousLink);
00046                 virtual bool linkProperty(QVPropertyContainer &destinyContainer, QString destinyPropName, LinkType linkType = AsynchronousLink);
00047                 virtual bool linkProperty(QString sourcePropName, QVPropertyContainer *destinyContainer, LinkType linkType = AsynchronousLink);
00048                 virtual bool linkProperty(QString sourcePropName, QVPropertyContainer &destinyContainer, LinkType linkType = AsynchronousLink);
00049                 virtual void linkProperty(QVPropertyContainer *container, LinkType linkType = AsynchronousLink);
00050                 virtual void linkProperty(QVPropertyContainer &container, LinkType linkType = AsynchronousLink);
00051                 virtual bool unlinkProperty(QString origName, QVPropertyContainer *destCont, QString destName);
00052                 virtual bool unlinkProperty(QString origName, QVPropertyContainer &destCont, QString destName);
00053 
00054         protected:
00055                 virtual bool linkUnspecifiedInputProperty(QVPropertyContainer *sourceContainer, QString sourcePropName, LinkType linkType = AsynchronousLink);
00056                 virtual bool treatUnlinkInputProperty(QString destPropName, QVPropertyContainer *sourceCont, QString sourcePropName);
00057         };
00058 
00059 #endif



QVision framework. PARP research group, copyright 2007, 2008.