This mixin class should be used to implement the IUser_class
interface.
More...
#include <iuser_class.h>
Public Types | |
typedef base::Uuid_t< id1, ... > | IID |
Declares the class ID. More... | |
Public Member Functions | |
User_class () | |
Default constructor. More... | |
User_class (const User_class &other) | |
Copy constructor. More... | |
User_class & | operator= (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... | |
virtual Uint32 | release () const |
Decrements the reference count. 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_implement & | operator= (Interface_implement &&other) |
Move assignment. More... | |
virtual Uint32 | retain () const |
Increments the reference count. More... | |
virtual Uint32 | release () const |
Decrements the reference count. More... | |
virtual const IInterface * | get_interface (const Uuid &interface_id) const |
Acquires a const interface. More... | |
virtual IInterface * | get_interface (const Uuid &interface_id) |
Acquires a mutable interface. More... | |
Uuid | get_iid () const |
Returns the interface ID of the most derived interface. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from mi::base::Interface_implement<IUser_class> | |
Atom32 & | refcount () const |
Get the current refcount. More... | |
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.
typedef base::Uuid_t<id1,id2,id3,id4,id5,id6,id7,id8,id9,id10,id11> mi::neuraylib::User_class< id1, ... >::IID |
Declares the class ID.
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Destructor.
|
inlinevirtual |
Returns the class ID corresponding to the template parameters of this mixin class.
|
inlinevirtual |
Returns a human readable class name.
|
inline |
Assignment operator.
|
inlinevirtual |
Decrements the reference count.
Decrements the reference count of the object referenced through this interface and returns the new reference count. If the reference count dropped to zero, the object will be deleted. The operation is thread-safe.
Reimplemented from mi::base::Interface_implement<IUser_class>.