B_0_0_Hello1.py
Go to the documentation of this file.
1 class MyClass(GeneratedClass):
2  def __init__(self):
3  try: # disable autoBind
4  GeneratedClass.__init__(self, False)
5  except TypeError: # if NAOqi < 1.14
6  GeneratedClass.__init__( self )
7 
8  def onLoad(self):
9  #~ puts code for box initialization here
10  pass
11 
12  def onUnload(self):
13  #~ puts code for box cleanup here
14  pass
15 
16  def onInput_onStart(self):
17  #~ self.onStopped() #~ activate output of the box
18  pass
19 
20  def onInput_onStop(self):
21  self.onUnload() #~ it is recommanded to call onUnload of this box in a onStop method, as the code written in onUnload is used to stop the box as well
22  pass
B_0_0_Hello1.MyClass.onLoad
def onLoad(self)
Definition: B_0_0_Hello1.py:8
B_0_0_Hello1.MyClass.onInput_onStart
def onInput_onStart(self)
Definition: B_0_0_Hello1.py:16
B_0_0_Hello1.MyClass.onUnload
def onUnload(self)
Definition: B_0_0_Hello1.py:12
B_0_0_Hello1.MyClass.__init__
def __init__(self)
Definition: B_0_0_Hello1.py:2
B_0_0_Hello1.MyClass.onInput_onStop
def onInput_onStop(self)
Definition: B_0_0_Hello1.py:20
B_0_0_Hello1.MyClass
Definition: B_0_0_Hello1.py:1


naoqi_libqicore
Author(s): Aldebaran
autogenerated on Wed Sep 14 2022 02:22:41