00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
#ifndef DC_Event_INL
00011
#define DC_Event_INL
00012
00013
#include "../GeneralInclude/CompilerSwitches.h"
00014
#include "../GeneralInclude/DebugSupport.h"
00015
#include "DC_Event.h"
00016
00017 inline DC_Event::DC_Event() {
00018 }
00019
00020 inline TD_ObsTime DC_Event::getTimeStamp()
const {
00021 assert ( timeStamp >= 0 );
00022
return timeStamp;
00023 }
00024
00025 inline TD_EventType DC_Event::getEventType()
const {
00026 assert ( evtType > 0 );
00027
return evtType;
00028 }
00029
00030 inline void DC_Event::setTimeStamp(TD_ObsTime timeStamp) {
00031 assert ( timeStamp >= 0 );
00032 this->timeStamp = timeStamp;
00033 }
00034
00035 inline void DC_Event::setEventType(TD_EventType eventType) {
00036 assert ( eventType > 0 );
00037 evtType = eventType;
00038 }
00039
00040
#endif