class

Context()

Class representing a Context in ROS

Members

member

handle

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

isDefaultContext

Check if this context is the default one.
Source:
member

isOk

Check that the context is valid.
Source:

Methods

function

shutdown() → {undefined}

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

tryShutdown() → {undefined}

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

(static) defaultContext() → {Context}

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