fw4spl
patch/fwMDSemanticPatch/src/fwMDSemanticPatch/V09ALA/V10/fwData/autoload.cpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2017.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 #include "fwMDSemanticPatch/V09ALA/V10/fwData/Image.hpp"
8 
9 #include <fwAtomsPatch/SemanticPatchDB.hpp>
10 
11 namespace fwMDSemanticPatch
12 {
13 namespace V09ALA
14 {
15 namespace V10
16 {
17 namespace fwData
18 {
19 
21 struct runner
22 {
23  runner()
24  {
25  ::fwAtomsPatch::SemanticPatchDB::sptr contextPatchDB = ::fwAtomsPatch::SemanticPatchDB::getDefault();
26  contextPatchDB->registerPatch(::fwMDSemanticPatch::V09ALA::V10::fwData::Image::New());
27  }
28 
29  static runner r;
30 };
31 
32 runner runner::r;
33 
34 } // namespace fwData
35 } // namespace V10
36 } // namespace V09ALA
37 } // namespace fwMDSemanticPatch
38 
Contains the semantic patches within the context "MedicalData".
Registers contextual patches dedicated to conversions from version &#39;V2&#39; to version &#39;V03AGO&#39;...
Contains the representation of the data objects used in the framework.
static FWATOMSPATCH_API SemanticPatchDB::sptr getDefault()
Return default instance of SemanticPatchDB.