poolablememory.h

来自「C++封装的视频采集代码」· C头文件 代码 · 共 27 行

H
27
字号
#ifndef POOLABLE_MEMORY_H#define POOLABLE_MEMORY_H#include "CompoundObject.h"namespace oxsemi{    class PoolableMemory : public CompoundObject    {    public:        virtual ~PoolableMemory() = 0;        bool GetInitialisationState() const { return initState_; }        virtual unsigned long GetRequestedSize() const = 0;        void SetInitialisationState(bool initState) { initState_ = initState; }    protected:        PoolableMemory();    private:        bool initState_;    };}#endif

⌨️ 快捷键说明

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