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

          Line data    Source code
       1             : 
       2             : /* Copyright (c) 2010-2014, Stefan Eilemann <eile@eyescale.ch>
       3             :  *
       4             :  * This library is free software; you can redistribute it and/or modify it under
       5             :  * the terms of the GNU Lesser General Public License version 2.1 as published
       6             :  * by the Free Software Foundation.
       7             :  *
       8             :  * This library is distributed in the hope that it will be useful, but WITHOUT
       9             :  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
      10             :  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
      11             :  * details.
      12             :  *
      13             :  * You should have received a copy of the GNU Lesser General Public License
      14             :  * along with this library; if not, write to the Free Software Foundation, Inc.,
      15             :  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
      16             :  */
      17             : 
      18             : #ifndef EQADMIN_CONFIG_H
      19             : #define EQADMIN_CONFIG_H
      20             : 
      21             : #include <eq/admin/types.h>         // typedefs
      22             : #include <eq/fabric/config.h>       // base class
      23             : 
      24             : namespace eq
      25             : {
      26             : namespace admin
      27             : {
      28             : class Config : public fabric::Config< Server, Config, Observer, Layout,
      29             :                                       Canvas, Node, ConfigVisitor >
      30             : {
      31             : public:
      32             :     typedef fabric::Config< Server, Config, Observer, Layout, Canvas, Node,
      33             :                             ConfigVisitor > Super;
      34             : 
      35             :     /** Construct a new config. @version 1.0 */
      36             :     EQADMIN_API explicit Config( ServerPtr parent );
      37             : 
      38             :     /** Destruct a config. @version 1.0 */
      39             :     EQADMIN_API virtual ~Config();
      40             : 
      41             :     /** @return the local client node. @version 1.0 */
      42             :     EQADMIN_API ClientPtr getClient();
      43             : 
      44             :     /** @return the local client node. @version 1.0 */
      45             :     EQADMIN_API ConstClientPtr getClient() const;
      46             : 
      47             :     EQADMIN_API co::CommandQueue* getMainThreadQueue(); //!< @internal
      48             : 
      49             :     /** Commit all changes on this config and its children. @version 1.0 */
      50             :     EQADMIN_API virtual uint128_t commit( const uint32_t incarnation =
      51             :                                           CO_COMMIT_NEXT );
      52             : 
      53             :     /** @internal */
      54           0 :     const Channel* findChannel( const std::string& name ) const
      55           0 :     { return find< Channel >( name ); }
      56             : 
      57           0 :     void output( std::ostream& ) const {} //!< @internal
      58           0 :     virtual bool mapViewObjects() const { return true; } //!< @internal
      59           0 :     virtual bool mapNodeObjects() const { return true; } //!< @internal
      60             : };
      61             : }
      62             : }
      63             : 
      64             : #endif // EQADMIN_CONFIG_H

Generated by: LCOV version 1.11