Files
scandocs/uni/masterarbeit/source/moversight/ct/CausalTransfer.cc
2014-06-30 13:58:10 +02:00

50 lines
1.0 KiB
C++

/*
* File: CausalTransfer.cc
* Author: jgaebler
*
* Created on July 26, 2012, 4:00 PM
*/
#include "CausalTransfer.h"
#include "Dispatcher.h"
#include "Moversight.h"
//#include "ct/msg/CausalMessage.h"
namespace ubeeme {
namespace moversight {
#undef DEBUG
#define DEBUG(msg) if (module.isPrintDebugCT()) MOV_DEBUG << "CT@" << getLocalID()<< " "<<msg<<endl;
/**
* @brief Constructor
* @param d A reference to the moversight dispatcher.
*/
CausalTransfer::CausalTransfer(Dispatcher & dis) : MoversightService(dis, "CausalTransfer") {
}
/**
* @brief Destructor
*/
CausalTransfer::~CausalTransfer() {
}
/**
* @brief Initialize service.
*/
void
CausalTransfer::initialise() {
}
/**
* @brief Finish the operation of the service.
*/
void
CausalTransfer::finalise() {
dispatcher.unsubscribeAll(this);
}
}
}