vision_master.cpp

00001 
00002 /***************************************************************************
00003  *  vision_master.h - Vision Master aspect for Fawkes
00004  *
00005  *  Created: Tue May 29 14:45:54 2007
00006  *  Copyright  2006-2007  Tim Niemueller [www.niemueller.de]
00007  *
00008  ****************************************************************************/
00009 
00010 /*  This program is free software; you can redistribute it and/or modify
00011  *  it under the terms of the GNU General Public License as published by
00012  *  the Free Software Foundation; either version 2 of the License, or
00013  *  (at your option) any later version. A runtime exception applies to
00014  *  this software (see LICENSE.GPL_WRE file mentioned below for details).
00015  *
00016  *  This program is distributed in the hope that it will be useful,
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  *  GNU Library General Public License for more details.
00020  *
00021  *  Read the full text in the LICENSE.GPL_WRE file in the doc directory.
00022  */
00023 
00024 #include <aspect/vision_master.h>
00025 
00026 namespace fawkes {
00027 
00028 /** @class VisionMasterAspect <aspect/vision_master.h>
00029  * Vision Master Aspect.
00030  *
00031  * This aspect provides access to the vision muster. Your thread having
00032  * this aspect has to call the proper constructor that sets the vision
00033  * master.
00034  *
00035  * @ingroup Aspects
00036  * @author Tim Niemueller
00037  */
00038 
00039 
00040 /** Constructor.
00041  * @param master vision master
00042  */
00043 VisionMasterAspect::VisionMasterAspect(firevision::VisionMaster *master)
00044 {
00045   this->master = master;
00046 }
00047 
00048 
00049 /** Virtual empty Destructor. */
00050 VisionMasterAspect::~VisionMasterAspect()
00051 {
00052 }
00053 
00054 
00055 /** Get vision master.
00056  * @return vision master
00057  */
00058 firevision::VisionMaster *
00059 VisionMasterAspect::vision_master()
00060 {
00061   return master;
00062 }
00063 
00064 } // end namespace fawkes

Generated on Tue Feb 22 13:31:16 2011 for Fawkes API by  doxygen 1.4.7