gear::xsi::ppg::PPGLogic Class Reference
Generate PPGLogic code.
More...
Public Member Functions |
| def | __init__ |
| | Init method.
|
| def | addGlobalCode |
| | Add Global code to the logic.
|
| def | addMethod |
| | Add a method to the logic.
|
| def | addOnChanged |
| | Add onchanged event to the logic.
|
| def | addOnClicked |
| | Add onClicked event to the logic.
|
| def | addOnChangedRefresh |
| | Add onchanged event that refresh the PPG.
|
| def | getValue |
| | Return the logic code as a string.
|
Data Fields |
|
| propType |
|
| globalCode |
|
| methods |
|
| value |
|
| refresh_method |
Detailed Description
Generate PPGLogic code.
Member Function Documentation
| def gear::xsi::ppg::PPGLogic::__init__ |
( |
|
self, |
|
|
|
propType = "gear_PSet" | |
|
) |
| | |
Init method.
- Parameters:
-
| self | |
| propType | String - Type of the property. This should always be sn_PSet, no need to set it. |
| def gear::xsi::ppg::PPGLogic::addGlobalCode |
( |
|
self, |
|
|
|
code | |
|
) |
| | |
Add Global code to the logic.
For example to import modules. Code must be in Python.
- Parameters:
-
| def gear::xsi::ppg::PPGLogic::addMethod |
( |
|
self, |
|
|
|
name, |
|
|
|
code | |
|
) |
| | |
Add a method to the logic.
Code must be in Python.
- Parameters:
-
| def gear::xsi::ppg::PPGLogic::addOnChanged |
( |
|
self, |
|
|
|
paramName, |
|
|
|
code | |
|
) |
| | |
Add onchanged event to the logic.
Code must be in Python.
- Parameters:
-
| def gear::xsi::ppg::PPGLogic::addOnClicked |
( |
|
self, |
|
|
|
buttonName, |
|
|
|
code | |
|
) |
| | |
Add onClicked event to the logic.
Code must be in Python.
- Parameters:
-
| def gear::xsi::ppg::PPGLogic::addOnChangedRefresh |
( |
|
self, |
|
|
|
paramName | |
|
) |
| | |
Add onchanged event that refresh the PPG.
- Parameters:
-
| self | |
| paramName | String - Parameter name. |
| def gear::xsi::ppg::PPGLogic::getValue |
( |
|
self |
) |
|
Return the logic code as a string.
Code is in Python.
- Parameters:
-
- Returns:
- String - The logic.
The documentation for this class was generated from the following file: