Add support for config file parsing and watching
[ric-plt/xapp-frame-cpp.git] / doc / src / user / example5.im
1
2 .if false
3 ==================================================================================
4     Copyright (c) 2020 Nokia
5     Copyright (c) 2020 AT&T Intellectual Property.
6
7    Licensed under the Apache License, Version 2.0 (the "License");
8    you may not use this file except in compliance with the License.
9    You may obtain a copy of the License at
10
11        http://www.apache.org/licenses/LICENSE-2.0
12
13    Unless required by applicable law or agreed to in writing, software
14    distributed under the License is distributed on an "AS IS" BASIS,
15    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16    See the License for the specific language governing permissions and
17    limitations under the License.
18 ==================================================================================
19 .fi
20
21 &h2(Configuration Interface)
22 This example is a simple illustration of how the configuration file support
23 (xAPP descriptor) can be used to suss out configuration parameters before
24 creating the Xapp object.
25 The example also illustrates how a notification callback can be used to react
26 to changes in the configuration.
27
28
29 &space
30 &indent
31 .** pull in the code from the example directory
32 &ex_start
33 .im  j=start-example ../../../examples/xapp_t3.cpp
34 &ex_end
35 &fig_cen( Simple application making use of the configuration object.)
36 &uindent
37 &space
38