LCOV - code coverage report
Current view: top level - eq/server - frameData.cpp (source / functions) Hit Total Coverage
Test: Equalizer Lines: 8 12 66.7 %
Date: 2017-12-16 05:07:20 Functions: 4 5 80.0 %

          Line data    Source code
       1             : 
       2             : /* Copyright (c) 2006-2017, Stefan Eilemann <eile@equalizergraphics.com>
       3             :  *                          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           4 : FrameData::FrameData()
      29           4 :     : _frameNumber(0)
      30             : {
      31           4 :     setBuffers(fabric::Frame::Buffer::undefined);
      32           4 : }
      33             : 
      34           8 : void FrameData::getInstanceData(co::DataOStream& os)
      35             : {
      36           8 :     serialize(os);
      37           8 : }
      38             : 
      39           0 : void FrameData::applyInstanceData(co::DataIStream& is)
      40             : {
      41           0 :     LBUNREACHABLE;
      42           0 :     deserialize(is);
      43           0 : }
      44             : }
      45          60 : }

Generated by: LCOV version 1.11