00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
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
00030 }
00031
00032 OObject::~OObject()
00033 {
00034
00035 }
00036
00037 void OObject::Init(const OSystemEvent& event)
00038 {
00039
00040 }
00041
00042 void OObject::Start(const OSystemEvent& event)
00043 {
00044
00045 }
00046
00047 void OObject::Stop(const OSystemEvent& event)
00048 {
00049
00050 }
00051
00052 void OObject::Destroy(const OSystemEvent& event)
00053 {
00054
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 }