OpenSim
|
Public Member Functions | |
abstract void | Action () |
Action to take when this behaviour is invoked. More... | |
virtual void | Interrupt () |
Interrupt the behaviour. More... | |
virtual void | Initialize (Bot bot) |
Initialize the behaviour for this bot. More... | |
virtual void | Close () |
Close down this behaviour. More... | |
Protected Attributes | |
AutoResetEvent | m_interruptEvent = new AutoResetEvent(false) |
Properties | |
string | AbbreviatedName [get, set] |
Abbreviated name of this behaviour. More... | |
string | Name [get, set] |
Bot | Bot [get, set] |
Properties inherited from pCampBot.Interfaces.IBehaviour | |
string | AbbreviatedName [get] |
Abbreviated name of this behaviour. More... | |
string | Name [get] |
Name of this behaviour. More... | |
Definition at line 37 of file AbstractBehaviour.cs.
|
pure virtual |
Action to take when this behaviour is invoked.
bot |
Implements pCampBot.Interfaces.IBehaviour.
Implemented in pCampBot.TwitchyBehaviour, pCampBot.PhysicsBehaviour2, pCampBot.CrossBehaviour, pCampBot.InventoryDownloadBehaviour, pCampBot.PhysicsBehaviour, pCampBot.TeleportBehaviour, pCampBot.GrabbingBehaviour, and pCampBot.NoneBehaviour.
|
inlinevirtual |
Close down this behaviour.
This is triggered if a behaviour is removed via explicit command and when a bot is disconnected
Implements pCampBot.Interfaces.IBehaviour.
Reimplemented in pCampBot.PhysicsBehaviour.
Definition at line 59 of file AbstractBehaviour.cs.
|
inlinevirtual |
Initialize the behaviour for this bot.
This must be invoked before Action() is called.
bot |
Implements pCampBot.Interfaces.IBehaviour.
Definition at line 54 of file AbstractBehaviour.cs.
|
inlinevirtual |
Interrupt the behaviour.
This should cause the current Action call() to terminate if this is active.
Implements pCampBot.Interfaces.IBehaviour.
Reimplemented in pCampBot.InventoryDownloadBehaviour, and pCampBot.NoneBehaviour.
Definition at line 50 of file AbstractBehaviour.cs.
|
protected |
Definition at line 52 of file AbstractBehaviour.cs.
|
getset |
Abbreviated name of this behaviour.
Definition at line 42 of file AbstractBehaviour.cs.
|
getset |
Definition at line 46 of file AbstractBehaviour.cs.
|
getset |
Definition at line 44 of file AbstractBehaviour.cs.