update20140630

This commit is contained in:
stubbfel
2014-06-30 13:58:10 +02:00
parent 565970632e
commit 1e6cf42df3
877 changed files with 1146249 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
#include "MulticastMessage.h"
#include "Dispatcher.h"
namespace ubeeme {
namespace moversight {
/**
* @brief Constructor. Creates a multicast message of the given name and type.
* @param name The name of the message.
* @param aType The type of the message.
*/
MulticastMessage::MulticastMessage( const std::string& name, MoversightMessageType type)
: MoversightMessage( name, type) {
setViewID( UNDEFINED_VIEW_ID);
}
/**
* @brief Copy constructor.
* @param other The instance to copy.
*/
MulticastMessage::MulticastMessage( const MulticastMessage& other)
: MoversightMessage(other) {
operator=( other);
}
/**
* @brief Destructor.
*/
MulticastMessage::~MulticastMessage() {
}
/**
* @brief Assignment operator.
* @param other The instance to assign.
* @return A reference to the this instance.
*/
MulticastMessage&
MulticastMessage::operator=( const MulticastMessage& other) {
MoversightMessage::operator=( other);
return *this;
}
MulticastMessage*
MulticastMessage::dup() const {
return new MulticastMessage(*this);
}
/**
* @brief Archive method
* @param archive The archive to which the attributes are to add
*/
void
MulticastMessage::set(Archive &archive) {
MoversightMessage::set(archive);
}
}
}