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 :
30 0 : void FrameData::serialize( co::DataOStream& os ) const
31 : {
32 0 : os << _pvp << _context << _zoom << _frameType << _buffers;
33 0 : }
34 :
35 0 : void FrameData::deserialize( co::DataIStream& is )
36 : {
37 0 : is >> _pvp >> _context >> _zoom >> _frameType >> _buffers;
38 0 : }
39 :
40 : }
41 84 : }
|