Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

RTServerWrapper.cc

Go to the documentation of this file.
00001 /*
00002  * RTServerWrapper.cc
00003  *
00004  * Copyright (c) 2003, 2004 The University of Utah and the Flux Group.
00005  * All rights reserved.
00006  *
00007  * This file is licensed under the terms of the GNU Public License.  
00008  * See the file "license.terms" for restrictions on redistribution 
00009  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
00010  */
00011 
00012 /**
00013  * @file RTServerWrapper.cc
00014  *
00015  * Implementation of the RTServerWrapper class.
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 }

Generated on Fri Oct 22 07:50:24 2004 for CPU Broker by  doxygen 1.3.9.1