#include <grabber.hpp>
Fonctions membres publiques | |
dataGrabber (Param *param, Caminfo *ci) | |
~dataGrabber () | |
Destructeur de dataGrabber. | |
buffer_t & | getData () |
Renvoi le dernier buffer remplit. | |
size_t | size () |
Renvoi la taille du dernier buffer remplit. | |
bool | isready () const |
Permet de savoir quand les N buffers ont été remplis. | |
void | stop () |
Arrête le thread lancé. |
Cette classe permet la récupération des images en provenance de la caméra. Elle crée un tableau de N buffers et de N mutexes.
|
Copyright (c) 2006 for LASMEA UMR 6602 du CNRS. All rights reserved. This file is part of the ipsi C++ Library. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1, or (at your option) any later version. This library 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; see the file COPYING. If not, send mail to the developers of ipsi. As a special exception, you may use this file as part of a free software library without restriction. Specifically, if other files instantiate templates or use macros or inline functions from this file, or you compile this file and link it with other files to produce an executable, this file does not by itself cause the resulting executable to be covered by the GNU Lesser General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU Lesser General Public License. file : grabber.impl.hpp created : Thr Jun 01 09:41:04 2006 by : Christophe Tournayre description : Modified : To do : |
|
Destructeur de dataGrabber. Ce destructeur stop d'abord le thread qu'il à lancé puis désalloue les pointeurs qu'il a alloué lors de sa cration. |
|
Renvoi le dernier buffer remplit.
|
|
Permet de savoir quand les N buffers ont été remplis.
|
|
Renvoi la taille du dernier buffer remplit.
|
|
Arrête le thread lancé. Cette méthode assigne false à mRun ce qui a pour conséquence l'arrêt du acq. |