source: osgVisual/src/cluster/dataIO_clusterDummy.cpp @ 43

Last change on this file since 43 was 31, checked in by Torben Dannhauer, 15 years ago

Adding first version of osgVisual!!

File size: 2.4 KB
Line 
1/* -*-c++-*- osgVisual - Copyright (C) 2009-2010 Torben Dannhauer
2 *
3 * This library is based on OpenSceneGraph, open source and may be redistributed and/or modified under
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version.  The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
7 *
8 * osgVisual requires for some proprietary modules a license from the correspondig manufacturer.
9 * You have to aquire licenses for all used proprietary modules.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 * OpenSceneGraph Public License for more details.
15*/
16
17#include "dataIO_clusterDummy.h"
18
19#include "memoryLeakDetection.h"
20
21dataIO_clusterDummy::dataIO_clusterDummy()
22{
23        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy constructed" << std::endl;
24}
25
26dataIO_clusterDummy::~dataIO_clusterDummy(void)
27{
28        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy destructed" << std::endl;
29}
30
31void dataIO_clusterDummy::init( osg::ArgumentParser& arguments_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ )
32{
33        sendContainer = sendContainer_;
34        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy init();" << std::endl;
35}
36
37void dataIO_clusterDummy::shutdown()
38{
39        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy shutdown();" << std::endl;
40}
41
42bool dataIO_clusterDummy::sendTO_OBJvaluesToSlaves()
43{
44        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy sendTO_OBJvaluesToSlaves()" << std::endl;
45
46        return true;
47}
48
49bool dataIO_clusterDummy::readTO_OBJvaluesFromMaster()
50{
51        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy readTO_OBJvaluesFromMaster()" << std::endl;
52
53        return true;
54}
55
56void dataIO_clusterDummy::reportAsReadyToSwap()
57{
58        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy reportAsReadyToSwap()" << std::endl;
59}
60
61bool dataIO_clusterDummy::waitForSwap()
62{
63        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy waitForSwap()" << std::endl;
64
65        return true;
66}
67
68bool dataIO_clusterDummy::waitForAllReadyToSwap()
69{
70        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy waitForAllReadyToSwap()" << std::endl;
71
72        return true;
73}
74
75bool dataIO_clusterDummy::sendSwapCommand()
76{
77        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy sendSwapCommand()" << std::endl;
78
79        return true;
80}
Note: See TracBrowser for help on using the repository browser.