ufe 5.5
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
connection.h
Go to the documentation of this file.
1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/connection.h"
2#ifndef _ufe_connection
3#define _ufe_connection
4
5// =======================================================================
6// Copyright 2022 Autodesk, Inc. All rights reserved.
7//
8// This computer source code and related instructions and comments are the
9// unpublished confidential and proprietary information of Autodesk, Inc.
10// and are protected under applicable copyright and trade secret law. They
11// may not be disclosed to, copied or used by any third party without the
12// prior written consent of Autodesk, Inc.
13// =======================================================================
14
15#include "common/ufeExport.h"
16
17#include "attributeInfo.h"
18
19#include <memory>
20
22
32{
33public:
34 typedef std::shared_ptr<Connection> Ptr;
35
37 Connection(const AttributeInfo& srcAttr, const AttributeInfo& dstAttr);
39 virtual ~Connection();
40
42
43 Connection(const Connection&) = delete;
44 Connection& operator=(const Connection&) = delete;
48
50 const AttributeInfo& src() const { return fSrc; }
52 const AttributeInfo& dst() const { return fDst; }
53
54private:
55 const AttributeInfo fSrc, fDst;
56};
57
58
59}
60
61#endif /* _ufe_connection */
This class keeps information of an attribute.
Definition: attributeInfo.h:35
This class represents a connection.
Definition: connection.h:32
const AttributeInfo & dst() const
Get the destination attribute.
Definition: connection.h:52
virtual ~Connection()
Destructor.
std::shared_ptr< Connection > Ptr
Definition: connection.h:34
Connection(const Connection &)=delete
No copy or move constructor/assignment.
Connection & operator=(Connection &&)=delete
Connection(const AttributeInfo &srcAttr, const AttributeInfo &dstAttr)
Constructor.
const AttributeInfo & src() const
Get the source attribute.
Definition: connection.h:50
const AttributeInfo fDst
Definition: connection.h:55
Connection(Connection &&)=delete
Connection & operator=(const Connection &)=delete
#define UFE_NS_DEF
Definition: ufe.h:35
Definition of macros for symbol visibility.
#define UFE_SDK_DECL
Definition: ufeExport.h:36