⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sortedlisttest.h

📁 开源代码的pwlib的1.10.0版本,使用openh323的1.18.0版本毕备
💻 H
字号:

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

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


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

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

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


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -