Toughen FluidManipulation SC classes where strings are expected

nix
Owen Green 6 years ago
parent 717457d8bb
commit 2ad8b508bd

@ -22,19 +22,19 @@ FluidDataSet : FluidManipulationClient {
}
addPoint{|label, buffer, action|
this.pr_sendMsg(\addPoint,[label,buffer.asUGenInput],action);
this.pr_sendMsg(\addPoint,[label.asString,buffer.asUGenInput],action);
}
getPoint{|label, buffer, action|
this.pr_sendMsg(\getPoint,[label,buffer.asUGenInput],action);
this.pr_sendMsg(\getPoint,[label.asString,buffer.asUGenInput],action);
}
updatePoint{|label, buffer, action|
this.pr_sendMsg(\updatePoint,[label,buffer.asUGenInput],action);
this.pr_sendMsg(\updatePoint,[label.asString,buffer.asUGenInput],action);
}
deletePoint{|label, action|
this.pr_sendMsg(\deletePoint,[label],action);
this.pr_sendMsg(\deletePoint,[label.asString],action);
}
cols {|action|
@ -42,11 +42,11 @@ FluidDataSet : FluidManipulationClient {
}
read{|filename,action|
this.pr_sendMsg(\read,[filename],action);
this.pr_sendMsg(\read,[filename.asString],action);
}
write{|filename,action|
this.pr_sendMsg(\write,[filename],action);
this.pr_sendMsg(\write,[filename.asString],action);
}
size { |action|

@ -17,11 +17,11 @@ FluidKDTree : FluidManipulationClient {
}
read{ |filename,action|
this.pr_sendMsg(\read,[filename],action);
this.pr_sendMsg(\read,[filename.asString],action);
}
write{ |filename,action|
this.pr_sendMsg(\write,[filename],action);
this.pr_sendMsg(\write,[filename.asString],action);
}
}

@ -25,10 +25,10 @@ FluidKMeans : FluidManipulationClient {
}
read{ |filename,action|
this.pr_sendMsg(\read,[filename],action);
this.pr_sendMsg(\read,[filename.asString],action);
}
write{ |filename,action|
this.pr_sendMsg(\write,[filename],action);
this.pr_sendMsg(\write,[filename.asString],action);
}
}

@ -22,15 +22,15 @@ FluidLabelSet : FluidManipulationClient {
}
addLabel{|id, label, action|
this.pr_sendMsg(\addLabel,[id, label],action);
this.pr_sendMsg(\addLabel,[id.asString, label.asString],action);
}
getLabel{|id, action|
this.pr_sendMsg(\getLabel,[id],action,[string(FluidMessageResponse,_,_)]);
this.pr_sendMsg(\getLabel,[id.asString],action,[string(FluidMessageResponse,_,_)]);
}
deleteLabel{|id, action|
this.pr_sendMsg(\deleteLabel,[id],action);
this.pr_sendMsg(\deleteLabel,[id.asString],action);
}
cols {|action|
@ -38,11 +38,11 @@ FluidLabelSet : FluidManipulationClient {
}
read{|filename,action|
this.pr_sendMsg(\read,[filename],action);
this.pr_sendMsg(\read,[filename.asString],action);
}
write{|filename,action|
this.pr_sendMsg(\write,[filename],action);
this.pr_sendMsg(\write,[filename.asString],action);
}
size { |action|

@ -25,11 +25,11 @@ FluidNormalize : FluidManipulationClient {
}
read{|filename,action|
this.pr_sendMsg(\read,[filename],action);
this.pr_sendMsg(\read,[filename.asString],action);
}
write{|filename,action|
this.pr_sendMsg(\write,[filename],action);
this.pr_sendMsg(\write,[filename.asString],action);
}
}

@ -17,11 +17,11 @@ FluidStandardize : FluidManipulationClient {
}
read{|filename,action|
this.pr_sendMsg(\read,[filename],action);
this.pr_sendMsg(\read,[filename.asString],action);
}
write{|filename,action|
this.pr_sendMsg(\write,[filename],action);
this.pr_sendMsg(\write,[filename.asString],action);
}
}
Loading…
Cancel
Save