IRSOL
C++ code implementing socket server for interacting with Baumer camera.
factory.hpp File Reference

Factory utilities for constructing handler instances. More...

Go to the source code of this file.

Namespaces

namespace  irsol
 
namespace  irsol::server
 Core server features. TOBE DEFINED FURTHER.
 
namespace  irsol::server::handlers
 Contains all logic for dispatching and implementing protocol message handlers.
 

Functions

template<typename HandlerT , typename... Args>
constexpr auto irsol::server::handlers::makeHandler (std::shared_ptr< Context > ctx, Args &&... args)
 Constructs a handler instance of the given type.
 
template<typename InMessageT , typename LambdaT >
constexpr auto irsol::server::handlers::makeLambdaHandler (std::shared_ptr< Context > ctx, LambdaT &&lambda)
 Constructs a lambda handler for the specified message type.
 

Detailed Description

Factory utilities for constructing handler instances.

Provides helper functions for creating handler and lambda handler instances.

Definition in file factory.hpp.