Vuo  0.4.6
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
VuoRendererPublishedPort Class Reference

Description

A published input or output port.

Public Member Functions

 VuoRendererPublishedPort (VuoPublishedPort *basePublishedPort)
 Creates a published input or output port.
 
QRectF boundingRect (void) const
 Returns a rectangle containing the rendered published port.
 
void paint (QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
 Draws the published port on painter.
 
bool canAccommodateInternalPort (VuoRendererPort *internalPort)
 Returns a boolean indicating whether a new internalPort may be attached to/from this externally visible published port without displacing any currently connected internal data ports.
 
bool isCompatibleAliasForInternalPort (VuoRendererPort *port)
 Returns a boolean indicating whether there may be a cable attached directly between this externally visible published port and the input internalPort, taking into account the respective port types (input vs.
 
bool canBeMergedWith (VuoPublishedPort *otherExternalPort)
 Returns a boolean indicating whether the otherExternalPort may be merged with this one, taking into account the respective port types (input vs.
 
QPointF getGlobalPos (void) const
 Returns the location of the published port within the published port sidebar, in global coordinates.
 
void setGlobalPos (QPointF pos)
 Sets the location of the published port within the published port sidebar, in global coordinates.
 
- Public Member Functions inherited from VuoBaseDetail< VuoPublishedPort >
 VuoBaseDetail (string description, VuoPublishedPort *base)
 Creates a VuoPublishedPort detail class.
 
VuoPublishedPortgetBase (void) const
 Returns the VuoPublishedPort detail class instance's base class instance.
 
void setBase (VuoPublishedPort *base)
 Sets the VuoPublishedPort detail class instance's base class instance.
 

Additional Inherited Members

- Public Types inherited from VuoRendererItem
enum  activityState { notTrackingActivity = -1, activityInProgress = 0 }
 Special composition component activity states.
 
- Static Public Member Functions inherited from VuoRendererItem
static void setDrawBoundingRects (bool drawBoundingRects)
 Specifies whether bounding rects will be shown the next time the QGraphicsScene is rendered.
 
static void drawRect (QPainter *painter, QRectF rect)
 Draws a rect, for debugging.
 
- Protected Member Functions inherited from VuoRendererItem
void drawBoundingRect (QPainter *painter)
 Draws this item's bounding rect, for debugging.
 
bool getRenderActivity ()
 Retrieves the composition-wide boolean indicating whether recent activity (e.g., a node execution or event firing) by this item should be reflected in its rendering.
 

Constructor & Destructor Documentation

VuoRendererPublishedPort::VuoRendererPublishedPort ( VuoPublishedPort basePublishedPort)

Creates a published input or output port.

Parameters
basePublishedPortThe base for which this renderer detail is to be created.

Member Function Documentation

bool VuoRendererPublishedPort::canBeMergedWith ( VuoPublishedPort otherExternalPort)

Returns a boolean indicating whether the otherExternalPort may be merged with this one, taking into account the respective port types (input vs.

output; event-only vs. event+data; respective data types), without displacing any currently connected internal data ports.

bool VuoRendererPublishedPort::isCompatibleAliasForInternalPort ( VuoRendererPort internalPort)

Returns a boolean indicating whether there may be a cable attached directly between this externally visible published port and the input internalPort, taking into account the respective port types (input vs.

output; event-only vs. event+data; respective data types).


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