diff options
author | Jeroen Bakker <j.bakker@atmind.nl> | 2012-06-14 13:41:41 +0400 |
---|---|---|
committer | Jeroen Bakker <j.bakker@atmind.nl> | 2012-06-14 13:41:41 +0400 |
commit | 8ebec02df6e58fe02bd33c236601a3209f9818cd (patch) | |
tree | 2456049baf76cfbf707ec151d8a5f8c180164ef8 /source/blender/compositor/intern/COM_OutputSocket.h | |
parent | ee65cd7685f3a2334bf47dbfeff5f0d576e082fd (diff) |
Removed the actual data type concept as it was never used.
Diffstat (limited to 'source/blender/compositor/intern/COM_OutputSocket.h')
-rw-r--r-- | source/blender/compositor/intern/COM_OutputSocket.h | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/source/blender/compositor/intern/COM_OutputSocket.h b/source/blender/compositor/intern/COM_OutputSocket.h index e008d651046..c073703c423 100644 --- a/source/blender/compositor/intern/COM_OutputSocket.h +++ b/source/blender/compositor/intern/COM_OutputSocket.h @@ -43,15 +43,7 @@ class WriteBufferOperation; class OutputSocket : public Socket { private: vector<SocketConnection *> connections; - - /** - * @brief index of the inputsocket that determines the datatype of this outputsocket - * -1 will not use any inputsocket to determine the datatype, but use the outputsocket - * default datatype. - */ - int inputSocketDataTypeDeterminatorIndex; - - ChannelInfo channelinfo[4]; + void removeFirstConnection(); public: OutputSocket(DataType datatype); @@ -72,18 +64,10 @@ public: /** * @brief determine the actual data type and channel info. */ - void determineActualDataType(); void relinkConnections(OutputSocket *relinkToSocket) { this->relinkConnections(relinkToSocket, false); }; void relinkConnections(OutputSocket *relinkToSocket, bool single); - bool isActualDataTypeDeterminedByInputSocket() { - return this->inputSocketDataTypeDeterminatorIndex > -1; - } const int getNumberOfConnections() { return connections.size(); } - /** - * @brief get the index of the inputsocket that determines the datatype of this outputsocket - */ - int getInputSocketDataTypeDeterminatorIndex() { return this->inputSocketDataTypeDeterminatorIndex; } void clearConnections(); /** @@ -93,12 +77,6 @@ public: WriteBufferOperation *findAttachedWriteBufferOperation() const; ChannelInfo *getChannelInfo(const int channelnumber); - /** - * @brief trigger determine actual data type to all connected sockets - * @note will only be triggered just after the actual data type is set. - */ - void fireActualDataType(); - private: }; |