All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
pluginBase.h
1//
2// Copyright 2016 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_IMAGING_HF_PLUGIN_BASE_H
8#define PXR_IMAGING_HF_PLUGIN_BASE_H
9
10#include "pxr/pxr.h"
11#include "pxr/imaging/hf/api.h"
12
13PXR_NAMESPACE_OPEN_SCOPE
14
23{
24public:
25 HF_API
26 virtual ~HfPluginBase(); // = default: See workaround in cpp file
27
28protected:
29 // Pure virtual class, must be derived
30 HF_API
31 HfPluginBase() = default;
32
33private:
37 HfPluginBase(const HfPluginBase &) = delete;
38 HfPluginBase &operator=(const HfPluginBase &) = delete;
39};
40
41
42PXR_NAMESPACE_CLOSE_SCOPE
43
44#endif // PXR_IMAGING_HF_PLUGIN_BASE_H
Base class for all hydra plugin classes.
Definition: pluginBase.h:23