#include <RatBase.hxx>
Inheritance diagram for RayGina::CORE::RatBase:

Public Types | |
| enum | RATBASE_TYPE { RATBASE_TYPE_UNKNOWN = 0, RATBASE_TYPE_GROUP, RATBASE_TYPE_ROBJECT, RATBASE_TYPE_RSTRING, RATBASE_TYPE_RINT8, RATBASE_TYPE_RUINT8, RATBASE_TYPE_RINT16, RATBASE_TYPE_RUINT16, RATBASE_TYPE_RINT32, RATBASE_TYPE_RUINT32, RATBASE_TYPE_RINT64, RATBASE_TYPE_RUINT64, RATBASE_TYPE_RINT, RATBASE_TYPE_RUINT, RATBASE_TYPE_RREAL, RATBASE_TYPE_RREAL32, RATBASE_TYPE_RREAL64, RATBASE_TYPE_RCHAR, RATBASE_TYPE_RUCHAR, RATBASE_TYPE_RBYTE, RATBASE_TYPE_RBOOL, RATBASE_TYPE_RVEC4F, RATBASE_TYPE_RVEC4R, RATBASE_TYPE_RVEC4D, RATBASE_TYPE_RVEC4U, RATBASE_TYPE_RVEC4I, RATBASE_TYPE_RVEC3F, RATBASE_TYPE_RVEC3R, RATBASE_TYPE_RVEC3D, RATBASE_TYPE_RVEC3U, RATBASE_TYPE_RVEC3I, RATBASE_TYPE_RVEC2F, RATBASE_TYPE_RVEC2R, RATBASE_TYPE_RVEC2D, RATBASE_TYPE_RVEC2U, RATBASE_TYPE_RVEC2I, RATBASE_TYPE_RCOLOR, RATBASE_TYPE_RMATRIX, RATBASE_TYPE_RMATRIX4X4, RATBASE_TYPE_RRAY } |
Public Member Functions | |
| RatBase (const RString longName, const RString shortName, const RBool connectable=false, const RBool pureOutput=false, const RBool arrayType=false) | |
| virtual | ~RatBase () |
| virtual const RStatus | setValue (RObject *instance, void *value, const RUInt32 index=0) const =0 |
| virtual const RStatus | getValue (RObject *instance, void *value, RRenderCom *renderCom, const RUInt32 index=0) const =0 |
| virtual const RStatus | setArraySize (RObject *instance, const RUInt32 newSize) const |
| virtual const RUInt32 | getArraySize (RObject *instance) const |
| returns the size of the attribute or 0 when it's no array attribute | |
| virtual const RUChar | getType () const =0 |
| returns the type of the attribute | |
| virtual RatBase * | duplicate ()=0 |
| duplicate the attribute | |
| const RBool | isConnectable () const |
| returns true if you are able to connect to this attribute | |
| const RString | getLongName () const |
| return the long name of the attribute | |
| const RString | getShortName () const |
| return the short name of the attribute | |
| const RBool | isConnected () const |
| returns true is this attribute has a incoming connection | |
| const RBool | isArray () const |
| return true if the attribute is an array | |
| const RBool | isPureOutput () const |
| return true if the attribute is an array | |
| const RUInt32 | getContainerPosition () const |
| returns the position/index in the container | |
| void | setContainerPosition (const RUInt32 newPosition) |
| returns the position/index in the container | |
| const RBool | makeDynamic (RObject *newRObject) |
| const RBool | connectTo (RatBase *sourceAttribute, const RBool force=false) |
| virtual const RUInt32 | getNumberOfEntries (RStatus *status) |
| virtual const RStatus | setNumberOfEntries (const RUInt32) |
| this function resize the array | |
Protected Member Functions | |
| RatBase () | |
| const RBool | createsLoop (const RatBase *sourceAttr, const RatBase *destAttr) const |
| RatConnection * | getInConnection () const |
| returns the connected Attribute or NULL if there is no incoming connection | |
| const RBool | removeInConnection () |
| erases the incoming connection | |
Protected Attributes | |
| RObject * | _myRObject |
| RString | _longName |
| RString | _shortName |
| RUInt32 | _containerPosition |
| RBool | _isConnectable |
| RBool | _pureOutput |
| RBool | _isArray |
| RatConnection * | _connection |
|
|
Definition at line 52 of file RatBase.hxx. |
|
||||||||||||||||||||||||
|
Definition at line 30 of file RatBase.hxx. |
|
|
Definition at line 49 of file RatBase.hxx. |
|
|
Definition at line 95 of file RatBase.hxx. |
|
||||||||||||
|
Creates a connection between the given attribute (inAttribute) and the instance If force is true a already existing connection will be overwritten If force is false (default) and the attribute has already a incoming connection the operation fails and returns false returns true if the connection could be successfully established! Definition at line 10 of file RatBase.cxx. |
|
||||||||||||
|
Definition at line 28 of file RatBase.cxx. |
|
|
|
returns the size of the attribute or 0 when it's no array attribute
Reimplemented in RayGina::CORE::RatSimpleArray< T, typeID >, and RayGina::CORE::RatConstSimpleArray< T, typeID >. Definition at line 106 of file RatBase.hxx. |
|
|
returns the position/index in the container
Definition at line 147 of file RatBase.hxx. |
|
|
returns the connected Attribute or NULL if there is no incoming connection
Definition at line 204 of file RatBase.hxx. |
|
|
return the long name of the attribute
Definition at line 122 of file RatBase.hxx. |
|
|
ARRAY METHODS THESE ARE ONLY AVLID IF THE ATTRIBUTE IS AN ARRAY * Definition at line 191 of file RatBase.hxx. |
|
|
return the short name of the attribute
Definition at line 127 of file RatBase.hxx. |
|
|
||||||||||||||||||||
|
|
return true if the attribute is an array
Definition at line 137 of file RatBase.hxx. |
|
|
returns true if you are able to connect to this attribute
Definition at line 117 of file RatBase.hxx. |
|
|
returns true is this attribute has a incoming connection
Definition at line 132 of file RatBase.hxx. |
|
|
return true if the attribute is an array
Definition at line 142 of file RatBase.hxx. |
|
|
Definition at line 157 of file RatBase.hxx. |
|
|
erases the incoming connection
Definition at line 209 of file RatBase.hxx. |
|
||||||||||||
|
Reimplemented in RayGina::CORE::RatSimpleArray< T, typeID >, and RayGina::CORE::RatConstSimpleArray< T, typeID >. Definition at line 101 of file RatBase.hxx. |
|
|
returns the position/index in the container
Definition at line 152 of file RatBase.hxx. |
|
|
this function resize the array
Definition at line 197 of file RatBase.hxx. |
|
||||||||||||||||
|
|
Definition at line 28 of file RatBase.hxx. |
|
|
Definition at line 22 of file RatBase.hxx. |
|
|
Definition at line 26 of file RatBase.hxx. |
|
|
Definition at line 24 of file RatBase.hxx. |
|
|
Definition at line 19 of file RatBase.hxx. |
|
|
Definition at line 17 of file RatBase.hxx. |
|
|
Definition at line 25 of file RatBase.hxx. |
|
|
Definition at line 20 of file RatBase.hxx. |
1.3.9.1