The Vish Visualization Shell 0.3
Vish
Classes | Public Member Functions | List of all members

Base class for objects that may be accessed via a script interface. More...

#include <ocean/plankton/VScript.hpp>

Inheritance diagram for Wizt::VScriptable:
Wizt::VObject 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  iterator
 Local iterator to allow traversal of all functors. More...
 
struct  Map
 

Public Member Functions

RefPtr< VScriptFunctorfindFunctor (const string &name) const
 Find a functor.
 
RefPtr< VScriptFunctorinsertFunctor (const string &name, const RefPtr< VScriptFunctor > &)
 Insert a function call, eventually replaces a former call.
 
bool iterate (iterator &it)
 Iterate over all functors.
 
int nFunctors () const
 How many functors are available?
 
void removeFunctor (const string &name)
 Remove a functor.
 

Detailed Description

Base class for objects that may be accessed via a script interface.

Member Function Documentation

◆ insertFunctor()

RefPtr< VScriptFunctor > Wizt::VScriptable::insertFunctor ( const string &  name,
const RefPtr< VScriptFunctor > &  V 
)

Insert a function call, eventually replaces a former call.

Returns
an eventually older functor.

Referenced by Wizt::VObject::VObject().