Cern
LibTmsApi 2.3.0

Threaded real time clock. More...

#include <BRtc.h>

Inheritance diagram for BRtcThreaded:
BThread

Public Member Functions

 BRtcThreaded ()
 
 ~BRtcThreaded ()
 
BError init (int rate)
 Setup interrupt rate.
 
void wait (int delayUs)
 Wait specified uS.
 

Private Member Functions

void * function ()
 
- Private Member Functions inherited from BThread
 BThread ()
 
virtual ~BThread ()
 
int setInitPriority (int policy, int priority)
 
int setInitStackSize (size_t stackSize)
 
int start ()
 
void * result ()
 
int running ()
 
int setPriority (int policy, int priority)
 
int cancel ()
 
void * waitForCompletion ()
 
pthread_t getThread ()
 
virtual void * function ()
 

Private Attributes

BRtc ortc
 
int orate
 
BCond ocond
 

Detailed Description

Threaded real time clock.

Constructor & Destructor Documentation

◆ BRtcThreaded()

BRtcThreaded::BRtcThreaded ( )

◆ ~BRtcThreaded()

BRtcThreaded::~BRtcThreaded ( )

Member Function Documentation

◆ function()

void * BRtcThreaded::function ( )
privatevirtual

Reimplemented from BThread.

◆ init()

BError BRtcThreaded::init ( int  rate)

Setup interrupt rate.

◆ wait()

void BRtcThreaded::wait ( int  delayUs)

Wait specified uS.

Member Data Documentation

◆ ocond

BCond BRtcThreaded::ocond
private

◆ orate

int BRtcThreaded::orate
private

◆ ortc

BRtc BRtcThreaded::ortc
private

The documentation for this class was generated from the following files:
  • /src/cern/tms/tms/beam/libBeam/BRtc.h
  • /src/cern/tms/tms/beam/libBeam/BRtc.cpp