ComponentInterface Class Reference#include <componentInterface.h>
Inheritance diagram for ComponentInterface: ![]()
Constructor & Destructor Documentation
Default constructor.
Destructor.
Member Function Documentation
This will return true if the interface is valid.
Reimplemented in ValueWrapperInterface< T >, UnitTestComponentInterface, and ValueWrapperInterface< Box3F >.
Get the owner of this interface.
This method is called in SimComponent::registerCachedInterface, and it should not get called anywhere else. The method can be overridden and if it returns false, than the interface will not get cached on the component, and registerCachedInterface will return false. If you return false from this method, mOwner should be set to NULL so that getOwner() returns properly, otherwise the interface will be unstable.
This method is called in SimComponent::registerUnCachedInterface, and should not be called anywhere else. This method can be overridden, but the parent should be called.
Member Data Documentation
SimComponent _should no longer_ directly modify this value.
|