ImFusion C++ SDK 4.4.0
ImFusion::Network::ConnectionBlueprint< Payload > Struct Template Reference

#include <ImFusion/Stream/Network/ConnectionFactory.h>

Defines the necessary information for registering a new connection type. More...

Detailed Description

template<typename Payload>
struct ImFusion::Network::ConnectionBlueprint< Payload >

Defines the necessary information for registering a new connection type.

Each ConnectionBlueprint must specify a function returning the connection default configuration and a function to create a new connection based on the given properties.

Public Attributes

ConnectionProtocol connectionProtocol
 Protocol specifying the underlying method of communication, c.f. ConnectionProtocol.
std::function< Properties()> connectionProperties
 Function that returns the properties required to establish a connection with their default values.
std::function< std::unique_ptr< Network::TypedConnectionBase< Payload > >(const Properties &properties)> createConnection
 Function that creates a connection using the specified properties.

The documentation for this struct was generated from the following file:
  • ImFusion/Stream/Network/ConnectionFactory.h
Search Tab / S to search, Esc to close