24 #ifndef vtkSocketCollection_h
25 #define vtkSocketCollection_h
28 #include "vtkCommonSystemModule.h"
create and manipulate ordered lists of objects
void AddItem(vtkObject *)
Add an object to the bottom of the list.
a simple class to control print indentation
abstract base class for most VTK objects
a collection for sockets.
vtkSocket * SelectedSocket
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkSocket * GetLastSelectedSocket()
Returns the socket selected during the last SelectSockets(), if any.
void RemoveItem(vtkObject *)
static vtkSocketCollection * New()
void AddItem(vtkSocket *soc)
void ReplaceItem(int i, vtkObject *)
Overridden to unset SelectedSocket.
~vtkSocketCollection() override
int SelectSockets(unsigned long msec=0)
Select all Connected sockets in the collection.
BSD socket encapsulation.