RSingleton
Class in Core Module
Header: #include <src/core/RSingleton.h>
Inherited by: RScriptHandlerRegistry
Description
Section titled “Description”All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.
Public Functions
Section titled “Public Functions”| virtual | ~RSingleton() |
Static Public Functions
Section titled “Static Public Functions”| static void | cleanUp() |
| static Derived & | getInstance() |
Protected Functions
Section titled “Protected Functions”RSingleton() |
Static Private Attributes
Section titled “Static Private Attributes”| static QMap< QString, RSingleton * > | map |
Member Documentation
Section titled “Member Documentation”~RSingleton
Section titled “~RSingleton”virtual RSingleton::~RSingleton()virtual inline
cleanUp
Section titled “cleanUp”static void RSingleton::cleanUp()static
getInstance
Section titled “getInstance”template <class Derived>static Derived & RSingleton::getInstance()static
RSingleton
Section titled “RSingleton”RSingleton::RSingleton()protected
static QMap< QString, RSingleton * > RSingleton::mapstatic private
All rights reserved.
This file is part of the QCAD project.
QCAD is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
QCAD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with QCAD.