fw4spl
IXMLParser.cpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
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 "fwServices/IXMLParser.hpp"
8 
9 
10 
11 namespace fwServices
12 {
13 
15 {
16 }
17 
19 {
20 }
21 
23 {
24 }
25 
27 {
28 }
29 
31 {
32 }
33 
35 {
37  for(configEltIter = this->m_configuration->begin(); !(configEltIter == this->m_configuration->end());
38  ++configEltIter)
39  {
40  SLM_ASSERT("ACH => still used ?", (*configEltIter)->getName() != "object" );
41  }
42 }
43 
44 
45 //-----------------------------------------------------------------------------
46 
47 void IXMLParser::setObjectConfig( ::fwRuntime::ConfigurationElement::csptr _cfgElem )
48 {
49  m_cfg = _cfgElem;
50 }
51 
52 //-----------------------------------------------------------------------------
53 
54 void IXMLParser::createConfig( ::fwTools::Object::sptr _obj )
55 {
56 }
57 
58 //-----------------------------------------------------------------------------
59 
60 void IXMLParser::startConfig()
61 {
62 }
63 
64 //-----------------------------------------------------------------------------
65 
66 void IXMLParser::updateConfig()
67 {
68 }
69 
70 //-----------------------------------------------------------------------------
71 
72 void IXMLParser::stopConfig()
73 {
74 }
75 
76 //-----------------------------------------------------------------------------
77 
78 void IXMLParser::destroyConfig()
79 {
80 }
81 
82 //-----------------------------------------------------------------------------
83 
84 }
85 
virtual FWSERVICES_API void starting() override
Does nothing.
Definition: IXMLParser.cpp:22
Namespace fwServices is dedicated to (mimic) the dynamic affectation of methods to (pure data) object...
virtual FWSERVICES_API void updating() override
Parse the XML configuration.
Definition: IXMLParser.cpp:34
#define SLM_ASSERT(message, cond)
work like 'assert' from 'cassert', with in addition a message logged by spylog (with FATAL loglevel) ...
Definition: spyLog.hpp:308
virtual FWSERVICES_API void configuring() override
Does nothing.
Definition: IXMLParser.cpp:30
FWSERVICES_API IXMLParser()
Constructor. Does nothing.
Definition: IXMLParser.cpp:14
::fwRuntime::ConfigurationElement::sptr m_configuration
Configuration element used to configure service internal state using a generic XML like structure TOD...
Definition: IService.hpp:670
virtual FWSERVICES_API void stopping() override
Does nothing.
Definition: IXMLParser.cpp:26
virtual FWSERVICES_API ~IXMLParser()
Destructor. Does nothing.
Definition: IXMLParser.cpp:18
Container::iterator Iterator
Defines the configuration element container type.