00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #include "config.h"
00019
00020 #include <iostream>
00021
00022 #include <BasicTaskQosketImpl.hh>
00023
00024 using namespace std;
00025
00026 #include "RTServerWrapper.hh"
00027
00028 RTServerWrapper::RTServerWrapper(Broker::RealTimeTask_ptr rtt,
00029 CORBA::ULong period,
00030 CORBA::ULong deadline)
00031 {
00032 this->rta_Advocate = rtt;
00033 this->rta_KeyedReportParameters = new Broker::KeyedReportParameters();
00034 this->rta_Period = period;
00035 this->rta_Deadline = deadline;
00036 this->rta_Qosket = this;
00037 this->rta_UsageStart_Sec = 0;
00038 this->rta_UsageStart_uSec = 0;
00039 }
00040
00041 RTServerWrapper::~RTServerWrapper()
00042 {
00043 delete this->rta_KeyedReportParameters;
00044 }
00045
00046 RTServer_ptr RTServerWrapper::getRemoteObject()
00047 {
00048 return this->quo_remoteObj;
00049 }