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:
self 
code String.
def gear::xsi::ppg::PPGLogic::addMethod (   self,
  name,
  code 
)

Add a method to the logic.

Code must be in Python.

Parameters:
self 
name String - method name.
code String.
def gear::xsi::ppg::PPGLogic::addOnChanged (   self,
  paramName,
  code 
)

Add onchanged event to the logic.

Code must be in Python.

Parameters:
self 
paramName String - Parameter name.
code String.
def gear::xsi::ppg::PPGLogic::addOnClicked (   self,
  buttonName,
  code 
)

Add onClicked event to the logic.

Code must be in Python.

Parameters:
self 
buttonName String - Button name.
code String.
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:
self 
Returns:
String - The logic.

The documentation for this class was generated from the following file:
Generated by  doxygen 1.6.2-20100208