<reponame>OrangeSodahub/RMMDet<filename>src/roslibjs/src/core/Message.js<gh_stars>0/**
 * @fileoverview
 * @author Brandon Alexander - dycjh@example.com
 */

var assign = require('object-assign');

/**
 * Message objects are used for publishing and subscribing to and from topics.
 *
 * @constructor
 * @param values - object matching the fields defined in the .msg definition file
 */
function Message(values) {
  assign(this, values);
}

module.exports = Message;