source: osgVisual/trunk/include/cluster/dataIO_clusterDummy.h @ 223

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

Updated copyright NOTICE
(No code changes)

File size: 1.8 KB
RevLine 
[32]1#pragma once
[221]2/* -*-c++-*- osgVisual - Copyright (C) 2009-2011 Torben Dannhauer
[32]3 *
4 * This library is based on OpenSceneGraph, open source and may be redistributed and/or modified under
5 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
6 * (at your option) any later version.  The full license is in LICENSE file
7 * included with this distribution, and on the openscenegraph.org website.
8 *
9 * osgVisual requires for some proprietary modules a license from the correspondig manufacturer.
10 * You have to aquire licenses for all used proprietary modules.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 * OpenSceneGraph Public License for more details.
16*/
17
18#include <osg/notify>
19#include <osg/ArgumentParser>
20
21#include <dataIO_cluster.h>
22
23namespace osgVisual
24{
25
26/**
27 * \brief This class is a dummy class for the cluster.
28 *
29 * All functions which are called always return true and send a debug string to stdout to announce that they were called.
30 *
31 * @author Torben Dannhauer
32 * @date  Sep 2009
33 */ 
34class dataIO_clusterDummy :     public dataIO_cluster
35{
36public:
37        dataIO_clusterDummy();
38        virtual ~dataIO_clusterDummy(void);
39
[183]40        bool init(xmlNode* configurationNode, osgViewer::Viewer* viewer_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool asAscii_);
41        bool processXMLConfiguration(xmlNode* clusterConfig_);
[32]42        void shutdown();
43
44        void init();
[183]45        bool sendTO_OBJvaluesToSlaves(osg::Matrixd viewMatrix_);
[32]46        bool readTO_OBJvaluesFromMaster();
47        void reportAsReadyToSwap();
48        bool waitForSwap();
49        bool waitForAllReadyToSwap();
50        bool sendSwapCommand();
51};
52
53} //END NAMESPACE
Note: See TracBrowser for help on using the repository browser.