C++ TargetRTS
Loading...
Searching...
No Matches
extension
rsa_rt
C++
TargetRTS
include
RTResourceMgr.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 __RTResourceMgr_h__
11
#define __RTResourceMgr_h__ included
12
13
#ifdef PRAGMA
14
#pragma interface
15
#endif
16
17
#ifndef __RTConfig_h__
18
#include <RTConfig.h>
19
#endif
20
21
class
RTMessage
;
22
struct
RTMessageBlock
;
23
#if USE_THREADS
24
class
RTMutex;
25
#endif
26
27
class
RTResourceMgr
28
{
29
protected
:
30
RTMessage
* messages;
31
RTMessageBlock
* blocks;
32
#if USE_THREADS
33
RTMutex * access;
34
#endif
35
36
public
:
37
RTResourceMgr
(
void
);
38
~RTResourceMgr
(
void
);
39
40
unsigned
msgAlloc(
RTMessage
* &,
unsigned
howMany = 50U );
41
void
msgFree (
RTMessage
* &,
unsigned
howMany = 0U );
42
43
private
:
44
// unavailable methods
45
RTResourceMgr
(
const
RTResourceMgr
& );
46
RTResourceMgr
& operator=(
const
RTResourceMgr
& );
47
};
48
49
#endif
// __RTResourceMgr_h__
RTMessage
Represents a message used for communication between capsule instances.
Definition:
RTMessage.h:33
RTResourceMgr
Definition:
RTResourceMgr.h:28
RTMessageBlock
Definition:
RTMessageBlock.h:22
Generated by
1.9.6