12 #ifndef vtkSocketCollection_h
13 #define vtkSocketCollection_h
16 #include "vtkCommonSystemModule.h"
18 VTK_ABI_NAMESPACE_BEGIN
36 int SelectSockets(
unsigned long msec = 0);
void ReplaceItem(int i, vtkObject *)
Replace the i'th item in the collection with the given item.
abstract base class for most VTK objects
void RemoveAllItems()
Remove all items from the collection.
a collection for sockets.
vtkSocket * GetLastSelectedSocket()
Returns the socket selected during the last SelectSockets(), if any.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkCollection * New()
Construct an empty collection.
void AddItem(vtkObject *)
Add given item to the bottom (end) of the collection.
create and manipulate ordered lists of objects
BSD socket encapsulation.
void RemoveItem(int i)
Remove the i'th item in the collection.
vtkSocket * SelectedSocket