24#ifndef vtkSocketCollection_h
25#define vtkSocketCollection_h
27#include "vtkCommonSystemModule.h"
54 {
return this->SelectedSocket; }
73 void AddItem(
vtkObject* o) { this->Superclass::AddItem(o); }
create and manipulate unsorted lists of objects
a simple class to control print indentation
abstract base class for most VTK objects
a collection for sockets.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void RemoveItem(vtkObject *)
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.
BSD socket encapsulation.