LCOV - code coverage report
Current view: top level - eq/server - nodeFactory.h (source / functions) Hit Total Coverage
Test: Equalizer Lines: 1 1 100.0 %
Date: 2017-12-16 05:07:20 Functions: 1 1 100.0 %

          Line data    Source code
       1             : 
       2             : /* Copyright (c) 2010, 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 EQSERVER_NODEFACTORY_H
      19             : #define EQSERVER_NODEFACTORY_H
      20             : 
      21             : #include "types.h"
      22             : 
      23             : namespace eq
      24             : {
      25             : namespace server
      26             : {
      27             : class NodeFactory
      28             : {
      29             : public:
      30             :     Config* createConfig(ServerPtr parent);
      31             :     void releaseConfig(Config* config);
      32             : 
      33             :     Node* createNode(Config* parent);
      34             :     void releaseNode(Node* node);
      35             : 
      36             :     Observer* createObserver(Config* parent);
      37             :     void releaseObserver(Observer* observer);
      38             : 
      39             :     Layout* createLayout(Config* parent);
      40             :     void releaseLayout(Layout* layout);
      41             : 
      42             :     View* createView(Layout* parent);
      43             :     void releaseView(View* view);
      44             : 
      45             :     Canvas* createCanvas(Config* parent);
      46             :     void releaseCanvas(Canvas* canvas);
      47             : 
      48             :     Segment* createSegment(Canvas* parent);
      49             :     void releaseSegment(Segment* segment);
      50             : 
      51             :     Pipe* createPipe(Node* parent);
      52             :     void releasePipe(Pipe* pipe);
      53             : 
      54             :     Window* createWindow(Pipe* parent);
      55             :     void releaseWindow(Window* window);
      56             : 
      57             :     Channel* createChannel(Window* parent);
      58             :     void releaseChannel(Channel* channel);
      59             : 
      60          20 :     ~NodeFactory() {}
      61             : };
      62             : }
      63             : }
      64             : 
      65             : #endif // EQSERVER_NODEFACTORY_H

Generated by: LCOV version 1.11