/* $Id$
This file is part of the MSP Märklin suite
-Copyright © 2006-2008 Mikkosoft Productions, Mikko Rasa
+Copyright © 2007-2008 Mikkosoft Productions, Mikko Rasa
Distributed under the GPL
*/
class Command
{
+public:
+ sigc::signal<void, const Reply &> signal_done;
+
private:
Cmd cmd;
unsigned char data[128];
bool sent;
public:
- sigc::signal<void, const Reply &> signal_done;
-
Command(Cmd, const unsigned char *, unsigned);
void send(int);
- bool get_sent() const { return sent; }
+ bool is_sent() const { return sent; }
Cmd get_command() const { return cmd; }
friend std::ostream &operator<<(std::ostream &, const Command &);