Chi-Tech
chi__Plugin.h
Go to the documentation of this file.
1
/** \defgroup chi__Plugin chi.Plugin
2
3
4
\ingroup DocInterfaces
5
Object to handle the loading of shared libraries as plug-ins
6
7
8
## Example usage:
9
Create this object:
10
\code
11
params =
12
{
13
param_name1 = value1,
14
param_name2 = value2,
15
--etc.
16
}
17
chi.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
"
25
background-color: #edf0f5;
26
color: #9373A5;
27
cursor: pointer;
28
border: none;
29
text-align: left;
30
outline: none;
31
font-size: 15px;
32
margin: 2px 2px;
33
border: 2px solid #687372;
34
display: block;
35
width: 100%;
36
vertical-align: middle;
37
padding-top: 4px;
38
padding-bottom: 0px;
39
"
40
><span class="arrow" style="padding-left: 0px;">►</span><TT><B>plugin_path</B></TT><span style="color: #c4c1c0;">       Path 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
"
55
background-color: #edf0f5;
56
color: #9373A5;
57
cursor: pointer;
58
border: none;
59
text-align: left;
60
outline: none;
61
font-size: 15px;
62
margin: 2px 2px;
63
border: 2px solid #687372;
64
display: block;
65
width: 100%;
66
vertical-align: middle;
67
padding-top: 4px;
68
padding-bottom: 0px;
69
"
70
><span class="arrow" style="padding-left: 0px;">►</span><TT><B>entry_function</B></TT><span style="color: #c4c1c0;">       Entry 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
*/
doc
generated_files
input_docs
chi__Plugin.h
Generated by
1.9.3