Class: Context

Context()

Class representing a Context in ROS

Members

handle

Get the handle referencing the internal context object. Do not modify it yourself: only pass it to *rclnodejs* functions!
Source:

isDefaultContext

Check if this context is the default one.
Source:

isOk

Check that the context is valid.
Source:

Methods

(static) defaultContext() → {Context}

Get the global default Context object.
Source:
Returns:
The default Context
Type
Context

shutdown() → {undefined}

Shut down the context.
Source:
Throws:
If there is a problem shutting down the context.
Type
Error
Returns:
Type
undefined

tryShutdown() → {undefined}

Try to shut down the context.
Source:
Throws:
If there is a problem shutting down the context.
Type
Error
Returns:
Type
undefined