rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Grapher Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvMakeLinkInteractorFactory Class Referenceabstract

Factory to create links. More...

#include <ilviews/grapher/inters.h>

Public Member Functions

virtual IlvLinkImagecreateLink (IlvDisplay *dpy, IlvGraphic *from, IlvGraphic *to, IlBoolean oriented) const =0
 Creates the link instance. More...
 

Detailed Description

Factory to create links.

Library: ilvgrapher

This class is designed to be used with the IlvMakeLinkInteractor class and lets you provide which link instance is created by the interactor.

See Also
IlvMakeLinkInteractor, IlvMakeLinkInteractor::setFactory

Member Function Documentation

virtual IlvLinkImage* IlvMakeLinkInteractorFactory::createLink ( IlvDisplay dpy,
IlvGraphic from,
IlvGraphic to,
IlBoolean  oriented 
) const
pure virtual

Creates the link instance.

Creates a link between the from and to nodes. You must define the method in subclasses in order to return a given link.

Parameters
dpyThe display connection that handles the drawing of the new link.
fromThe starting node.
toThe ending node.
orientedIlTrue if the new link is oriented and IlFalse otherwise.
Returns
The created link.

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.