diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2006-03-06 01:10:36 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2006-03-06 01:10:36 +0000 |
commit | df72257e674fda4865a0a2d158d95971448250e6 (patch) | |
tree | 10bb4cdce3b05ea30be9fbc554556ecf5a889a57 /pd | |
parent | fa95cabd64b0c49a6c3c6ba1bfdae27ab28ca755 (diff) |
avoid memory allocation
look up virtual methods
svn path=/trunk/externals/clr/; revision=4649
Diffstat (limited to 'pd')
-rw-r--r-- | pd/PureData.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pd/PureData.cs b/pd/PureData.cs index 70f3d98..d6ad3d9 100644 --- a/pd/PureData.cs +++ b/pd/PureData.cs @@ -33,16 +33,16 @@ namespace PureData // PD object pointer private readonly void *ptr; - protected virtual void MethodBang() { Post("No bang handler"); } + protected virtual void MethodBang() { throw new System.NotImplementedException("Bang handler not defined"); } - protected virtual void MethodFloat(float f) { Post("No float handler"); } + protected virtual void MethodFloat(float f) { throw new System.NotImplementedException("Float handler not defined"); } - protected virtual void MethodSymbol(Symbol s) { Post("No symbol handler"); } + protected virtual void MethodSymbol(Symbol s) { throw new System.NotImplementedException("Symbol handler not defined"); } - protected virtual void MethodPointer(Pointer p) { Post("No pointer handler");} + protected virtual void MethodPointer(Pointer p) { throw new System.NotImplementedException("Pointer handler not defined"); } - protected virtual void MethodList(AtomList lst) { Post("No list handler"); } + protected virtual void MethodList(AtomList lst) { throw new System.NotImplementedException("List handler not defined"); } - protected virtual void MethodAnything(Symbol tag,AtomList lst) { Post("No anything handler"); } + protected virtual void MethodAnything(Symbol tag,AtomList lst) { throw new System.NotImplementedException("Anything handler not defined"); } } } |