LCOV - code coverage report
Current view: top level - eq/server - frameData.cpp (source / functions) Hit Total Coverage
Test: lcov2.info Lines: 8 12 66.7 %
Date: 2014-06-18 Functions: 4 5 80.0 %

          Line data    Source code
       1             : 
       2             : /* Copyright (c) 2006-2009, Stefan Eilemann <eile@equalizergraphics.com>
       3             :  *                    2011, Daniel Nachbaur <danielnachbaur@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             : #include "frameData.h"
      20             : 
      21             : #include <co/dataIStream.h>
      22             : #include <co/dataOStream.h>
      23             : 
      24             : namespace eq
      25             : {
      26             : namespace server
      27             : {
      28             : 
      29           9 : FrameData::FrameData()
      30             : {
      31           9 :     _data.buffers = eq::Frame::BUFFER_UNDEFINED;
      32           9 :     _data.frameType = eq::Frame::TYPE_MEMORY;
      33           9 : }
      34             : 
      35          18 : void FrameData::getInstanceData( co::DataOStream& os )
      36             : {
      37          18 :     _data.serialize( os );
      38          18 : }
      39             : 
      40           0 : void FrameData::applyInstanceData( co::DataIStream& is )
      41             : {
      42           0 :     LBUNREACHABLE;
      43           0 :     _data.deserialize( is );
      44           0 : }
      45             : 
      46             : }
      47          27 : }

Generated by: LCOV version 1.10