mi::bridge::Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I> Template Class Reference
[Bridge client]
template< Uint32 i_id1, Uint16 i_id2, Uint16 i_id3, Uint8 i_id4, Uint8 i_id5, Uint8 i_id6, Uint8 i_id7, Uint8 i_id8, Uint8 i_id9, Uint8 i_id10, Uint8 i_id11, class I = IClient_job>class mi::bridge::Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I>
Description
This mixin class provides a default implementation for some of the methods needed by mi::bridge::IClient_job. It is recommended to derive from this class rather than from mi::bridge::IClient_job directly.
Public Typedefs
- typedef base::Uuid_t< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11> IID
- Declares the interface ID.
- typedef Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I> Self
- Own type.
Public Member Functions
- virtual void deserialize( neuraylib::IDeserializer* deserializer)
- Empty body. This method from the base class is not needed for client jobs.
- virtual base::Uuid get_class_id() const
- Returns the class ID corresponding to the template parameters of this mixin class.
- 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 void get_references( neuraylib::ITag_set* result) const
- Empty body. The default job references no elements.
- virtual void get_references( IElement_set* result) const
- Empty body. The default job references no elements.
- virtual bool upload_only() const
- Returns false in the default implementation.
Static Public Member Functions
- static bool compare_iid( const base::Uuid& iid)
- Compares the interface ID iid against the interface ID of this interface and its ancestors. More...
Typedefs
- typedef base::Uuid_t< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11> mi::bridge::Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I>::IID
-
Declares the interface ID.
- typedef Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I> mi::bridge::Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I>::Self
-
Own type.
Member Functions
- static bool mi::bridge::Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I>::compare_iid( const base::Uuid& iid) [inline, static]
-
Compares the interface ID iid against the interface ID of this interface and its ancestors.
Returns
true if iid == IID() or is equal to one of the interface IDs of its ancestors, and false otherwise.
- virtual void mi::bridge::Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I>::deserialize( neuraylib::IDeserializer* deserializer) [inline, virtual]
-
Empty body. This method from the base class is not needed for client jobs.
- virtual base::Uuid mi::bridge::Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I>::get_class_id() const [inline, virtual]
-
Returns the class ID corresponding to the template parameters of this mixin class.
- virtual const base::IInterface* mi::bridge::Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I>::get_interface( const base::Uuid& interface_id) const [inline, virtual]
-
Acquires a const interface. If this interface is derived from or is the interface with the passed interface_id, then return a non-NULL const mi::base::IInterface* that can be casted via static_cast to an interface pointer of the interface type corresponding to the passed interface_id. Otherwise return NULL.
In the case of a non-NULL return value, the caller receives ownership of the new interface pointer, whose reference count has been retained once. The caller must release the returned interface pointer at the end to prevent a memory leak.
- virtual base::IInterface* mi::bridge::Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I>::get_interface( const base::Uuid& interface_id) [inline, virtual]
-
Acquires a mutable interface. If this interface is derived from or is the interface with the passed interface_id, then return a non-NULL mi::base::IInterface* that can be casted via static_cast to an interface pointer of the interface type corresponding to the passed interface_id. Otherwise return NULL.
In the case of a non-NULL return value, the caller receives ownership of the new interface pointer, whose reference count has been retained once. The caller must release the returned interface pointer at the end to prevent a memory leak.
- virtual void mi::bridge::Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I>::get_references( neuraylib::ITag_set* result) const [inline, virtual]
-
Empty body. The default job references no elements.
- virtual void mi::bridge::Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I>::get_references( IElement_set* result) const [inline, virtual]
-
Empty body. The default job references no elements.
- virtual bool mi::bridge::Client_job< i_id1, i_id2, i_id3, i_id4, i_id5, i_id6, i_id7, i_id8, i_id9, i_id10, i_id11, I>::upload_only() const [inline, virtual]
-
Returns false in the default implementation.