HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_logging_Sink.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_logging_Sink_h__
10 #define __HOM_logging_Sink_h__
11 
12 #include "HOM_API.h"
13 #include "HOM_Defines.h"
14 #include "HOM_ElemPtr.h"
15 #include "HOM_Module.h"
16 #include <vector>
17 
18 SWIGOUT(%rename(_logging_Sink) HOM_logging_Sink;)
19 
21 {
22 public:
24  { HOM_CONSTRUCT_OBJECT(this) }
26  { HOM_DESTRUCT_OBJECT(this) }
27 
28  virtual std::string __repr__() = 0;
29 
30  virtual std::vector<std::string> connectedSources() = 0;
31  virtual void connect(const char *source_name) = 0;
32  virtual void disconnect(const char *source_name) = 0;
33 
34  SWIGOUT(%ignore setOpaqueFilterCallback;)
35  virtual void setOpaqueFilterCallback(void *py_callback) = 0;
36 
37 #ifdef SWIG
38 %extend
39 {
40  void setFilterCallback(InterpreterObject callback)
41  { self->setOpaqueFilterCallback(callback); }
42 }
43 #endif
44 };
45 
46 #endif
#define HOM_DESTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1291
GLsizei const GLchar *const * string
Definition: glcorearb.h:814
#define SWIGOUT(x)
Definition: HOM_Defines.h:24
string __repr__(VtArray< T > const &self)
Definition: wrapArray.h:352
#define HOM_API
Definition: HOM_API.h:13
void ignore(T const &) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:6508
#define HOM_CONSTRUCT_OBJECT(pointer)
Definition: HOM_Module.h:1290
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual ~HOM_logging_Sink()