C++ TargetRTS
Loading...
Searching...
No Matches
RTPurgeFilter.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 __RTPurgeFilter_h__
11#define __RTPurgeFilter_h__ included
12
13#ifdef PRAGMA
14#pragma interface
15#endif
16
17#ifndef __RTQFilter_h__
18#include <RTQFilter.h>
19#endif
20
21class RTController;
22class RTMessage;
23class RTProtocol;
24
26{
27public:
28 enum Options
29 {
30 All, Index, Signal, SignalIndex
31 };
32
34 RTProtocol *,
35 Options options,
36 int signal = 0,
37 int index = 0 );
38
39 virtual ~RTPurgeFilter( void );
40
41 virtual int select( RTMessage & ) override;
42 virtual void accept( RTMessage & ) override;
43
44private:
45
46 RTController * context;
47 RTProtocol * port;
48 int options;
49 int signal;
50 int index;
51
52 // unavailable methods
53 RTPurgeFilter & operator=( const RTPurgeFilter & );
55}; //lint !e1712
56
57#endif // __RTPurgeFilter_h__
A controller manages a group of capsule instances that all run in the same physical thread (i....
Definition: RTController.h:54
Represents a message used for communication between capsule instances.
Definition: RTMessage.h:33
Represents a general capsule port typed by a protocol which determines the set of events that can be ...
Definition: RTProtocol.h:50
Definition: RTPurgeFilter.h:26
Definition: RTQFilter.h:24