Chione::

Manager class

The Manager class

Attributes

world R

The World which the Manager belongs to

Public Class Methods

new( world, * )

Create a new Chione::Manager for the specified world.

   # File lib/chione/manager.rb
26 def initialize( world, * )
27     @world = world
28 end

Public Instance Methods

start()

Start the Manager as the world is starting. Derivatives must implement this method.

   # File lib/chione/manager.rb
41 def start
42     raise NotImplementedError, "%p does not implement required method #start" % [ self.class ]
43 end
stop()

Stop the Manager as the world is stopping. Derivatives must implement this method.

   # File lib/chione/manager.rb
48 def stop
49     raise NotImplementedError, "%p does not implement required method #stop" % [ self.class ]
50 end

Protected Instance Methods

inspect_details()

Return the detail part of the inspection string.

   # File lib/chione/manager.rb
58 def inspect_details
59     return "for %p:%#016x" % [ self.world.class, self.world.object_id * 2 ]
60 end