Panda3D
Public Member Functions | Public Attributes | List of all members
ClassicStyle Class Reference
Inheritance diagram for ClassicStyle:
FSM DirectObject

Public Member Functions

def __init__ (self, name)
 
def enterGreen (self)
 
def enterRed (self)
 
def enterYellow (self)
 
def exitGreen (self)
 
def exitRed (self)
 
def exitYellow (self)
 
- Public Member Functions inherited from FSM
def __repr__ (self)
 
def __str__ (self)
 
def cleanup (self)
 
def defaultEnter (self, *args)
 
def defaultExit (self)
 
def defaultFilter (self, request, args)
 
def demand (self, request, *args)
 
def filterOff (self, request, args)
 
def forceTransition (self, request, *args)
 
def getCurrentFilter (self)
 
def getCurrentOrNextState (self)
 
def getCurrentStateOrTransition (self)
 
def getStateChangeEvent (self)
 
def isInTransition (self)
 
def request (self, request, *args)
 
def requestNext (self, *args)
 
def requestPrev (self, *args)
 
def setBroadcastStateChanges (self, doBroadcast)
 
def setStateArray (self, stateArray)
 
- Public Member Functions inherited from DirectObject
def __init__ (self)
 
def accept (self, event, method, extraArgs=[])
 
def acceptOnce (self, event, method, extraArgs=[])
 
def addTask (self, *args, **kwargs)
 
def detectLeaks (self)
 
def doMethodLater (self, *args, **kwargs)
 
def getAllAccepting (self)
 
def ignore (self, event)
 
def ignoreAll (self)
 
def isAccepting (self, event)
 
def isIgnoring (self, event)
 
def removeAllTasks (self)
 
def removeTask (self, taskOrName)
 

Public Attributes

 defaultTransitions
 
- Public Attributes inherited from FSM
 fsmLock
 
 newState
 
 oldState
 
 state
 
 stateArray
 

Additional Inherited Members

- Static Public Attributes inherited from FSM
 defaultTransitions = None
 
 notify = DirectNotifyGlobal.directNotify.newCategory("FSM")
 
int SerialNum = 0
 
- Static Public Attributes inherited from DirectObject
def accept_once = acceptOnce
 
def add_task = addTask
 
def detect_leaks = detectLeaks
 
def do_method_later = doMethodLater
 
def get_all_accepting = getAllAccepting
 
def ignore_all = ignoreAll
 
def is_accepting = isAccepting
 
def is_ignoring = isIgnoring
 
def remove_all_tasks = removeAllTasks
 
def remove_task = removeTask
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  name 
)

Reimplemented from FSM.

Member Function Documentation

◆ enterGreen()

def enterGreen (   self)

◆ enterRed()

def enterRed (   self)

◆ enterYellow()

def enterYellow (   self)

◆ exitGreen()

def exitGreen (   self)

◆ exitRed()

def exitRed (   self)

◆ exitYellow()

def exitYellow (   self)

Member Data Documentation

◆ defaultTransitions

defaultTransitions