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

amire::component::FalseComponent Class Reference

Inheritance diagram for amire::component::FalseComponent:

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

Public Member Functions

 FalseComponent (ComponentManager *componentManager=NULL)
virtual ~FalseComponent ()
virtual osg::ref_ptr< ComponentnewInstance () const
virtual void configurationPropertyModified ()
virtual void reinitializeEngine (MREngine *engine)
virtual void functionalCallback (MREngine *engine)
virtual osg::ref_ptr< const
emitOutSlotProperty (int outSlotId)

Detailed Description

The FalseComponent has one out-slot, which is always set to false.

Constructor & Destructor Documentation

amire::component::FalseComponent::FalseComponent ComponentManager componentManager = NULL  ) 

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

Member Function Documentation

virtual void amire::component::FalseComponent::configurationPropertyModified  )  [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::FalseComponent::emitOutSlotProperty int  outSlotId  )  [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::FalseComponent::functionalCallback MREngine engine  )  [virtual]

The functionalCallback method must be overwritten by the derived class and provide the functional or logical behaviour of the callback handler. A logical and functionality for example or the setting of a transformation matrix or scene graph at the MR engine for a specific component would be such a functionality. This callback should be used to integrate the functional behaviour into a component. An assert exception should be thrown in any failure case.

Reimplemented from amire::component::Component.

virtual osg::ref_ptr<Component> amire::component::FalseComponent::newInstance  )  const [virtual]

The newInstance() method must be implemented by a component. It must return a new instance of the component. It must not clone the configuration.

Reimplemented from amire::component::Component.

virtual void amire::component::FalseComponent::reinitializeEngine MREngine engine  )  [virtual]

DEPRECATED: Will be renamed to to reintitialize as soon as possible!!!
The reinitializeEngine method is called by the MR engine to initialize the scene graph of the MR engine. It is called when the component manager of the MR engine has changed. The default implementation does nothing. An assert exception should be thrown in 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