VISH  0.2
Public Member Functions | Static Public Member Functions | Public Attributes | Friends
Wizt::VAcceptInfo Class Reference

An intermediate class that holds information about what kind of input objects a certain VObject accepts. More...

#include </home/werner/origo/vish/ocean/plankton/VAcceptInfo.hpp>

List of all members.

Public Member Functions

Static Public Member Functions

Public Attributes

Friends


Detailed Description

An intermediate class that holds information about what kind of input objects a certain VObject accepts.

A certain VObject may be queried for VObject Creators which accept this certain VObject as input. It will provide a list of VAcceptInfo objects.

Currently, only VObjects can be queried; in principle, this query could be generalized to any VInputBase object, but it is not sure yet how such a query should be initiated.


Member Function Documentation

static RefPtr<VAcceptInfo> Wizt::VAcceptInfo::adjustSuitability ( const RefPtr< VAcceptInfo > &  AI,
double  value 
) [inline, static]

Set the suitability value.

It will be multiplied by the given value, initially it is set to 1.0. Adjusting the suitability may thus increase or decrease the matching. Giving a value of zero here will specify that this is a bad match and should not be used. It's just a possible match, but not a good one.

static RefPtr<VAcceptInfo> Wizt::VAcceptInfo::setReason ( const RefPtr< VAcceptInfo > &  AI,
const string reason 
) [inline, static]

Specify the reason why this acceptance is a good match.

This is supposed to be helpful information to the enduser.


Member Data Documentation

An optional text information telling why this is a good match.

This text may contain useful information to the user and should be used in conjunction with the suitability value.


The documentation for this class was generated from the following files: