source: osgVisual/src/cluster/dataIO_clusterAsioTcpIostream.cpp @ 59

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

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

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 "..\..\include\cluster\dataIO_clusterAsioTcpIostream.h"
18
19using namespace osgVisual;
20
21dataIO_clusterAsioTcpIostream::dataIO_clusterAsioTcpIostream()
22{
23        OSG_NOTIFY( osg::ALWAYS ) << "clusterAsioTcpIostream constructed" << std::endl;
24}
25
26dataIO_clusterAsioTcpIostream::~dataIO_clusterAsioTcpIostream(void)
27{
28        OSG_NOTIFY( osg::ALWAYS ) << "clusterAsioTcpIostream destructed" << std::endl;
29}
30
31void dataIO_clusterAsioTcpIostream::init( osg::ArgumentParser& arguments_, clustermode clusterMode_, osgVisual::dataIO_transportContainer* sendContainer_, bool compressionEnabled_, bool asAscii_ )
32{
33        OSG_NOTIFY( osg::ALWAYS ) << "clusterAsioTcpIostream init()" << std::endl;
34}
35
36void dataIO_clusterAsioTcpIostream::shutdown()
37{
38        OSG_NOTIFY( osg::ALWAYS ) << "clusterAsioTcpIostream shutdown()" << std::endl;
39}
40
41bool dataIO_clusterAsioTcpIostream::sendTO_OBJvaluesToSlaves()
42{
43        OSG_NOTIFY( osg::INFO ) << "clusterAsioTcpIostream sendTO_OBJvaluesToSlaves()" << std::endl;
44        return true;
45}
46
47bool dataIO_clusterAsioTcpIostream::readTO_OBJvaluesFromMaster()
48{
49        OSG_NOTIFY( osg::INFO ) << "clusterAsioTcpIostream readTO_OBJvaluesFromMaster()" << std::endl;
50
51        return true;
52}
53
54void dataIO_clusterAsioTcpIostream::reportAsReadyToSwap()
55{
56        OSG_NOTIFY( osg::INFO ) << "clusterAsioTcpIostream reportAsReadyToSwap()" << std::endl;
57}
58
59bool dataIO_clusterAsioTcpIostream::waitForSwap()
60{
61        OSG_NOTIFY( osg::INFO ) << "clusterAsioTcpIostream waitForSwap()" << std::endl;
62        return true;
63}
64
65bool dataIO_clusterAsioTcpIostream::waitForAllReadyToSwap()
66{
67        OSG_NOTIFY( osg::INFO ) << "clusterAsioTcpIostream waitForAllReadyToSwap()" << std::endl;
68        return true;
69}
70
71bool dataIO_clusterAsioTcpIostream::sendSwapCommand()
72{
73        OSG_NOTIFY( osg::INFO ) << "clusterAsioTcpIostream sendSwapCommand()" << std::endl;
74        return true;
75}
Note: See TracBrowser for help on using the repository browser.