nixd
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
nixd::Controller Class Reference

#include <Controller.h>

Inheritance diagram for nixd::Controller:
[legend]
Collaboration diagram for nixd::Controller:
[legend]

Public Types

using OptionMapTy = std::map<std::string, std::unique_ptr<AttrSetClientProc>>
 

Public Member Functions

 Controller (std::unique_ptr< lspserver::InboundPort > In, std::unique_ptr< lspserver::OutboundPort > Out)
 
 ~Controller () override
 
bool isReadyToEval ()
 
- Public Member Functions inherited from lspserver::LSPServer
 LSPServer (std::unique_ptr< InboundPort > In, std::unique_ptr< OutboundPort > Out)
 
void closeInbound ()
 Close the inbound port.
 
void run ()
 
void switchStreamStyle (JSONStreamStyle Style)
 
- Public Member Functions inherited from lspserver::MessageHandler
virtual ~MessageHandler ()=default
 

Additional Inherited Members

- Protected Attributes inherited from lspserver::LSPServer
HandlerRegistry Registry
 
template<class T >
llvm::unique_function< void(const T &) mkOutNotifiction )(llvm::StringRef Method, OutboundPort *O=nullptr)
 
template<class ParamTy , class ResponseTy >
llvm::unique_function< void(const ParamTy &, Callback< ResponseTy >) mkOutMethod )(llvm::StringRef Method, OutboundPort *O=nullptr)
 

Detailed Description

Definition at line 19 of file Controller.h.

Member Typedef Documentation

◆ OptionMapTy

using nixd::Controller::OptionMapTy = std::map<std::string, std::unique_ptr<AttrSetClientProc>>

Definition at line 21 of file Controller.h.

Constructor & Destructor Documentation

◆ Controller()

Controller::Controller ( std::unique_ptr< lspserver::InboundPort > In,
std::unique_ptr< lspserver::OutboundPort > Out )

◆ ~Controller()

nixd::Controller::~Controller ( )
inlineoverride

Definition at line 236 of file Controller.h.

Member Function Documentation

◆ isReadyToEval()

bool nixd::Controller::isReadyToEval ( )
inline

Definition at line 238 of file Controller.h.


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