24 #include <interfaces/EclipseDebuggerInterface.h>
26 #include <core/exceptions/software.h>
44 EclipseDebuggerInterface::EclipseDebuggerInterface() : Interface()
46 data_size =
sizeof(EclipseDebuggerInterface_data_t);
48 data = (EclipseDebuggerInterface_data_t *)
data_ptr;
54 unsigned char tmp_hash[] = {0xc0, 0x8f, 0x5b, 0xb4, 0xcd, 0xf, 0xe0, 0x88, 0xfd, 0x5d, 0xe4, 0xfe, 0x1, 0xb, 0xa2, 0x83};
59 EclipseDebuggerInterface::~EclipseDebuggerInterface()
91 data->port = new_port;
122 strncpy(data->host, new_host,
sizeof(data->host)-1);
123 data->host[
sizeof(data->host)-1] = 0;
131 if ( strncmp(
"ConnectionMessage",
type, INTERFACE_MESSAGE_TYPE_SIZE_ - 1) == 0 ) {
132 return new ConnectionMessage();
135 "message type for this interface type.",
type);
146 const EclipseDebuggerInterface *oi = dynamic_cast<const EclipseDebuggerInterface *>(other);
149 type(), other->type());
151 memcpy(data, oi->data,
sizeof(EclipseDebuggerInterface_data_t));
157 throw UnknownTypeException(
"Unknown enum type %s", enumtype);
171 data_size =
sizeof(ConnectionMessage_data_t);
174 data = (ConnectionMessage_data_t *)
data_ptr;
192 data = (ConnectionMessage_data_t *)
data_ptr;
222 EXPORT_INTERFACE(EclipseDebuggerInterface)