Contains the Janitor class-interfaces and implementations. More...
Go to the source code of this file.
Classes | |
class | xsens::JanitorClassFunc< T, R > |
Class function calling janitor class. More... | |
Namespaces | |
namespace | xsens |
The namespace of all Xsens software since 2006. |
Contains the Janitor class-interfaces and implementations.
This file contains a number of janitor classes. These classes can be used to perform simple actions upon leaving scope, such as deleting an object. This greatly simplifies exit code. Functions that have lots of exit points can benefit greatly from janitors.
Each janitor is named after its main functionality, eg Restore, Free, Delete...
Copyright (C) Xsens Technologies B.V., 2006. All rights reserved.
This source code is intended for use only by Xsens Technologies BV and those that have explicit written permission to use it from Xsens Technologies BV.
THIS CODE AND INFORMATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
Definition in file xsens_janitors.h.