OpenHiva::Node

Description

This interface is a constructor and is used to initialize a node.

Prototype

void OpenHiva::Node(const std::string &nodeName, const std::string& nodeNameSpace = std::string(), const M_string& remappings = M_string())

Parameters

Parameter

Input/Output

Description

nodeName

Input

Name of a node.

nodeNameSpace

Input

Namespace of a node.

remappings

Input

The parameter is of the map<string, string> type. If it contains __name:="a" and __ns:= "b", the node name is /b/a.

Returns

None

Usage

None

Precautions

  • Non-reentrant, synchronous interface.
  • A node must be created before the CreatePublisher, CreateSubscriber, CreateServiceServer, and CreateServiceClient interfaces are invoked.