source: osgVisual/include/cluster/dataIO_clusterAsioTcpIostream.h @ 61

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

updated cluster functionality to allow build with any cluster module selected.

File size: 1.5 KB
Line 
1#pragma once
2/* -*-c++-*- osgVisual - Copyright (C) 2009-2010 Torben Dannhauer
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 "dataIO_cluster.h"
19
20namespace osgVisual
21{
22
23class dataIO_clusterAsioTcpIostream : public dataIO_cluster
24{
25public:
26        dataIO_clusterAsioTcpIostream();
27        virtual ~dataIO_clusterAsioTcpIostream(void);
28
29        virtual void init( osg::ArgumentParser& arguments_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ );
30        virtual void shutdown();
31        virtual bool sendTO_OBJvaluesToSlaves() ;
32        virtual bool readTO_OBJvaluesFromMaster();
33        virtual void reportAsReadyToSwap();
34        virtual bool waitForSwap();
35        virtual bool waitForAllReadyToSwap();
36        virtual bool sendSwapCommand();
37};
38
39}       // END Namespace
Note: See TracBrowser for help on using the repository browser.