aboutsummaryrefslogtreecommitdiff
path: root/external/Counter.cs
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2006-03-06 00:35:40 +0000
committerThomas Grill <xovo@users.sourceforge.net>2006-03-06 00:35:40 +0000
commitfa95cabd64b0c49a6c3c6ba1bfdae27ab28ca755 (patch)
treef42248bb71bd4bd89e680d694d262e72be7157b9 /external/Counter.cs
parent2147d5f788d36ebccb7981c427b7e430b1e4e8cd (diff)
many improvements:
- efficient symbol and atom list handling - better control over function arguments svn path=/trunk/externals/clr/; revision=4648
Diffstat (limited to 'external/Counter.cs')
-rwxr-xr-xexternal/Counter.cs16
1 files changed, 7 insertions, 9 deletions
diff --git a/external/Counter.cs b/external/Counter.cs
index 9ec6ddc..c634f83 100755
--- a/external/Counter.cs
+++ b/external/Counter.cs
@@ -6,16 +6,9 @@ using System;
public class Counter:
PureData.External
{
- public Counter()
+ public Counter(PureData.AtomList args)
{
- Post("Count");
-
-// EventFloat += new MethodFloat(MyFloat);
- }
-
- public Counter(PureData.Atom[] args)
- {
- Post("Count with args");
+ Post("Count.ctor");
// pd.AddInlet(x, "init", ParametersType.Float);
// pd.AddOutlet(x, ParametersType.Float);
@@ -53,6 +46,11 @@ public class Counter:
Post("Count-SYMBOL "+s.ToString());
}
+ protected override void MethodList(PureData.AtomList l)
+ {
+ Post("Count-LIST "+l.ToString());
+ }
+
/*
public void Init(float f)
{