mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
rename hook dft to pmu_dft (closes #310)
This commit is contained in:
parent
169e58422f
commit
1c32b60e0a
2 changed files with 4 additions and 4 deletions
|
@ -24,7 +24,6 @@ set(HOOK_SRC
|
|||
average.cpp
|
||||
cast.cpp
|
||||
decimate.cpp
|
||||
dft.cpp
|
||||
dp.cpp
|
||||
drop.cpp
|
||||
dump.cpp
|
||||
|
@ -35,6 +34,7 @@ set(HOOK_SRC
|
|||
limit_rate.cpp
|
||||
limit_value.cpp
|
||||
ma.cpp
|
||||
pmu_dft.cpp
|
||||
pps_ts.cpp
|
||||
print.cpp
|
||||
restart.cpp
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
namespace villas {
|
||||
namespace node {
|
||||
|
||||
class DftHook : public MultiSignalHook {
|
||||
class PmuDftHook : public MultiSignalHook {
|
||||
|
||||
protected:
|
||||
enum class PaddingType {
|
||||
|
@ -125,7 +125,7 @@ protected:
|
|||
double angleUnitFactor;
|
||||
|
||||
public:
|
||||
DftHook(struct vpath *p, struct vnode *n, int fl, int prio, bool en = true) :
|
||||
PmuDftHook(struct vpath *p, struct vnode *n, int fl, int prio, bool en = true) :
|
||||
MultiSignalHook(p, n, fl, prio, en),
|
||||
windowType(WindowType::NONE),
|
||||
paddingType(PaddingType::ZERO),
|
||||
|
@ -555,7 +555,7 @@ public:
|
|||
/* Register hook */
|
||||
static char n[] = "dft";
|
||||
static char d[] = "This hook calculates the dft on a window";
|
||||
static HookPlugin<DftHook, n, d, (int) Hook::Flags::NODE_READ | (int) Hook::Flags::NODE_WRITE | (int) Hook::Flags::PATH> p;
|
||||
static HookPlugin<PmuDftHook, n, d, (int) Hook::Flags::NODE_READ | (int) Hook::Flags::NODE_WRITE | (int) Hook::Flags::PATH> p;
|
||||
|
||||
} /* namespace node */
|
||||
} /* namespace villas */
|
Loading…
Add table
Reference in a new issue