HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_OpenCLDevice.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * COMMENTS:
7  */
8 
9 #ifndef __HOM_OpenCLDevice_h__
10 #define __HOM_OpenCLDevice_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_Module.h"
15 
16 #include <string>
17 
18 SWIGOUT(%rename(OpenCLDevice) HOM_OpenCLDevice;)
19 
21 {
22 public:
24  { HOM_CONSTRUCT_OBJECT(this) }
26  { HOM_CONSTRUCT_OBJECT(this) }
28  { HOM_DESTRUCT_OBJECT(this) }
29 
30  virtual std::string __repr__() = 0;
31 
32  virtual std::string label() const = 0;
33  virtual std::string vendor() const = 0;
34  virtual std::string platformVendor() const = 0;
35  virtual std::string driverVersion() const = 0;
36  virtual int number() const = 0;
37 };
38 
39 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1398
GLuint GLsizei const GLchar * label
Definition: glcorearb.h:2545
virtual std::string driverVersion() const =0
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:312
virtual std::string vendor() const =0
virtual int number() const =0
#define HOM_API
Definition: HOM_API.h:13
virtual ~HOM_OpenCLDevice()
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1397
virtual std::string platformVendor() const =0
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_OpenCLDevice(const HOM_OpenCLDevice &)