ufe 5.3
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
Ufe::Connection Class Reference

This class represents a connection. More...

#include <connection.h>

Collaboration diagram for Ufe::Connection:

Public Types

typedef std::shared_ptr< ConnectionPtr
 

Public Member Functions

 Connection (const AttributeInfo &srcAttr, const AttributeInfo &dstAttr)
 Constructor. More...
 
virtual ~Connection ()
 Destructor. More...
 
 Connection (const Connection &)=delete
 No copy or move constructor/assignment. More...
 
Connectionoperator= (const Connection &)=delete
 
 Connection (Connection &&)=delete
 
Connectionoperator= (Connection &&)=delete
 
const AttributeInfosrc () const
 Get the source attribute. More...
 
const AttributeInfodst () const
 Get the destination attribute. More...
 

Private Attributes

const AttributeInfo fSrc
 
const AttributeInfo fDst
 

Detailed Description

This class represents a connection.

This class represents a connection with only one source and destination attribute. If an attribute is connected to several other attributes then there are several connections.

Definition at line 31 of file connection.h.

Member Typedef Documentation

◆ Ptr

typedef std::shared_ptr<Connection> Ufe::Connection::Ptr

Definition at line 34 of file connection.h.

Constructor & Destructor Documentation

◆ Connection() [1/3]

Ufe::Connection::Connection ( const AttributeInfo srcAttr,
const AttributeInfo dstAttr 
)

Constructor.

◆ ~Connection()

virtual Ufe::Connection::~Connection ( )
virtual

Destructor.

◆ Connection() [2/3]

Ufe::Connection::Connection ( const Connection )
delete

No copy or move constructor/assignment.

◆ Connection() [3/3]

Ufe::Connection::Connection ( Connection &&  )
delete

Member Function Documentation

◆ dst()

const AttributeInfo & Ufe::Connection::dst ( ) const
inline

Get the destination attribute.

Definition at line 52 of file connection.h.

◆ operator=() [1/2]

Connection & Ufe::Connection::operator= ( Connection &&  )
delete

◆ operator=() [2/2]

Connection & Ufe::Connection::operator= ( const Connection )
delete

◆ src()

const AttributeInfo & Ufe::Connection::src ( ) const
inline

Get the source attribute.

Definition at line 50 of file connection.h.

Member Data Documentation

◆ fDst

const AttributeInfo Ufe::Connection::fDst
private

Definition at line 55 of file connection.h.

◆ fSrc

const AttributeInfo Ufe::Connection::fSrc
private

Definition at line 55 of file connection.h.


The documentation for this class was generated from the following file: