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

📄 sharedqt.h

📁 vxworks demo 有问题写信给我
💻 H
字号:
// sharedQT.h - sharedQT<T> template class header// Copyright 1998-2010 Wind River Systems, Inc.//// modification history// --------------------// 02a,30mar98,pai  added Wind River coding conventions// 01a,24mar98,pai  written//#ifndef __INCsharedQTh#define __INCsharedQTh// includes#include "semLib.h"#include "queueT.h"template <class Item>class SharedQT : public QueueT <Item>    {    private:        SEM_ID  sharedQMutx;        // Access guard    public:       ~SharedQT ();        SharedQT (int qs = Q_SIZE);        Bool sharedEnQ     (const Item & item);        Bool sharedDeQ     (Item & item);        Bool sharedEmptyQ  () const;        Bool sharedFullQ   () const;        int  sharedCountQ  () const;    };// method templates////////////////////////////////////////////////////////////////////////////////#include "sharedQT.cc"#endif // __INCsharedQTh

⌨️ 快捷键说明

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