The Vish Visualization Shell 0.3
Vish
Classes | Public Member Functions | List of all members
Wizt::VStateCreatorBase Class Reference

Base class for objects carrying context-specific states. More...

#include <ocean/plankton/VObjectState.hpp>

Inheritance diagram for Wizt::VStateCreatorBase:
Wizt::FloatOrigin Wizt::VObject Wizt::VStateCreator< ObjectState > Wizt::BaseCursor3D FloatsToPoint2D Wizt::CatchStatus Wizt::Coral Wizt::HTTPServer Wizt::MetaViewer Wizt::MovieRecorder Wizt::RemoteVish Wizt::RenderAble Wizt::VChartSelector Wizt::VProxyObject Wizt::VScene Wizt::VStreamObject Wizt::Viewer

Classes

struct  State
 A class for storing context-dependent information. More...
 
struct  StateMap
 

Public Member Functions

RefPtr< State > & getState (const WeakPtr< ValuePool > &VP) const
 Retrieve a pointer to a state object for the given context.
 
RefPtr< InterfaceBasehasLocalInterface (const type_info &InterfaceType) const
 Check whether any of the local object states has an interface of the given type.
 
RefPtr< StatemyState (const WeakPtr< ValuePool > &Context) const
 Retrieve a state for the current context, possibly creating one.
 
virtual RefPtr< StatenewState () const
 create a new state object. Child classes might deliver child states.
 
void setState (const WeakPtr< ValuePool > &, const RefPtr< State > &st) const
 Set a state object for a given context.
 

Detailed Description

Base class for objects carrying context-specific states.

Member Function Documentation

◆ hasLocalInterface()

RefPtr< InterfaceBase > Wizt::VStateCreatorBase::hasLocalInterface ( const type_info &  InterfaceType) const

Check whether any of the local object states has an interface of the given type.

Returns
Returns a RANDOM interfacebase. I.e., just something which has been found. It is not returned WHICH context carries this interface!