Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
tcTempMonitorJob Class Reference

#include <TempMonitorJob.h>

Inheritance diagram for tcTempMonitorJob:
Collaboration diagram for tcTempMonitorJob:

Public Member Functions

 tcTempMonitorJob ()
 
int execute ()
 run the job More...
 
- Public Member Functions inherited from tcJob
 tcJob (const char *apName)
 
virtual ~tcJob ()
 
const char * getName () const
 get the name of the job More...
 
void attachThread (tcPeriodicJobThread *apThread)
 attach this job to a thread More...
 
void detachThread ()
 remove this job from its thread (if attached) More...
 
virtual int getPeriodMs () const
 Get the period of this job (called by thread!) More...
 
virtual uint64 getNextRunTimeMs () const
 
int doExecute ()
 run the job More...
 
virtual teStatus status () const
 get the job status More...
 

Additional Inherited Members

- Public Types inherited from tcJob
enum  teStatus { eeStopped, eeScheduled, eeRunning, eeFailed }
 
- Protected Member Functions inherited from tcJob
uint64 timespecToMs (const struct timespec arT) const
 
void enterExecute ()
 convenience function for stats More...
 
void exitExecute ()
 tcJob::exitExecute - called at the end of execute to update stats More...
 
- Protected Attributes inherited from tcJob
tcPeriodicJobThreadmpThread
 thread job will run in More...
 
int mnPeriodMs
 task period (ms) More...
 
uint64 mnLastRunMs
 last run time More...
 
tcStats mcStats
 job status More...
 

Constructor & Destructor Documentation

◆ tcTempMonitorJob()

tcTempMonitorJob::tcTempMonitorJob ( )

Member Function Documentation

◆ execute()

int tcTempMonitorJob::execute ( )
virtual

run the job

Implements tcJob.


The documentation for this class was generated from the following files: