Lazy enumeration of node maps.
More...
#include <cvb/genapi/node_map_enumerator.hpp>
Lazy enumeration of node maps.
Enumerates node maps (lazy) that belong to a arbitrary object respectively it's handle on demand.
- Attention
- Access to this class is not thread safe.
- Examples
- Cvb/CppMultiStream, Cvb/CppPointCloudAcquisition, and Cvb/CppRdma.
◆ NodeMapEnumerator()
Move constructor.
- Parameters
-
[in] | other | The other object. |
- Exceptions
-
Does | not throw any exception. |
◆ FromObject()
Create a node map enumerator for a given object.
- Parameters
-
[in] | object | That has a handle. |
- Exceptions
-
- Attention
- The node map enumerator shares the lifetime of the given object. In order to free resources held by the object the enumerator must also be destroyed. This method will only throw if sharing fails.
◆ Handle()
Classic API device handle.
- Returns
- Classic API handle.
- Exceptions
-
Does | not throw any exception. |
It is normally not necessary to work with this handle.
◆ Names()
Get the names of all available node maps.
- Returns
- A list of all node map names
- Exceptions
-
The list may be empty.
◆ NodeMap()
Name based node map access.
- Parameters
-
[in] | name | Name of the node map. |
- Returns
- A pointer to the node map
- Exceptions
-
If the node map does not exists the access will throw.
◆ operator=()
Move operator.
- Parameters
-
[in] | other | The other object. |
- Returns
- The object
- Exceptions
-
Does | not throw any exception. |
◆ operator[]()
Name based node map access.
- Parameters
-
[in] | name | Name of the node map. |
- Returns
- A pointer to the node map
- Exceptions
-
If the node map does not exists the access will throw.