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, std::function< void(std::function< void()> call)> customExecutor=nullptr)
 Constructs a DataStorm node.
 Node (int &argc, char *argv[], std::optional< std::string_view > configFile=std::nullopt, std::function< void(std::function< void()> call)> customExecutor=nullptr)
 Constructs a DataStorm node.
 Node (int &argc, const char *argv[], std::optional< std::string_view > configFile=std::nullopt, std::function< void(std::function< void()> call)> customExecutor=nullptr)
 Constructs a DataStorm node.
 Node (int &argc, const wchar_t *argv[], std::optional< std::string_view > configFile=std::nullopt, std::function< void(std::function< void()> call)> customExecutor=nullptr)
 Constructs a DataStorm node.
 Node (int &argc, wchar_t *argv[], std::optional< std::string_view > configFile=std::nullopt, std::function< void(std::function< void()> call)> customExecutor=nullptr)
 Constructs a DataStorm node.
 Node (Node &&node) noexcept
 Move constructor.
 Node (std::optional< std::string_view > configFile=std::nullopt, std::function< void(std::function< void()> call)> customExecutor=nullptr)
 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 26 of file Node.h.


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