VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkClientSocket.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkClientSocket.h
5
6
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7
All rights reserved.
8
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10
This software is distributed WITHOUT ANY WARRANTY; without even
11
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12
PURPOSE. See the above copyright notice for more information.
13
14
=========================================================================*/
19
#ifndef __vtkClientSocket_h
20
#define __vtkClientSocket_h
21
22
#include "
vtkSocket.h
"
23
class
vtkServerSocket
;
24
25
class
VTK_COMMON_EXPORT
vtkClientSocket
:
public
vtkSocket
26
{
27
public
:
28
static
vtkClientSocket
*
New
();
29
vtkTypeMacro(
vtkClientSocket
,
vtkSocket
);
30
void
PrintSelf
(ostream& os,
vtkIndent
indent);
31
33
int
ConnectToServer(
const
char
* hostname,
int
port
);
34
36
40
vtkGetMacro(ConnectingSide,
bool
);
42
43
//BTX
44
protected
:
45
vtkClientSocket
();
46
~
vtkClientSocket
();
47
48
vtkSetMacro(ConnectingSide,
bool
);
49
bool
ConnectingSide
;
50
friend
class
vtkServerSocket
;
51
private
:
52
vtkClientSocket
(
const
vtkClientSocket
&);
// Not implemented.
53
void
operator=(
const
vtkClientSocket
&);
// Not implemented.
54
//ETX
55
};
56
57
58
#endif
59
Generated on Wed May 30 2012 13:21:50 for VTK by
1.8.1