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
25 def initialize( world, * )
26     @world = world
27 end

Public Instance Methods

start()

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

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

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

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

Protected Instance Methods

inspect_details()

Return the detail part of the inspection string.

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