File: protocoltimer.cc

package info (click to toggle)
sinfo 0.0.48-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 3,332 kB
  • sloc: sh: 11,213; cpp: 6,722; makefile: 271; xml: 151; perl: 149
file content (25 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#include "protocoltimer.h"
#include "protocolio.h"
#include "thetimerobjectbase.h"


ProtocolTimer::ProtocolTimer(ProtocolIO & protocolIO) : theTimerObjectBase(protocolIO.getTimer())
{
  myHandlerBase=0;
}


ProtocolTimer::~ProtocolTimer()
{
  delete myHandlerBase;
  myHandlerBase=0;
  delete theTimerObjectBase;
}


void ProtocolTimer::stop()
{
  theTimerObjectBase->stop();
  delete myHandlerBase;
  myHandlerBase=0;
}