Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

amire::component::RelayComponent Class Reference

Inheritance diagram for amire::component::RelayComponent:

amire::component::Component amire::component::Handler List of all members.

Public Member Functions

 RelayComponent (ComponentManager *componentManager)
virtual ~RelayComponent ()

Protected Member Functions

virtual void receiveInSlotProperty (int inOutSlotId, const osg::ref_ptr< const amire::property::Property > &property)
virtual osg::ref_ptr< const
amire::property::Property
emitOutSlotProperty (int outSlotId)
virtual void configurationPropertyModified ()

Detailed Description

This component has one in-slot and one out-slot. The in-slot is instantly forwarded to the out-slot. It is used to interconnect several internal out-slots to one out-slot.


Constructor & Destructor Documentation

amire::component::RelayComponent::RelayComponent ComponentManager componentManager  ) 
 

virtual amire::component::RelayComponent::~RelayComponent  )  [virtual]
 


Member Function Documentation

virtual void amire::component::RelayComponent::configurationPropertyModified  )  [protected, virtual]
 

The configurationPropertyModified method is an abstract method that must be implemented by the component implementation class. It is called each time when the configuration property is released, which implies the possibility of a modified configuration property.

Implements amire::component::Component.

virtual osg::ref_ptr<const amire::property::Property> amire::component::RelayComponent::emitOutSlotProperty int  outSlotId  )  [protected, virtual]
 

The emitOutSlotProperty method must be implemented to integrate out-slots into the component implementation. It is called, when the out-slot specified by the out-slot id is emitted by the component itself or from outside the component. It must provide the property that should be produced for this emit. An assert exception should be thrown for any failure case.

Reimplemented from amire::component::Component.

virtual void amire::component::RelayComponent::receiveInSlotProperty int  inOutSlotId,
const osg::ref_ptr< const amire::property::Property > &  property
[protected, virtual]
 

The receiveInSlotProperty method must be implemented to integrate in-slots into the component implementation. It is called when the component receives a property at the in-slot specified by its in-slot id. An assert exception should be thrown for any failure case.

Reimplemented from amire::component::Component.


The documentation for this class was generated from the following file:
Generated on Tue May 20 17:23:57 2003 for AMIRE-Framework by doxygen1.3