This mixin class can be used to implement the mi::neuraylib::IJob interface. More...
#include <dice.h>

Public Member Functions | |
| virtual Size | get_size () const |
Assumes that the size of the database job is given by sizeof. More... | |
| virtual bool | is_local_only () const |
Returns false. More... | |
| virtual bool | is_shared () const |
Returns false. More... | |
| virtual bool | is_parent () const |
Returns false. More... | |
| virtual Float32 | get_cpu_load () const |
| Returns 1.0. More... | |
| virtual Float32 | get_gpu_load () const |
| Returns 0.0. More... | |
Public Member Functions inherited from mi::neuraylib::Base< id1, ... > | |
| virtual const base::IInterface * | get_interface (const base::Uuid &interface_id) const |
| Acquires a const interface. More... | |
| virtual base::IInterface * | get_interface (const base::Uuid &interface_id) |
| Acquires a mutable interface. 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<IJob> | |
| Interface_implement (Uint32 initial=1) | |
| Constructor. More... | |
| Interface_implement (const Interface_implement<IJob> &other) | |
| Copy constructor. More... | |
| Interface_implement (Interface_implement &&other) | |
| Move constructor. More... | |
| Interface_implement<IJob> & | operator= (const Interface_implement<IJob> &other) |
| Assignment operator. More... | |
| Interface_implement & | operator= (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 IInterface * | get_interface (const Uuid &interface_id) const override |
| Acquires a const interface. More... | |
| IInterface * | get_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 | |
Public Types inherited from mi::neuraylib::Base< id1, ... > | |
| using | Self = Base< id1, ... > |
| Own type. More... | |
| using | IID = base::Uuid_t< id1, ... > |
| Declares the interface ID. More... | |
Static Public Member Functions inherited from mi::neuraylib::Base< id1, ... > | |
| static bool | compare_iid (const base::Uuid &iid) |
Compares the interface ID iid against the interface ID of this interface and its ancestors. More... | |
Protected Member Functions inherited from mi::base::Interface_implement<IJob> | |
| Atom32 & | refcount () const |
| Get the current refcount. More... | |
This mixin class can be used to implement the mi::neuraylib::IJob interface.
This mixin class provides a default implementation of some of the pure virtual methods of the mi::neuraylib::IJob interface. The documentation here just lists the behavior of the default implementation, see mi::neuraylib::IJob for the documentation of the methods themselves.
|
inlinevirtual |
Returns 1.0.
|
inlinevirtual |
Returns 0.0.
|
inlinevirtual |
Assumes that the size of the database job is given by sizeof.
|
inlinevirtual |
Returns false.
|
inlinevirtual |
Returns false.