24 #ifndef vtkSocketCollection_h
25 #define vtkSocketCollection_h
27 #include "vtkCommonSystemModule.h"
47 int SelectSockets(
unsigned long msec =0);
54 {
return this->SelectedSocket; }
73 void AddItem(
vtkObject* o) { this->Superclass::AddItem(o); }
void ReplaceItem(int i, vtkObject *)
Replace the i'th item in the collection with a.
abstract base class for most VTK objects
void RemoveAllItems()
Remove all objects from the list.
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 with empty list.
void AddItem(vtkObject *)
Add an object to the list.
create and manipulate unsorted lists of objects
BSD socket encapsulation.
void RemoveItem(int i)
Remove the i'th item in the list.