2023-08-31 11:25:01 +02:00
|
|
|
/* API Request for nodes.
|
2020-08-25 20:22:19 +02:00
|
|
|
*
|
2023-08-31 11:25:01 +02:00
|
|
|
* Author: Steffen Vogel <post@steffenvogel.de>
|
|
|
|
* SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
2020-08-25 20:22:19 +02:00
|
|
|
|
2022-12-14 17:39:50 +01:00
|
|
|
#pragma once
|
|
|
|
|
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
|
|
|
|
2023-08-31 11:25:01 +02:00
|
|
|
// Forward declarations
|
2021-08-10 10:12:48 -04:00
|
|
|
class Node;
|
|
|
|
|
2020-08-25 20:27:26 +02:00
|
|
|
namespace api {
|
|
|
|
|
2020-08-25 20:22:19 +02:00
|
|
|
class NodeRequest : public Request {
|
|
|
|
|
2022-03-28 10:41:46 +02:00
|
|
|
protected:
|
|
|
|
Node *node;
|
|
|
|
|
2020-08-25 20:22:19 +02:00
|
|
|
public:
|
2020-08-25 20:27:26 +02:00
|
|
|
using Request::Request;
|
|
|
|
|
2023-08-31 11:25:01 +02:00
|
|
|
virtual
|
|
|
|
void prepare();
|
2020-08-25 20:22:19 +02:00
|
|
|
};
|
2020-08-25 20:27:26 +02:00
|
|
|
|
2023-08-28 09:34:02 +02:00
|
|
|
} // namespace api
|
|
|
|
} // namespace node
|
|
|
|
} // namespace villas
|