oaPcellLink Class Reference


Public Methods

void destroy ()
IPcell * getIPcell () const

Static Public Methods

oaPcellLink * find (const oaString &name)
oaPcellLink * create (IPcell *pcellIn)
oaPcellDefgetPcellDef (const oaString &name)

Friends

class IPcell

Detailed Description

The oaPcellLink class implements the link between OpenAccess and an application-provided Pcell evaluator implemented though the IPcell interfaces. When the Pcell evaluator is provided in memory, the application must create the Pcell link using oaPcellLink::create() to register with OpenAccess. For a Pcell evaluator provided through a plug-in module, oaPcellLink::find() and oaPcellLink::getPcellDef() can be used to access the Pcell evaluator in the plug-in module.


Member Function Documentation

oaPcellLink * oaPcellLink::create IPcell *    pcellIn [static]
 

This function creates the oaPcellLink object to associate with the Pcell evaluator given by the application.

Parameters:
pcellIn A pointer to the Pcell evaluator for which to create the link.
Exceptions:
oacPcellLinkExists 

void oaPcellLink::destroy  
 

This function destroys the oaPcellLink object and removes the link between OpenAccess and the application's Pcell evaluator.

oaPcellLink * oaPcellLink::find const oaString &    name [static]
 

This function returns an oaPcellLink for the specified Pcell evaluator. This function attempts to find an existing link. If an existing link is not found, a new one is created from the plug-in library.

Parameters:
name Name of the Pcell evaluator.

IPcell * oaPcellLink::getIPcell   const [inline]
 

This function returns the Pcell evaluator in this link.

oaPcellDef * oaPcellLink::getPcellDef const oaString &    name [static]
 

This function returns an oaPcellDef created through the specified Pcell evaluator. If the given Pcell evaluator cannot be found, an oacPcellEvaluatorNotFound exception is thrown.

Parameters:
name Name of the Pcell evaluator.
Exceptions:
oacPcellEvaluatorNotFound 


Friends And Related Function Documentation

friend class IPcell [friend]
 


The documentation for this class was generated from the following files:

Return to top of page