OObject.cc

Go to the documentation of this file.
00001 /*
00002  * This file is part of openSDK.
00003  *
00004  * Copyright (C) 2006-2007 openSDK team
00005  *
00006  * openSDK is free software; you can redistribute it and/or modify
00007  * it under the terms of the GNU General Public License as published by
00008  * the Free Software Foundation; version 2.
00009  *
00010  * openSDK is distributed in the hope that it will be useful,
00011  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00012  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00013  * GNU General Public License for more details.
00014  *
00015  * You should have received a copy of the GNU General Public License
00016  * along with openSDK; if not, write to the Free Software
00017  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00018  *
00019  *     $Id: OObject.cc,v 1.11 2007/03/01 22:07:55 nuno-lopes Exp $
00020  */
00021 
00022 #include <OPENR/OObject.h>
00023 #include <ModuleData.h>
00024 #include <opensdkAPI.h>
00025 
00026 
00027 OObject::OObject() : myOID_((void*)MOD_DATA(OID))
00028 {
00029         // do nothing
00030 }
00031 
00032 OObject::~OObject()
00033 {
00034         // do nothing
00035 }
00036 
00037 void OObject::Init(const OSystemEvent& event)
00038 {
00039         // do nothing
00040 }
00041 
00042 void OObject::Start(const OSystemEvent& event)
00043 {
00044         // do nothing
00045 }
00046 
00047 void OObject::Stop(const OSystemEvent& event)
00048 {
00049         // do nothing
00050 }
00051 
00052 void OObject::Destroy(const OSystemEvent& event)
00053 {
00054         // do nothing
00055 }
00056 
00057 OStatus OObject::DoInit(const OSystemEvent& event)
00058 {
00059         return oSUCCESS;
00060 }
00061 
00062 OStatus OObject::DoStart(const OSystemEvent& event)
00063 {
00064         return oSUCCESS;
00065 }
00066 
00067 OStatus OObject::DoStop(const OSystemEvent& event)
00068 {
00069         return oSUCCESS;
00070 }
00071 
00072 OStatus OObject::DoDestroy(const OSystemEvent& event)
00073 {
00074         return oSUCCESS;
00075 }
00076 
00077 OStatus OObject::RegisterServiceEntry(const OServiceEntry& entry, const char* name)
00078 {
00079         return ::RegisterServiceEntry(entry, name);
00080 }

Generated on Sun Dec 2 23:04:30 2007 for openSDK by  doxygen 1.3.9.1