dtDAL::NamedVec4Parameter Class Reference

#include <namedparameter.h>

Inheritance diagram for dtDAL::NamedVec4Parameter:

dtDAL::NamedVecParameter< osg::Vec4 > dtDAL::NamedGenericParameter< osg::Vec4 > dtDAL::NamedParameter dtDAL::AbstractParameter dtDAL::NamedRGBAColorParameter

List of all members.

Public Member Functions

 NamedVec4Parameter (const std::string &name, const osg::Vec4 &defaultValue=osg::Vec4(0.0, 0.0, 0.0, 0.0), bool isList=false)
virtual const dtDAL::DataTypeGetDataType () const
 
Returns:

virtual bool FromString (const std::string &value)
 
Returns:
true if it was able to assign the value based on the string or false if not.

virtual void SetFromProperty (const dtDAL::ActorProperty &property)
 Sets the message parameter's value from the actor property's value.
virtual void ApplyValueToProperty (dtDAL::ActorProperty &property) const
 Sets the actor property's value from the message parameter's value.

Protected Member Functions

virtual ~NamedVec4Parameter ()


Constructor & Destructor Documentation

dtDAL::NamedVec4Parameter::NamedVec4Parameter ( const std::string &  name,
const osg::Vec4 &  defaultValue = osg::Vec4(0.0, 0.0, 0.0, 0.0),
bool  isList = false 
)

dtDAL::NamedVec4Parameter::~NamedVec4Parameter (  )  [protected, virtual]


Member Function Documentation

virtual const dtDAL::DataType& dtDAL::NamedVec4Parameter::GetDataType (  )  const [inline, virtual]

Returns:

Implements dtDAL::AbstractParameter.

Reimplemented in dtDAL::NamedRGBAColorParameter.

virtual bool dtDAL::NamedVec4Parameter::FromString ( const std::string &  value  )  [inline, virtual]

Returns:
true if it was able to assign the value based on the string or false if not.

Parameters:
value the string value to assign the parameter to.

Reimplemented from dtDAL::NamedGenericParameter< osg::Vec4 >.

void dtDAL::NamedVec4Parameter::SetFromProperty ( const dtDAL::ActorProperty property  )  [virtual]

Sets the message parameter's value from the actor property's value.

Reimplemented from dtDAL::NamedParameter.

void dtDAL::NamedVec4Parameter::ApplyValueToProperty ( dtDAL::ActorProperty property  )  const [virtual]

Sets the actor property's value from the message parameter's value.

Reimplemented from dtDAL::NamedParameter.


http://www.delta3d.org
2.0.0 generated 14 Feb 2008