Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-06-14 03:31:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-06-14 03:31:47 +0400
commitbde7e6c96b9e180b293ee6e49ab813a30fac0635 (patch)
treecf9f09aa0b3bb0528553546674269f0e5e96bd93 /source/blender/compositor/intern/COM_OutputSocket.h
parent906b9e0584b93094b1c45514fbf6fd8c62e6d015 (diff)
stule cleanup: node headers
Diffstat (limited to 'source/blender/compositor/intern/COM_OutputSocket.h')
-rw-r--r--source/blender/compositor/intern/COM_OutputSocket.h56
1 files changed, 28 insertions, 28 deletions
diff --git a/source/blender/compositor/intern/COM_OutputSocket.h b/source/blender/compositor/intern/COM_OutputSocket.h
index 640588417b4..e008d651046 100644
--- a/source/blender/compositor/intern/COM_OutputSocket.h
+++ b/source/blender/compositor/intern/COM_OutputSocket.h
@@ -37,18 +37,18 @@ class WriteBufferOperation;
//#define COM_ST_OUTPUT 1
/**
- * @brief OutputSocket are sockets that can send data/input
- * @ingroup Model
- */
+ * @brief OutputSocket are sockets that can send data/input
+ * @ingroup Model
+ */
class OutputSocket : public Socket {
private:
- vector<SocketConnection*> connections;
+ 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.
- */
+ * @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];
@@ -56,47 +56,47 @@ private:
public:
OutputSocket(DataType datatype);
OutputSocket(DataType datatype, int inputSocketDataTypeDeterminatorIndex);
- OutputSocket(OutputSocket * from);
+ OutputSocket(OutputSocket *from);
void addConnection(SocketConnection *connection);
- SocketConnection *getConnection(unsigned int index) {return this->connections[index];}
+ SocketConnection *getConnection(unsigned int index) { return this->connections[index]; }
const int isConnected() const;
int isOutputSocket() const;
/**
- * @brief determine the resolution of this socket
- * @param resolution the result of this operation
- * @param preferredResolution the preferrable resolution as no resolution could be determined
- */
+ * @brief determine the resolution of this socket
+ * @param resolution the result of this operation
+ * @param preferredResolution the preferrable resolution as no resolution could be determined
+ */
void determineResolution(unsigned int resolution[], unsigned int preferredResolution[]);
/**
- * @brief determine the actual data type and channel info.
- */
+ * @brief determine the actual data type and channel info.
+ */
void determineActualDataType();
- void relinkConnections(OutputSocket *relinkToSocket) {this->relinkConnections(relinkToSocket, false);};
+ void relinkConnections(OutputSocket *relinkToSocket) { this->relinkConnections(relinkToSocket, false); };
void relinkConnections(OutputSocket *relinkToSocket, bool single);
bool isActualDataTypeDeterminedByInputSocket() {
- return this->inputSocketDataTypeDeterminatorIndex>-1;
+ return this->inputSocketDataTypeDeterminatorIndex > -1;
}
- const int getNumberOfConnections() {return connections.size();}
+ 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;}
+ * @brief get the index of the inputsocket that determines the datatype of this outputsocket
+ */
+ int getInputSocketDataTypeDeterminatorIndex() { return this->inputSocketDataTypeDeterminatorIndex; }
void clearConnections();
/**
- * @brief find a connected write buffer operation to this OutputSocket
- * @return WriteBufferOperation or NULL
- */
+ * @brief find a connected write buffer operation to this OutputSocket
+ * @return WriteBufferOperation or NULL
+ */
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.
- */
+ * @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: