Iray SDK API nvidia_logo_transpbg.gif Up
mi::neuraylib::User_class< id1, ... > Class Template Reference

This mixin class should be used to implement the IUser_class interface. More...

#include <iuser_class.h>

Inheritance diagram for mi::neuraylib::User_class< id1, ... >:

Public Types

using IID = base::Uuid_t< id1, ... >
 Declares the class ID. More...
 

Public Member Functions

 User_class ()=default
 Default constructor. More...
 
 User_class (const User_class &other)
 Copy constructor. More...
 
User_classoperator= (const User_class &other)
 Assignment operator. More...
 
 ~User_class ()
 Destructor. More...
 
virtual const char * get_class_name () const
 Returns a human readable class name. More...
 
virtual base::Uuid get_class_id () const
 Returns the class ID corresponding to the template parameters of this mixin class. More...
 
- Public Member Functions inherited from mi::base::Interface_implement<IUser_class>
 Interface_implement (Uint32 initial=1)
 Constructor. More...
 
 Interface_implement (const Interface_implement<IUser_class> &other)
 Copy constructor. More...
 
 Interface_implement (Interface_implement &&other)
 Move constructor. More...
 
Interface_implement<IUser_class> & operator= (const Interface_implement<IUser_class> &other)
 Assignment operator. More...
 
Interface_implementoperator= (Interface_implement &&other)
 Move assignment. More...
 
Uint32 retain () const override
 Increments the reference count. More...
 
Uint32 release () const override
 Decrements the reference count. More...
 
const IInterfaceget_interface (const Uuid &interface_id) const override
 Acquires a const interface. More...
 
IInterfaceget_interface (const Uuid &interface_id) override
 Acquires a mutable interface. More...
 
Uuid get_iid () const override
 Returns the interface ID of the most derived interface. More...
 

Additional Inherited Members

- Protected Member Functions inherited from mi::base::Interface_implement<IUser_class>
Atom32refcount () const
 Get the current refcount. More...
 

Detailed Description

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IUser_class>
class mi::neuraylib::User_class< id1, ... >

This mixin class should be used to implement the IUser_class interface.

This interface provides a default implementation of some of the pure virtual methods of the mi::neuraylib::IUser_class interface.

Member Typedef Documentation

 IID

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IUser_class>
using mi::neuraylib::User_class< id1, ... >::IID = base::Uuid_t<id1, id2, id3, id4, id5, id6, id7, id8, id9, id10, id11>

Declares the class ID.

Constructor & Destructor Documentation

 User_class() [1/2]

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IUser_class>
mi::neuraylib::User_class< id1, ... >::User_class ( )
default

Default constructor.

 User_class() [2/2]

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IUser_class>
mi::neuraylib::User_class< id1, ... >::User_class ( const User_class< id1, ... > &  other)
inline

Copy constructor.

 ~User_class()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IUser_class>
mi::neuraylib::User_class< id1, ... >::~User_class ( )
inline

Destructor.

Member Function Documentation

 get_class_id()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IUser_class>
virtual base::Uuid mi::neuraylib::User_class< id1, ... >::get_class_id ( ) const
inlinevirtual

Returns the class ID corresponding to the template parameters of this mixin class.

 get_class_name()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IUser_class>
virtual const char * mi::neuraylib::User_class< id1, ... >::get_class_name ( ) const
inlinevirtual

Returns a human readable class name.

 operator=()

template<Uint32 id1, Uint16 id2, Uint16 id3, Uint8 id4, Uint8 id5, Uint8 id6, Uint8 id7, Uint8 id8, Uint8 id9, Uint8 id10, Uint8 id11, class I = IUser_class>
User_class & mi::neuraylib::User_class< id1, ... >::operator= ( const User_class< id1, ... > &  other)
inline

Assignment operator.