ufe  4.2
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.10-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 
21 UFE_NS_DEF {
22 
32 {
33 public:
34  typedef std::shared_ptr<Connection> Ptr;
35 
37  Connection(const AttributeInfo& srcAttr, const AttributeInfo& dstAttr);
39  virtual ~Connection();
40 
42  Connection(const Connection&) = delete;
44  Connection& operator=(const Connection&) = delete;
45  Connection(Connection&&) = delete;
46  Connection& operator=(Connection&&) = delete;
48 
50  const AttributeInfo& src() const { return fSrc; }
52  const AttributeInfo& dst() const { return fDst; }
53 
54 private:
55  const AttributeInfo fSrc, fDst;
56 };
57 
58 
59 }
60 
61 #endif /* _ufe_connection */
Definition of macros for symbol visibility.
This class represents a connection.
Definition: connection.h:31
#define UFE_NS_DEF
Definition: ufe.h:35
const AttributeInfo fSrc
Definition: connection.h:55
std::shared_ptr< Connection > Ptr
Definition: connection.h:34
This class keeps information of an attribute.
Definition: attributeInfo.h:34
const AttributeInfo & dst() const
Get the destination attribute.
Definition: connection.h:52
const AttributeInfo & src() const
Get the source attribute.
Definition: connection.h:50
#define UFE_SDK_DECL
Definition: ufeExport.h:36