00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00048 #ifndef OSC_CALLABLE_H
00049 #define OSC_CALLABLE_H
00050
00051 #include <iostream>
00052 #include <string>
00053 #include "Transmit.h"
00054
00055 class OSCCallable
00056 {
00057 protected:
00058 std::string myDocumentation;
00059 std::string myTypeSignature;
00060
00061 public:
00062 virtual ~OSCCallable();
00063
00065 virtual void call(const std::string& data, Transmit *const reply) = 0;
00066
00067
00068
00069
00070 virtual std::string getDocumentation()
00071 {
00072 return this->myDocumentation;
00073 }
00074
00075 virtual void setDocumentation(std::string documentation)
00076 {
00077 this->myDocumentation = documentation;
00078 }
00079
00080 virtual std::string getTypeSignature()
00081 {
00082 return this->myTypeSignature;
00083 }
00084
00085 virtual void setTypeSignature(std::string typeSignature)
00086 {
00087 this->myTypeSignature = typeSignature;
00088 }
00089
00093 virtual std::string getName ();
00094
00095 };
00096
00098 std::ostream &operator<<(std::ostream &, OSCCallable &);
00099
00100 #endif