2020-08-25 20:27:26 +02:00
|
|
|
/** API Request for nodes.
|
2020-08-25 20:22:19 +02:00
|
|
|
*
|
|
|
|
* @file
|
|
|
|
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
|
2021-08-10 10:12:48 -04:00
|
|
|
* @copyright 2014-2021, Institute for Automation of Complex Power Systems, EONERC
|
2020-08-25 20:22:19 +02:00
|
|
|
* @license GNU General Public License (version 3)
|
|
|
|
*
|
|
|
|
* VILLASnode
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*********************************************************************************/
|
|
|
|
|
2020-08-25 20:27:26 +02:00
|
|
|
#include <uuid/uuid.h>
|
2020-08-25 20:22:19 +02:00
|
|
|
|
|
|
|
#include <villas/api/request.hpp>
|
|
|
|
|
2020-08-25 20:27:26 +02:00
|
|
|
namespace villas {
|
|
|
|
namespace node {
|
2021-08-10 10:12:48 -04:00
|
|
|
|
|
|
|
/* Forward declarations */
|
|
|
|
class Node;
|
|
|
|
|
2020-08-25 20:27:26 +02:00
|
|
|
namespace api {
|
|
|
|
|
2020-08-25 20:22:19 +02:00
|
|
|
class NodeRequest : public Request {
|
|
|
|
|
|
|
|
public:
|
2020-08-25 20:27:26 +02:00
|
|
|
using Request::Request;
|
|
|
|
|
2021-08-10 10:12:48 -04:00
|
|
|
Node *node;
|
2020-08-25 20:22:19 +02:00
|
|
|
|
2020-08-25 20:27:26 +02:00
|
|
|
virtual void
|
2021-02-25 17:17:11 -05:00
|
|
|
prepare();
|
2020-08-25 20:22:19 +02:00
|
|
|
};
|
2020-08-25 20:27:26 +02:00
|
|
|
|
|
|
|
} /* namespace api */
|
|
|
|
} /* namespace node */
|
2020-09-30 16:11:13 +02:00
|
|
|
} /* namespace villas */
|