Logo Search packages:      
Sourcecode: adun.app version File versions  Download package

- (void) setEnvironment: (id)  object   [implementation]

Sets the environment the object is to observe. The object deregisters itself with any previous environment and registers with the new one (if observesEnvironment indicates) synchroniseWithEnvrionment: must be called afterwards if you want the object to use the values encapsulated by the new environment.

Implements AdObject.

Definition at line 192 of file AdunSystem.m.

References deregisterWithEnvironment, and registerWithEnvironment.

                       : (id) object
      [self deregisterWithEnvironment];
      object = environment;
      [self registerWithEnvironment];

Generated by  Doxygen 1.6.0   Back to index