Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PINDEX PSafeCollection::GetSize (  ) const [inherited]

Get the current size of the collection. Note that usefulness of this function is limited as it is merely an instantaneous snapshot of the state of the collection.

Definition at line 385 of file safecoll.cxx.

References PContainer::GetSize().

Referenced by PSafeCollection::IsEmpty(), and DoSomeThing2::Main().

  PWaitAndSignal lock(collectionMutex);
  return collection->GetSize();

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index