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.
void RemoveItem(int i)
Overridden to unset SelectedSocket.
vtkSocket * SelectedSocket
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RemoveItem(vtkObject *)
Overridden to unset SelectedSocket.
static vtkSocketCollection * New()
void AddItem(vtkSocket *soc)
void ReplaceItem(int i, vtkObject *)
Overridden to unset SelectedSocket.
~vtkSocketCollection() override
vtkSocket * GetLastSelectedSocket()
Returns the socket selected during the last SelectSockets(), if any.
int SelectSockets(unsigned long msec=0)
Select all Connected sockets in the collection.
void RemoveAllItems()
Overridden to unset SelectedSocket.
BSD socket encapsulation.