Chi-Tech
chi__Plugin.h
Go to the documentation of this file.
1/** \defgroup chi__Plugin chi.Plugin
2
3
4\ingroup DocInterfaces
5Object to handle the loading of shared libraries as plug-ins
6
7
8## Example usage:
9Create this object:
10\code
11params =
12{
13 param_name1 = value1,
14 param_name2 = value2,
15 --etc.
16}
17chi.Plugin.Create(params)
18\endcode
19## Required Input parameters
20\htmlonly
21
22<div style="display: block;">
23<button type="button" class="droppy2" style=
24"
25background-color: #edf0f5;
26color: #9373A5;
27cursor: pointer;
28border: none;
29text-align: left;
30outline: none;
31font-size: 15px;
32margin: 2px 2px;
33border: 2px solid #687372;
34display: block;
35width: 100%;
36vertical-align: middle;
37padding-top: 4px;
38padding-bottom: 0px;
39"
40><span class="arrow" style="padding-left: 0px;">►</span><TT><B>plugin_path</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspPath to the shared library containing the plug-in</span></button>
41<div class="content" style="display: none;">
42 <p><I>type=</I><span style="color: blue;"><TT>STRING</TT></span>. Path to the shared library containing the plug-in.
43</p>
44</div>
45
46</div>
47\endhtmlonly
48
49## Optional Input parameters
50\htmlonly
51
52<div style="display: block;">
53<button type="button" class="droppy2" style=
54"
55background-color: #edf0f5;
56color: #9373A5;
57cursor: pointer;
58border: none;
59text-align: left;
60outline: none;
61font-size: 15px;
62margin: 2px 2px;
63border: 2px solid #687372;
64display: block;
65width: 100%;
66vertical-align: middle;
67padding-top: 4px;
68padding-bottom: 0px;
69"
70><span class="arrow" style="padding-left: 0px;">►</span><TT><B>entry_function</B></TT><span style="color: #c4c1c0;">&nbsp &nbsp &nbsp &nbspEntry function to call</span></button>
71<div class="content" style="display: none;">
72 <p><I>type=</I><span style="color: blue;"><TT>STRING</TT></span>. Entry function to call.
73</p>
74 <p>Default value: <TT style="color:grey">""</TT></p>
75</div>
76
77</div>
78\endhtmlonly
79
80\htmlonly
81
82<script>
83
84{
85 var coll = document.getElementsByClassName("droppy2");
86 var i;
87
88 for (i = 0; i < coll.length; i++) {
89 coll[i].addEventListener("click", function() {
90 this.classList.toggle("active");
91 var content = this.nextElementSibling;
92 if (content.style.display === "block") {
93 content.style.display = "none";
94 this.childNodes[0].innerText = "►"
95 } else {
96 content.style.display = "block";
97 this.children[0].innerText = "▼"
98 }
99 });
100 }
101}</script>
102
103\endhtmlonly
104
105*/