C++ TargetRTS
Loading...
Searching...
No Matches
RTSoleController.h
1/*
2 * Licensed Materials - Property of HCL and/or IBM
3 * Copyright HCL Technologies Ltd. 2016, 2021. All Rights Reserved.
4 * Copyright IBM Corporation 1999, 2016. All Rights Reserved.
5 *
6 * U.S. Government Users Restricted Rights - Use, duplication or
7 * disclosure restricted by GSA ADP Schedule.
8 */
9
10#ifndef __RTSoleController_h__
11#define __RTSoleController_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTController_h__
18#include <RTController.h>
19#endif
20
25{
26public:
27 RTSoleController( RTDebugger *, const char * name );
28 virtual ~RTSoleController( void );
29
30 virtual void mainLoop( void ) override;
31
32 void timer_interrupt( void );
33
34 virtual void printStats( void ) const override;
35
36protected:
37 virtual void waitForEvents( void ) override;
38
39private:
40 int timer_interrupts;
41
42 // unavailable methods
44 RTSoleController & operator=( const RTSoleController & );
45}; //lint !e1712
46
47#endif // __RTSoleController_h__
A controller manages a group of capsule instances that all run in the same physical thread (i....
Definition: RTController.h:54
virtual const char * name(void) const override
Get the name of the controller, which is the name of its physical thread (as defined in the transform...
Definition: RTDebugger.h:58
A controller that acts as an interface to a physical thread which runs a group of capsule instances i...
Definition: RTSoleController.h:25
virtual void printStats(void) const override
Print various statistics to stdout about what has happened in the RT application (e....