#pragma once #include #include namespace nx { class HandleTableSizeHandler : public IKernelCapabilityHandler { public: HandleTableSizeHandler(); bool operator==(const HandleTableSizeHandler& other) const; bool operator!=(const HandleTableSizeHandler& other) const; void operator=(const HandleTableSizeHandler& other); // kernel capabilty list in/out void importKernelCapabilityList(const fnd::List& caps); void exportKernelCapabilityList(fnd::List& caps) const; void clear(); bool isSet() const; // variables uint16_t getHandleTableSize() const; void setHandleTableSize(uint16_t size); private: const std::string kModuleName = "HANDLE_TABLE_SIZE_HANDLER"; static const size_t kMaxKernelCapNum = 1; bool mIsSet; HandleTableSizeEntry mEntry; void copyFrom(const HandleTableSizeHandler& other); bool isEqual(const HandleTableSizeHandler& other) const; }; }