Package svs_simulation :: Package actions :: Module actionlib :: Class SimAction
[show private | hide private]
[frames | no frames]

Class SimAction


A SimAction encapsulates a function call that may be sent from one part, or component, of a simulation to another and applied to an entity.
Method Summary
  __init__(self, target, methodName, *args, **kwargs)
  decode(self, data)
Applies encoded data to self.
  encode(self)
Returns encoded representation of self.
  encodeArgs(self)
Encodes arguments.
  encodeKwargs(self)
Encodes keyword arguments.
  execute(self, target)
Checks of target is able to perform action, and if so, executes it.

Method Details

decode(self, data)

Applies encoded data to self.

encode(self)

Returns encoded representation of self.

@rtype:dict

encodeArgs(self)

Encodes arguments.

encodeKwargs(self)

Encodes keyword arguments.

execute(self, target=None)

Checks of target is able to perform action, and if so, executes it.

Generated by Epydoc 2.1 on Thu Oct 20 15:30:30 2005 http://epydoc.sf.net