Skip to content
Snippets Groups Projects
Select Git revision
  • c0d1c423741658ddf87516e4ac41993bc03e13a2
  • master default protected
  • 72-improve-docs-for_optimal_setup
  • os-path-join
  • develop-GA
  • add-higher-spindown-components
  • v1.3
  • v1.2
  • v1.1.2
  • v1.1.0
  • v1.0.1
11 results

semi_coherent_twoglitch_search_using_MCMC.py

Blame
    • Gregory Ashton's avatar
      89f200ed
      Renames sftfilepath -> sftfilepattern · 89f200ed
      Gregory Ashton authored
      This renames the input sftfilepath to sftfilepattern and adds
      documentation on how that should be used, i.e. a colon separated list of
      wildstring or exact matches. In globbing for all matches, the colon
      split is added in. sftfilepath is still used by `Writer` since
      an exact path is known.
      89f200ed
      History
      Renames sftfilepath -> sftfilepattern
      Gregory Ashton authored
      This renames the input sftfilepath to sftfilepattern and adds
      documentation on how that should be used, i.e. a colon separated list of
      wildstring or exact matches. In globbing for all matches, the colon
      split is added in. sftfilepath is still used by `Writer` since
      an exact path is known.
    AbstractGraphicsEngine.h 6.97 KiB
    /***************************************************************************
     *   Copyright (C) 2008 by Oliver Bock                                     *
     *   oliver.bock[AT]aei.mpg.de                                             *
     *                                                                         *
     *   This file is part of Einstein@Home.                                   *
     *                                                                         *
     *   Einstein@Home is free software: you can redistribute it and/or modify *
     *   it under the terms of the GNU General Public License as published     *
     *   by the Free Software Foundation, version 2 of the License.            *
     *                                                                         *
     *   Einstein@Home 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 General Public License for more details.                          *
     *                                                                         *
     *   You should have received a copy of the GNU General Public License     *
     *   along with Einstein@Home. If not, see <http://www.gnu.org/licenses/>. *
     *                                                                         *
     ***************************************************************************/
    
    #ifndef ABSTRACTGRAPHICSENGINE_H_
    #define ABSTRACTGRAPHICSENGINE_H_
    
    #include <string>
    
    #include "BOINCClientAdapter.h"
    #include "Resource.h"
    
    using namespace std;
    
    /**
     * \addtogroup framework Framework
     * @{
     */
    
    /**
     * \brief This abstract class provides common features for all graphics engines
     *
     * All graphics engines (Open GL visualisation code) have to be derived from this class.
     * First of all it defines the common interface which the rest of the graphics framework
     * expects any implementing classes to support. Apart from that, this class also defines
     * common properties like event idetifiers and basic access to BOINC client information.
     *
     * \author Oliver Bock\n
     * Max-Planck-Institute for Gravitational Physics\n
     * Hannover, Germany
     */
    class AbstractGraphicsEngine
    {
    public:
    	/// Destructor
    	virtual ~AbstractGraphicsEngine();
    
    	/**
    	 * \brief This method is called when an implementing graphics engine should initialize itself
    	 *
    	 * \param width The current width of the display surface
    	 * \param height The current height of the display surface
    	 * \param font A pointer to a Resource object containing TTF font faces for text rendering
    	 * \param recycle This flag indicates whether we initialize (FALSE) or reinitialize (TRUE) the context
    	 */
    	virtual void initialize(const int width, const int height, const Resource *font, const bool recycle = false) = 0;
    
    	/**
    	 * \brief This method is called when the windowing system encounters a window resize event
    	 *
    	 * \param width The new width of the display surface
    	 * \param height The new height of the display surface
    	 */
    	virtual void resize(const int width, const int height) = 0;