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

          Line data    Source code
       1             : 
       2             : /* Copyright (c) 2006-2016, Stefan Eilemann <eile@equalizergraphics.com>
       3             :  *                          Daniel Nachbaur <danielnachbaur@gmail.com>
       4             :  *                          Cedric Stalder <cedric.stalder@gmail.com>
       5             :  *
       6             :  * This library is free software; you can redistribute it and/or modify it under
       7             :  * the terms of the GNU Lesser General Public License version 2.1 as published
       8             :  * by the Free Software Foundation.
       9             :  *
      10             :  * This library is distributed in the hope that it will be useful, but WITHOUT
      11             :  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
      12             :  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
      13             :  * details.
      14             :  *
      15             :  * You should have received a copy of the GNU Lesser General Public License
      16             :  * along with this library; if not, write to the Free Software Foundation, Inc.,
      17             :  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
      18             :  */
      19             : 
      20             : #include "frameData.h"
      21             : 
      22             : #include <co/dataIStream.h>
      23             : #include <co/dataOStream.h>
      24             : 
      25             : namespace eq
      26             : {
      27             : namespace fabric
      28             : {
      29           8 : void FrameData::serialize(co::DataOStream& os) const
      30             : {
      31           8 :     os << _pvp << _context << _zoom << _frameType << _buffers;
      32           8 : }
      33             : 
      34           2 : void FrameData::deserialize(co::DataIStream& is)
      35             : {
      36           2 :     is >> _pvp >> _context >> _zoom >> _frameType >> _buffers;
      37           2 : }
      38             : }
      39          60 : }

Generated by: LCOV version 1.11