2022-03-28 18:06:47 +02:00
|
|
|
/* Universal Data-exchange API request.
|
|
|
|
*
|
|
|
|
* Author: Steffen Vogel <post@steffenvogel.de>
|
|
|
|
* SPDX-FileCopyrightText: 2014-2023 Institute for Automation of Complex Power Systems, RWTH Aachen University
|
2022-07-04 18:20:03 +02:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2022-03-28 18:06:47 +02:00
|
|
|
*/
|
|
|
|
|
2022-12-14 17:39:50 +01:00
|
|
|
#pragma once
|
|
|
|
|
2022-03-28 18:06:47 +02:00
|
|
|
#include <villas/api/requests/node.hpp>
|
2023-09-07 11:46:39 +02:00
|
|
|
#include <villas/nodes/api.hpp>
|
2022-03-28 18:06:47 +02:00
|
|
|
|
|
|
|
namespace villas {
|
|
|
|
namespace node {
|
|
|
|
|
|
|
|
// Forward declarations
|
|
|
|
class Node;
|
|
|
|
|
|
|
|
namespace api {
|
|
|
|
|
|
|
|
class UniversalRequest : public NodeRequest {
|
|
|
|
|
|
|
|
protected:
|
2023-09-07 11:46:39 +02:00
|
|
|
APINode *api_node;
|
2022-03-28 18:06:47 +02:00
|
|
|
|
|
|
|
public:
|
2023-09-07 11:46:39 +02:00
|
|
|
using NodeRequest::NodeRequest;
|
2022-03-28 18:06:47 +02:00
|
|
|
|
2023-09-07 11:46:39 +02:00
|
|
|
virtual void prepare();
|
2022-03-28 18:06:47 +02:00
|
|
|
};
|
|
|
|
|
2023-08-28 09:34:02 +02:00
|
|
|
} // namespace api
|
|
|
|
} // namespace node
|
|
|
|
} // namespace villas
|