source: osgVisual/trunk/src/cluster/dataIO_clusterDummy.cpp @ 206

Last change on this file since 206 was 186, checked in by Torben Dannhauer, 14 years ago

XML configuration now works also with dataIO extLink

File size: 2.6 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
19using namespace osgVisual;
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
31bool dataIO_clusterDummy::init(xmlNode* configurationNode, osgViewer::Viewer* viewer_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool asAscii_)
32{
33        sendContainer = sendContainer_;
34        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy init()" << std::endl;
35        return true;
36}
37
38bool dataIO_clusterDummy::processXMLConfiguration(xmlNode* clusterConfig_)
39{
40        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy processXMLConfiguration()" << std::endl;
41        return true;
42}
43
44void dataIO_clusterDummy::shutdown()
45{
46        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy shutdown();" << std::endl;
47}
48
49bool dataIO_clusterDummy::sendTO_OBJvaluesToSlaves(osg::Matrixd viewMatrix_)
50{
51        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy sendTO_OBJvaluesToSlaves()" << std::endl;
52
53        return true;
54}
55
56bool dataIO_clusterDummy::readTO_OBJvaluesFromMaster()
57{
58        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy readTO_OBJvaluesFromMaster()" << std::endl;
59
60        return true;
61}
62
63void dataIO_clusterDummy::reportAsReadyToSwap()
64{
65        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy reportAsReadyToSwap()" << std::endl;
66}
67
68bool dataIO_clusterDummy::waitForSwap()
69{
70        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy waitForSwap()" << std::endl;
71
72        return true;
73}
74
75bool dataIO_clusterDummy::waitForAllReadyToSwap()
76{
77        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy waitForAllReadyToSwap()" << std::endl;
78
79        return true;
80}
81
82bool dataIO_clusterDummy::sendSwapCommand()
83{
84        OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy sendSwapCommand()" << std::endl;
85
86        return true;
87}
Note: See TracBrowser for help on using the repository browser.