[221] | 1 | /* -*-c++-*- osgVisual - Copyright (C) 2009-2011 Torben Dannhauer |
---|
[31] | 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 | |
---|
[59] | 19 | using namespace osgVisual; |
---|
[31] | 20 | |
---|
| 21 | dataIO_clusterDummy::dataIO_clusterDummy() |
---|
| 22 | { |
---|
| 23 | OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy constructed" << std::endl; |
---|
| 24 | } |
---|
| 25 | |
---|
| 26 | dataIO_clusterDummy::~dataIO_clusterDummy(void) |
---|
| 27 | { |
---|
| 28 | OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy destructed" << std::endl; |
---|
| 29 | } |
---|
| 30 | |
---|
[183] | 31 | bool dataIO_clusterDummy::init(xmlNode* configurationNode, osgViewer::Viewer* viewer_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool asAscii_) |
---|
[31] | 32 | { |
---|
| 33 | sendContainer = sendContainer_; |
---|
[186] | 34 | OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy init()" << std::endl; |
---|
[183] | 35 | return true; |
---|
[31] | 36 | } |
---|
| 37 | |
---|
[183] | 38 | bool dataIO_clusterDummy::processXMLConfiguration(xmlNode* clusterConfig_) |
---|
| 39 | { |
---|
[186] | 40 | OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy processXMLConfiguration()" << std::endl; |
---|
[183] | 41 | return true; |
---|
| 42 | } |
---|
| 43 | |
---|
[31] | 44 | void dataIO_clusterDummy::shutdown() |
---|
| 45 | { |
---|
| 46 | OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy shutdown();" << std::endl; |
---|
| 47 | } |
---|
| 48 | |
---|
[183] | 49 | bool dataIO_clusterDummy::sendTO_OBJvaluesToSlaves(osg::Matrixd viewMatrix_) |
---|
[31] | 50 | { |
---|
| 51 | OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy sendTO_OBJvaluesToSlaves()" << std::endl; |
---|
| 52 | |
---|
| 53 | return true; |
---|
| 54 | } |
---|
| 55 | |
---|
| 56 | bool dataIO_clusterDummy::readTO_OBJvaluesFromMaster() |
---|
| 57 | { |
---|
| 58 | OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy readTO_OBJvaluesFromMaster()" << std::endl; |
---|
| 59 | |
---|
| 60 | return true; |
---|
| 61 | } |
---|
| 62 | |
---|
| 63 | void dataIO_clusterDummy::reportAsReadyToSwap() |
---|
| 64 | { |
---|
| 65 | OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy reportAsReadyToSwap()" << std::endl; |
---|
| 66 | } |
---|
| 67 | |
---|
| 68 | bool dataIO_clusterDummy::waitForSwap() |
---|
| 69 | { |
---|
| 70 | OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy waitForSwap()" << std::endl; |
---|
| 71 | |
---|
| 72 | return true; |
---|
| 73 | } |
---|
| 74 | |
---|
| 75 | bool dataIO_clusterDummy::waitForAllReadyToSwap() |
---|
| 76 | { |
---|
| 77 | OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy waitForAllReadyToSwap()" << std::endl; |
---|
| 78 | |
---|
| 79 | return true; |
---|
| 80 | } |
---|
| 81 | |
---|
| 82 | bool dataIO_clusterDummy::sendSwapCommand() |
---|
| 83 | { |
---|
| 84 | OSG_NOTIFY( osg::ALWAYS ) << "clusterDummy sendSwapCommand()" << std::endl; |
---|
| 85 | |
---|
| 86 | return true; |
---|
| 87 | } |
---|