Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
DataStorm::Node Class Reference

The Node class allows creating topic readers and writers. More...

#include <DataStorm/DataStorm.h>

Public Member Functions

 Node (Ice::CommunicatorPtr communicator)
 Constructs a DataStorm node with the specified communicator.
template<typename ArgvT>
 Node (int &argc, ArgvT argv)
 Constructs a DataStorm node with an Ice communicator initialized from command-line arguments.
 Node (Node &&node) noexcept
 Move constructor.
 Node (NodeOptions options={})
 Constructs a DataStorm node.
 ~Node ()
 Destructor.
Ice::CommunicatorPtr getCommunicator () const noexcept
 Returns the Ice communicator associated with the node.
Ice::ConnectionPtr getSessionConnection (std::string_view ident) const noexcept
 Returns the Ice connection associated with a session given a session identifier.
bool isShutdown () const noexcept
 Returns whether or not the node shutdown has been initiated.
Nodeoperator= (Node &&node) noexcept
 Move assignment operator.
void shutdown () noexcept
 Shuts down the node. The shutdown interrupts calls which are waiting for events, writers or readers.
void waitForShutdown () const noexcept
 Waits for shutdown to be called.

Friends

template<typename, typename, typename>
class Topic

Detailed Description

The Node class allows creating topic readers and writers.

A node is the main DataStorm object which allows creating topic readers or writers.

Definition at line 50 of file Node.h.


The documentation for this class was generated from the following file: