#include <OSGConnection.h>
Inheritance diagram for osg::Connection:


Public Methods | |
Constructors | |
| Connection (int zeroCopyThreshold) | |
| Constructor. | |
| virtual | ~Connection (void) |
| Destructor. | |
Connection functionaliy | |
| virtual string | bind (const string &address)=0 |
| virtual void | accept (void)=0 |
| virtual void | connect (const string &address)=0 |
| virtual void | wait (void)=0 |
| virtual void | signal (void)=0 |
| virtual UInt32 | getChannelCount (void)=0 |
| virtual void | selectChannel (void)=0 |
| virtual const ConnectionType * | getType (void)=0 |
Private Types | |
| typedef BinaryDataHandler | Inherited |
Private Methods | |
| Connection (const Connection &source) | |
| Connection & | operator= (const Connection &source) |
Writing to n destinations is easy to handle but reading from n simutanious sending sources is more complicated. To make things easier, you have to select one channel for exclusiv read. This is done by calling selectChannel. Implementations fo selectChannel should select the channel with the most pending data for getting the best read performance.
wait and signal are used to synchronize a number of programms.
|
|
Reimplemented in osg::MulticastConnection, and osg::StreamSockConnection. |
|
|
Constructor.
|
|
|
Destructor.
|
|
|
|
|
|
Implemented in osg::MulticastConnection, and osg::StreamSockConnection. |
|
|
Implemented in osg::MulticastConnection, and osg::StreamSockConnection. |
|
|
Implemented in osg::MulticastConnection, and osg::StreamSockConnection. |
|
|
Implemented in osg::MulticastConnection, and osg::StreamSockConnection. |
|
|
Implemented in osg::MulticastConnection, and osg::StreamSockConnection. |
|
|
Implemented in osg::MulticastConnection, and osg::StreamSockConnection. |
|
|
Implemented in osg::MulticastConnection, and osg::StreamSockConnection. |
|
|
Implemented in osg::MulticastConnection, and osg::StreamSockConnection. |
|
|
|
1.2.16