rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Prototypes Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvOutputAccessor Class Reference

Notifying behavior. More...

#include <ilviews/protos/connacc.h>

Inheritance diagram for IlvOutputAccessor:
IlvUserAccessor IlvAccessor

List of all members.

Public Member Functions

 IlvOutputAccessor (const char *name, const IlvValueTypeClass *type)
 Creates an IlvOutputAccessor, making the attribute name a notifying attribute.
virtual IlBoolean isOutputValue (const IlSymbol *name) const
 Queries if the accessor is an output accessor.

Protected Member Functions

virtual IlBoolean changeValue (IlvAccessorHolder *object, const IlvValue &val)
 Called by the method IlvAccessible::changeValue for each IlvAccessor attached to the IlvAccessorHolder.

Detailed Description

Notifying behavior.

Library: ilvproto

Lets you make an attribute 'Notifying' (also called output value). This means that other attributes can be notified of changes to the first attribute. The value of this first attribute is propagated to the others whenever the value is changed.

See also:
IlvLoopbackAccessor.

Constructor & Destructor Documentation

IlvOutputAccessor::IlvOutputAccessor ( const char *  name,
const IlvValueTypeClass type 
)

Creates an IlvOutputAccessor, making the attribute name a notifying attribute.

Parameters:
name Name of the attribute
type Type needed for initialization purposes, but not used otherwise.

Member Function Documentation

virtual IlBoolean IlvOutputAccessor::isOutputValue ( const IlSymbol name  )  const [virtual]

Queries if the accessor is an output accessor.

Returns:
IlTrue if the accessor is an output accessor, and IlFalse otherwize.

Reimplemented from IlvUserAccessor.

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

© 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.