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
pathMappingHandler.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/pathMappingHandler.h"
2#ifndef UFE_PATHMAPPINGHANDLER_H
3#define UFE_PATHMAPPINGHANDLER_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 "sceneItem.h"
16
18
27{
28public:
29 typedef std::shared_ptr<PathMappingHandler> Ptr;
30
38
40 PathMappingHandler() = default;
44 virtual ~PathMappingHandler() = default;
45
47 virtual Path toHost(const Path&) const = 0;
48
50 virtual Path fromHost(const Path&) const = 0;
51};
52
53}
54
55#endif // UFE_PATHMAPPINGHANDLER_H
Identify an object or 3D path in the scene.
Definition: path.h:40
PathMappingHandler(const PathMappingHandler &)=default
Default copy constructor.
static Ptr pathMappingHandler(Rtid)
virtual ~PathMappingHandler()=default
Destructor.
virtual Path fromHost(const Path &) const =0
Maps a host alias of the path into its runtime equivalent.
PathMappingHandler()=default
Constructor.
std::shared_ptr< PathMappingHandler > Ptr
static Ptr pathMappingHandler(const SceneItem::Ptr &)
virtual Path toHost(const Path &) const =0
Maps a runtime path into its host alias equivalent.
std::shared_ptr< SceneItem > Ptr
Definition: sceneItem.h:45
uint32_t Rtid
Definition: rtid.h:27
#define UFE_NS_DEF
Definition: ufe.h:36
Definition of macros for symbol visibility.
#define UFE_SDK_DECL
Definition: ufeExport.h:35