ufe 7.0
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 "D:/Jenkins/workspace/EMS/ECG/ufe/full/ufe-full-python3.13-windows/ufe/include/connection.h"
2#ifndef UFE_CONNECTION_H
3#define UFE_CONNECTION_H
4
5// ===========================================================================
6// Copyright 2025 Autodesk, Inc. All rights reserved.
7//
8// The use of this software is subject to the Autodesk Terms of Use or other
9// license agreement provided at the time of installation or download, or
10// which otherwise accompanies this software.
11// ===========================================================================
12
13#include "common/ufeExport.h"
14
15#include "attributeInfo.h"
16
17#include <memory>
18
20
30{
31public:
32 typedef std::shared_ptr<Connection> Ptr;
33
35 Connection(const AttributeInfo& srcAttr, const AttributeInfo& dstAttr);
37 virtual ~Connection();
38
41 Connection(const Connection&) = delete;
42 Connection& operator=(const Connection&) = delete;
46
48 const AttributeInfo& src() const { return fSrc; }
50 const AttributeInfo& dst() const { return fDst; }
51
52private:
53 const AttributeInfo fSrc, fDst;
54};
55
56
57}
58
59#endif /* UFE_CONNECTION_H */
This class keeps information of an attribute.
Definition: attributeInfo.h:33
This class represents a connection.
Definition: connection.h:30
const AttributeInfo & dst() const
Get the destination attribute.
Definition: connection.h:50
virtual ~Connection()
Destructor.
std::shared_ptr< Connection > Ptr
Definition: connection.h:32
Connection(const Connection &)=delete
Connection & operator=(Connection &&)=delete
Connection(const AttributeInfo &srcAttr, const AttributeInfo &dstAttr)
Constructor.
const AttributeInfo & src() const
Get the source attribute.
Definition: connection.h:48
const AttributeInfo fDst
Definition: connection.h:53
Connection(Connection &&)=delete
Connection & operator=(const Connection &)=delete
#define UFE_NS_DEF
Definition: ufe.h:36
Definition of macros for symbol visibility.
#define UFE_SDK_DECL
Definition: ufeExport.h:35