nsIDaimNotify Interface Reference

Base interface for daim module objects (CCI). More...

import "nsIDaimRoot.idl";

Inherited by nsIDaimBinaryMath, nsIDaimCommandHandler, nsIDaimDocument, nsIDaimEdges, nsIDaimEventListener, nsIDaimFilePicker, nsIDaimFilters, nsIDaimFlatField, nsIDaimFractals, nsIDaimFrameGrabber, nsIDaimGraphics, nsIDaimHistograms, nsIDaimImageList, nsIDaimImageMap, nsIDaimImageMath, nsIDaimImageParts, nsIDaimImageStat, nsIDaimLeastSquare, nsIDaimLoaderFactory, nsIDaimMaskBuffer, nsIDaimMorphology, nsIDaimMTF, nsIDaimParameters, nsIDaimProfile, nsIDaimPropertyList, nsIDaimPyramid, nsIDaimSnapshot, nsIDaimStorageMap, nsIDaimStringList, nsIDaimToolInfo, and nsIDaimTransforms.

List of all members.

Public Member Functions

void instanciate ()
void getResidentService (in ACString urn)
void createInstanceOf (in string aContractID, in PRUint32 aVersion)
PRBoolean isValid ()
void addObserver (in nsIDaimObserver anObserver, in PRUint32 subject)
void addObserverValue (in nsIDaimObserver anObserver, in PRUint32 subject, in PRUint32 value)
void addSynchronizedObserver (in nsIDaimObserver anObserver, in PRUint32 subject, in PRBool sync)
void addSynchronizedObserverValue (in nsIDaimObserver anObserver, in PRUint32 subject, in PRUint32 value, in PRBool sync)
void removeObserver (in nsIDaimObserver anObserver, in PRUint32 subject)


Detailed Description

Base interface for daim module objects (CCI).

nsIDaimNotify

Most of daim objects are implemented as extension modules to the daim library. Thus XPCOM implementations are only wrappers to instance of a daim object. This mean that you can have the same instance of a Daim object shared among several XPCOM wrappers implementation.

One the aspect of this, is that it is not because you have created an instance of the XPCOM object that the underlying daim object is initialized : you have to call the instanciate() method in order to make the instanciation effective. ( think about instanciate() as a initialization method )

In the other hand, you can wrap any daim module with the createInstanceOf() or the getResidentService() method (DO NOT call instanciate() if you are using the two previous methods)

Implemented by:


Member Function Documentation

void nsIDaimNotify::addObserver in nsIDaimObserver  anObserver,
in PRUint32  subject
 

addObserver

Add observer for any values of the subject

void nsIDaimNotify::addObserverValue in nsIDaimObserver  anObserver,
in PRUint32  subject,
in PRUint32  value
 

addObserverValue

Add observer for a specific value of the subject

void nsIDaimNotify::addSynchronizedObserver in nsIDaimObserver  anObserver,
in PRUint32  subject,
in PRBool  sync
 

addSynchronizedObserver

Add observers synchronized with the main thread for any values of the subject

void nsIDaimNotify::addSynchronizedObserverValue in nsIDaimObserver  anObserver,
in PRUint32  subject,
in PRUint32  value,
in PRBool  sync
 

addSynchronizedObserverValue

Add observers synchronized with the main thread for a specific value of the subject

void nsIDaimNotify::createInstanceOf in string  aContractID,
in PRUint32  aVersion
 

createInstanceOf

Initialize the Daim object from a specific implementation of the module : the contractID is set to the Daim class id of the corresponding module

void nsIDaimNotify::getResidentService in ACString  urn  ) 
 

getResidentService

Retrieve an instance of Daim object from the internal resident module list. The urn is can be any valid urn and as a namespace for storing/retrieving the object

void nsIDaimNotify::instanciate  ) 
 

instanciate

Initialize a instance of a Daim object

PRBoolean nsIDaimNotify::isValid  ) 
 

isValid

Check if the wrapped object is a valid instance of a daim object.

void nsIDaimNotify::removeObserver in nsIDaimObserver  anObserver,
in PRUint32  subject
 

removeObserver

Remove an observer. If anObserver is null , remove or all observer on a specific suject


Generated on Tue May 23 17:31:48 2006 for Daim Library XPCOM Interfaces by  doxygen 1.4.6-NO