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

SortedListTest.h

#include <ptlib.h>
#include <ptlib/safecoll.h>

00005 class SortedListTest:public PProcess {
  PCLASSINFO(SortedListTest, PProcess);
public:
  SortedListTest();
  void Main();
};


00013 class DoSomeThing:public PThread {
  PCLASSINFO(DoSomeThing, PThread);
public:
  DoSomeThing(PINDEX _index);
  void Main();
private:
  PINDEX index;
  PSortedList<PString> list;
};

00023 class PSafeString:public PSafeObject {
  PCLASSINFO(PSafeString, PSafeObject);
  PSafeString(const PString & _string);
  void PrintOn(ostream &strm) const;
private:
  PString string;
};

00031 class DoSomeThing2:public PThread {
  PCLASSINFO(DoSomeThing2, PThread);
public:
  DoSomeThing2(PINDEX _index);
  void Main();
private:
  PINDEX index;
  PSafeSortedList<PSafeString> list;
};



Generated by  Doxygen 1.6.0   Back to index