OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ActionAndFunctionHandler Class Reference

#include "ActionAndFunctionHandler.h"

Inheritance diagram for ActionAndFunctionHandler:
FileHandler

Public Member Functions

 ActionAndFunctionHandler ()
 
virtual ~ActionAndFunctionHandler ()
 
void setDontDeleteHandler (bool _dontDelete=true)
 
void setNextHandler (ActionAndFunctionHandler *_nextHandler)
 
bool tryToHandleAction (const std::string &_action, ot::JsonDocument &_doc)
 

Protected Member Functions

virtual bool handleAction (const std::string &_action, ot::JsonDocument &_doc)
 

Constructor & Destructor Documentation

◆ ActionAndFunctionHandler()

ActionAndFunctionHandler::ActionAndFunctionHandler ( )

◆ ~ActionAndFunctionHandler()

ActionAndFunctionHandler::~ActionAndFunctionHandler ( )
virtual

Member Function Documentation

◆ handleAction()

virtual bool ActionAndFunctionHandler::handleAction ( const std::string & _action,
ot::JsonDocument & _doc )
inlineprotectedvirtual

Reimplemented in FileHandler.

◆ setDontDeleteHandler()

void ActionAndFunctionHandler::setDontDeleteHandler ( bool _dontDelete = true)
inline

◆ setNextHandler()

void ActionAndFunctionHandler::setNextHandler ( ActionAndFunctionHandler * _nextHandler)
inline

◆ tryToHandleAction()

bool ActionAndFunctionHandler::tryToHandleAction ( const std::string & _action,
ot::JsonDocument & _doc )

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