27 #ifndef ORO_COMP_TCP_REPORTING_COMMAND_HPP 28 #define ORO_COMP_TCP_REPORTING_COMMAND_HPP 48 std::vector<Command*>
cmds;
50 unsigned int parseParameters( std::string& ipt, std::string& cmd, std::string** params );
99 virtual bool is(std::string& cmd)
const;
107 virtual RealCommand* getRealCommand(
const std::vector<Command*>&
cmds)
const = 0;
112 static Command* find(
const std::vector<Command*>&
cmds,
const std::string& cmp);
117 bool operator==(
const std::string& cmp)
const;
118 bool operator!=(
const std::string& cmp)
const;
124 const std::string& getName()
const;
138 virtual RealCommand* getRealCommand(
const std::vector<Command*>&
cmds)
const;
155 virtual void maincode(
int argc, std::string*
args ) = 0;
161 bool sendError102()
const;
173 void toupper( std::string*
args,
int index )
const;
180 void toupper( std::string*
args,
int start,
int stop )
const;
186 inline Socket& socket()
const;
196 virtual bool correctSyntax(
unsigned int argc, std::string*
args );
201 const char* getSyntax()
const;
206 virtual RealCommand* getRealCommand(
const std::vector<Command*>&
cmds)
const;
211 void execute(
int argc, std::string*
args );
Variable opBinary s not applicable to args
unsigned int parseParameters(std::string &ipt, std::string &cmd, std::string **params)
Datasender * getConnection() const
TcpReportingInterpreter(Datasender *parent)
std::vector< Command * > cmds
~TcpReportingInterpreter()
const std::vector< Command * > & giveCommands() const
bool operator==(const AType &a, const AType &b)
void addCommand(Command *command)
void removeCommand(const char *name)
bool operator!=(const local_allocator< T, A > &, const local_allocator< T, A2 > &)
TcpReportingInterpreter * _parent
RTT::os::MutexRecursive commands