46 m_ConnectorLabelName =
moText(
"");
86 switch( p_paramtype ) {
164 if (t_datatype==
moText(
"NUMBER")) {
166 }
else if(t_datatype==
moText(
"POINTER")) {
168 }
else if(t_datatype==
moText(
"DATA")) {
170 }
else if(t_datatype==
moText(
"VECTOR2F")) {
172 }
else if(t_datatype==
moText(
"VECTOR3F")) {
174 }
else if(t_datatype==
moText(
"VECTOR4F")) {
176 }
else if(t_datatype==
moText(
"VECTOR2I")) {
178 }
else if(t_datatype==
moText(
"VECTOR3I")) {
180 }
else if(t_datatype==
moText(
"VECTOR4I")) {
182 }
else if(t_datatype==
moText(
"IMAGE")) {
184 }
else if(t_datatype==
moText(
"SOUND")) {
186 }
else if(t_datatype==
moText(
"VIDEO")) {
188 }
else if(t_datatype==
moText(
"MESSAGE")) {
190 }
else if(t_datatype==
moText(
"MESSAGES")) {
192 }
else if(t_datatype==
moText(
"TEXT")) {
226 switch(firstvalue.GetType()) {
358 LastMessage.Add( data );
489 m_Connections.Empty();
493 for(
MOuint i = 0; i < m_Connections.Count(); i++ ) {
494 if ( m_Connections[i]->GetDestinationMoldeoId() == p_connector->
GetMoldeoId()
495 && m_Connections[i]->GetDestinationConnectorId() == p_connector->
GetConnectorId())
503 for(
MOuint i = 0; i < m_Connections.Count(); i++ ) {
504 if ( m_Connections[i]->GetDestinationMoldeoId() == p_connector->
GetMoldeoId()
505 && m_Connections[i]->GetDestinationConnectorId() == p_connector->
GetConnectorId())
506 m_Connections.Remove(i);
513 for(
MOuint i=0; i<m_Connections.Count(); i++) {
514 if (m_Connections[i])
515 delete m_Connections[i];
517 m_Connections.Empty();
522 return &m_Connections;
void SetMoldeoId(MOint p_moldeoid)
value type: NUM or FUNCTION
void Update(bool force=true)
moDefineDynamicArray(moConnectors) moDefineDynamicArray(moConnections) moDefineDynamicArray(moInlets) moDefineDynamicArray(moOutlets) moConnector
Conector Inlet, conector que recibe datos.
moData * GetInternalData()
moValueBase & GetSubValue(MOint p_indexsubvalue=0)
value type: NUM or FUNCTION
value type: NUM or FUNCTION
void SetDouble(MOdouble pdouble)
value type: NUM or FUNCTION
moText m_DestinationMoldeoLabelName
moConnections * GetConnections()
Devuelve las conecciones de un outlet.
moDataType TextToType(moText texttype)
MOint GetDestinationConnectorId()
value type: NUM or FUNCTION
value type: NUM or FUNCTION
value type: NUM or FUNCTION
value type: NUM or FUNCTION
value type: TXT or LNK, or XML
virtual MOboolean Finish()
void SetLong(MOlonglong plong)
virtual bool Connect(moInlet *p_connector)
MOint m_DestinationConnectorId
void SetExternData(moData *p_pExternData)
value type: TXT or LNK, or XML
clase de para manejar textos
moDataMessages & GetMessages()
moText GetDestinationMoldeoLabelName()
moText GetDestinationConnectorLabelName()
moDataMessages m_DataMessages
MOboolean Updated() const
void SetDestinationMoldeoId(MOint p_DestinationMoldeoId)
virtual void Disconnect(moInlet *p_connector)
void AddData(const moData &data)
void SetDestinationConnectorLabelName(moText p_DestinationConnectorLabelName)
value type: NUM[4] or FUNCTION[4] or
virtual MOboolean Finish()
moDataType GetType() const
void SetType(moDataType p_datatype)
moParamType GetType() const
moText m_ConnectorLabelName
MOint GetDestinationMoldeoId()
value type: NUM or FUNCTION
virtual const moText & GetConnectorLabelName() const
value type: NUM or FUNCTION
void AddMessage(const moDataMessage &datamessage)
value type: NUM or FUNCTION
MOint GetConnectorId() const
moValue & GetValue(MOint i=-1)
value type: NUM or FUNCTION
value type: NUM or TEXT ( 0:FILL 1:LINE 2:POINT)
MOint m_DestinationMoldeoId
void SetDestinationConnectorId(MOint p_DestinationConnectorId)
void SetDestinationMoldeoLabelName(moText p_DestinationMoldeoLabelName)
moParamDefinition & GetParamDefinition()
void SetMoldeoLabelName(moText p_MoldeoLabelName)
void SetChar(MOchar pchar)
MOint GetMoldeoId() const
moText GetMoldeoLabelName() const
Conector para vincular objetos con datos.
void SetType(moDataType p_DataType)
void SetFloat(MOfloat pfloat)
moText m_DestinationConnectorLabelName
value type: NUM or FUNCTION
value type: NUM or TEXT (to script or shader for chroma???)
void SetData(moData *p_data)
Conección, vínculo entre dos objetos.