KAME: C++ program for laboratory measurement
Main Page
Related Pages
Classes
Files
File List
modules
funcsynth
userfuncsynth.h
1
/***************************************************************************
2
Copyright (C) 2002-2015 Kentaro Kitagawa
3
kitagawa@phys.s.u-tokyo.ac.jp
4
5
This program is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Library General Public
7
License as published by the Free Software Foundation; either
8
version 2 of the License, or (at your option) any later version.
9
10
You should have received a copy of the GNU Library General
11
Public License and a list of authors along with this program;
12
see the files COPYING and AUTHORS.
13
***************************************************************************/
14
#include "funcsynth.h"
15
#include "chardevicedriver.h"
16
17
class
XWAVEFACTORY
:
public
XCharDeviceDriver
<XFuncSynth> {
18
public
:
19
XWAVEFACTORY
(
const
char
*name,
bool
runtime,
20
Transaction
&tr_meas,
const
shared_ptr<XMeasure> &meas);
21
protected
:
22
virtual
void
onOutputChanged(
const
Snapshot
&shot,
XValueNodeBase
*);
23
virtual
void
onTrigTouched(
const
Snapshot
&shot,
XTouchableNode
*);
24
virtual
void
onModeChanged(
const
Snapshot
&shot,
XValueNodeBase
*);
25
virtual
void
onFunctionChanged(
const
Snapshot
&shot,
XValueNodeBase
*);
26
virtual
void
onFreqChanged(
const
Snapshot
&shot,
XValueNodeBase
*);
27
virtual
void
onAmpChanged(
const
Snapshot
&shot,
XValueNodeBase
*);
28
virtual
void
onPhaseChanged(
const
Snapshot
&shot,
XValueNodeBase
*);
29
virtual
void
onOffsetChanged(
const
Snapshot
&shot,
XValueNodeBase
*);
30
};
Generated for
KAME4
by
1.8.3