neuray API Programmer's Manual

mi::neuraylib::IWorker_node_descriptor Class Reference

[Node manager]

Description

This interface describes a worker node and its properties.

Public Member Functions

virtual const IStringget_address() const =0
Returns the IP address of the worker node.
virtual const IMapget_properties() const =0
Returns the properties of the worker node. More...
virtual bool  is_in_cluster() const =0
Indicates whether the worker node is currently a member of a cluster.

Member Functions

virtual const IString* mi::​neuraylib::​IWorker_node_descriptor::get_address() const [pure virtual]

Returns the IP address of the worker node.

virtual const IMap* mi::​neuraylib::​IWorker_node_descriptor::get_properties() const [pure virtual]

Returns the properties of the worker node. The type of the map is "Map<String>".

The following properties are defined by default.

  • "dice_host_name"

    The host name of the worker node.

  • "dice_number_of_cpus"

    The number of CPUs of the worker node.

  • "dice_number_of_gpus"

    The number of GPUs of the worker node.

  • "dice_platform_os"

    The platform/operating system identifier of the worker node.

  • "dice_platform_version"

    The version of used by the worker node.

Other properties with the name prefix dice are reserved for future use.

virtual bool mi::​neuraylib::​IWorker_node_descriptor::is_in_cluster() const [pure virtual]

Indicates whether the worker node is currently a member of a cluster.