LCOV - code coverage report
Current view: top level - co - objectDeltaDataOStream.cpp (source / functions) Hit Total Coverage
Test: Collage Lines: 9 9 100.0 %
Date: 2016-12-14 01:26:48 Functions: 5 6 83.3 %

          Line data    Source code
       1             : 
       2             : /* Copyright (c) 2007-2014, Stefan Eilemann <eile@equalizergraphics.com>
       3             :  *                    2010, Cedric Stalder  <cedric.stalder@gmail.com>
       4             :  *                    2012, Daniel Nachbaur <danielnachbaur@gmail.com>
       5             :  *
       6             :  * This file is part of Collage <https://github.com/Eyescale/Collage>
       7             :  *
       8             :  * This library is free software; you can redistribute it and/or modify it under
       9             :  * the terms of the GNU Lesser General Public License version 2.1 as published
      10             :  * by the Free Software Foundation.
      11             :  *
      12             :  * This library is distributed in the hope that it will be useful, but WITHOUT
      13             :  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
      14             :  * FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
      15             :  * details.
      16             :  *
      17             :  * You should have received a copy of the GNU Lesser General Public License
      18             :  * along with this library; if not, write to the Free Software Foundation, Inc.,
      19             :  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
      20             :  */
      21             : 
      22             : #include "objectDeltaDataOStream.h"
      23             : 
      24             : #include "object.h"
      25             : #include "objectCommand.h"
      26             : #include "objectCM.h"
      27             : #include "objectDataOCommand.h"
      28             : 
      29             : namespace co
      30             : {
      31           9 : ObjectDeltaDataOStream::ObjectDeltaDataOStream( const ObjectCM* cm )
      32           9 :         : ObjectDataOStream( cm )
      33           9 : {}
      34             : 
      35           9 : ObjectDeltaDataOStream::~ObjectDeltaDataOStream()
      36           9 : {}
      37             : 
      38         106 : void ObjectDeltaDataOStream::sendData( const void* data, const uint64_t size,
      39             :                                        const bool last )
      40             : {
      41             :     ObjectDataOStream::send( CMD_OBJECT_DELTA, COMMANDTYPE_OBJECT,
      42         106 :                              CO_INSTANCE_ALL, data, size, last );
      43         106 : }
      44             : 
      45          66 : }

Generated by: LCOV version 1.11