LCOV - code coverage report
Current view: top level - seq/detail - config.h (source / functions) Hit Total Coverage
Test: Equalizer Lines: 0 11 0.0 %
Date: 2016-07-30 05:04:55 Functions: 0 11 0.0 %

          Line data    Source code
       1             : 
       2             : /* Copyright (c) 2011-2015, Stefan Eilemann <eile@eyescale.ch>
       3             :  *                          Petros Kataras <petroskataras@gmail.com>
       4             :  *
       5             :  * This library is free software; you can redistribute it and/or modify it under
       6             :  * the terms of the GNU Lesser General Public License version 2.1 as published
       7             :  * by the Free Software Foundation.
       8             :  *
       9             :  * This library is distributed in the hope that it will be useful, but WITHOUT
      10             :  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
      11             :  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
      12             :  * details.
      13             :  *
      14             :  * You should have received a copy of the GNU Lesser General Public License
      15             :  * along with this library; if not, write to the Free Software Foundation, Inc.,
      16             :  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
      17             :  */
      18             : 
      19             : #ifndef EQSEQUEL_DETAIL_CONFIG_H
      20             : #define EQSEQUEL_DETAIL_CONFIG_H
      21             : 
      22             : #include <seq/types.h>
      23             : #include <eq/config.h> // base class
      24             : #include <eq/server.h> // RefPtr usage
      25             : 
      26             : namespace seq
      27             : {
      28             : namespace detail
      29             : {
      30             : class Config : public eq::Config
      31             : {
      32             : public:
      33           0 :     explicit Config( eq::ServerPtr parent )
      34           0 :         : eq::Config( parent ), _objects(0) {}
      35             : 
      36             :     seq::Application* getApplication();
      37             :     detail::Application* getApplicationImpl();
      38             : 
      39           0 :     virtual bool init() { LBDONTCALL; return false; }
      40           0 :     virtual bool run( co::Object* ) { LBDONTCALL; return false; }
      41           0 :     virtual bool exit() { LBDONTCALL; return false; }
      42             : 
      43           0 :     virtual bool needRedraw() { LBDONTCALL; return false; }
      44           0 :     virtual uint32_t startFrame() { LBDONTCALL; return 0; }
      45             : 
      46           0 :     virtual bool mapData( const uint128_t& )  { return true; }
      47           0 :     virtual void syncData( const uint128_t& ) { /* nop */ }
      48           0 :     virtual void unmapData() { /* nop */ }
      49             : 
      50             :     ObjectMap* getObjectMap();
      51             :     co::Object* getInitData();
      52             : 
      53             : protected:
      54           0 :     virtual ~Config() {}
      55             :     ObjectMap* _objects;
      56             : 
      57             : private:
      58             : };
      59             : }
      60             : }
      61             : 
      62             : #endif // EQSEQUEL_DETAIL_CONFIG_H

Generated by: LCOV version 1.11