Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

osg::ConnectionType Class Reference
[OpenSG network support]

Brief. More...

#include <OSGConnectionType.h>

List of all members.

Public Types

Types
typedef Connection *(* CreateFunction )(void)

Public Methods

Constructors
 ConnectionType (CreateFunction, const string &name)
 ConnectionType (const ConnectionType &source)
Destructor
virtual ~ConnectionType (void)
Get
string getName (void) const
CreateFunction getCreateFunction (void) const
your_category
Connectioncreate (void)
Assignment
ConnectionType & operator= (const ConnectionType &source)
Comparison
bool operator< (const ConnectionType &other) const
bool operator== (const ConnectionType &other) const
bool operator!= (const ConnectionType &other) const

Protected Attributes

CreateFunction _createFunction
string _name


Detailed Description

Brief.

Author:
Marcus Roth
A connection type describes a network connection and provides an interface for dynamic connection creation.


Member Typedef Documentation

typedef Connection*(* osg::ConnectionType::CreateFunction)(void)
 


Constructor & Destructor Documentation

ConnectionType::ConnectionType CreateFunction    createFunction,
const string &    name
 

Constructor

Parameters:
createFunction  Pointer to the create function
name  Name of the connection

ConnectionType::ConnectionType const ConnectionType &    source
 

Copy constructor

ConnectionType::~ConnectionType void    [virtual]
 

Destructor

Unregister the connection from the factory


Member Function Documentation

string ConnectionType::getName void    const
 

get conneciton name

ConnectionType::CreateFunction ConnectionType::getCreateFunction void    const
 

get conneciton create function

Connection * ConnectionType::create void   
 

create Connection

ConnectionType & ConnectionType::operator= const ConnectionType &    source
 

assignment

bool ConnectionType::operator< const ConnectionType &    other const
 

less

bool ConnectionType::operator== const ConnectionType &    other const
 

equal

bool ConnectionType::operator!= const ConnectionType &    other const
 

unequal


Member Data Documentation

CreateFunction osg::ConnectionType::_createFunction [protected]
 

string osg::ConnectionType::_name [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Jul 3 16:32:28 2002 for OpenSG by doxygen1.2.16