reSIProcate
SIP stack, Dialog Usage Manager and related libraries
Loading...
Searching...
No Matches
DumFeatureChain.hxx
Go to the documentation of this file.
1
#ifndef RESIP_DumFeatureChain_HXX
2
#define RESIP_DumFeatureChain_HXX
3
4
#include <memory>
5
#include <vector>
6
7
namespace
resip
8
{
9
10
class
DumFeature;
11
12
class
DumFeatureChain
13
{
14
public
:
15
typedef
std::vector<std::shared_ptr<DumFeature>>
FeatureList
;
16
17
enum
ProcessingResultMask
18
{
19
EventTakenBit
= 1 << 0,
//don't pass on, don't delete event
20
ChainDoneBit
= 1 << 1
//if true chain can be deleted
21
};
22
23
//legal combinations
24
enum
ProcessingResult
25
{
26
EventTaken
=
EventTakenBit
,
//don't delete event
27
ChainDone
=
ChainDoneBit
,
//event not consumed by chain
28
ChainDoneAndEventTaken
=
ChainDoneBit
|
EventTakenBit
29
};
30
31
DumFeatureChain
(
DialogUsageManager
& dum,
FeatureList
features,
TargetCommand::Target
& target);
32
33
ProcessingResult
process
(
Message
* msg);
34
35
private
:
36
// std::bit_vector mActiveFeatures; //vector<bool> is the correct way on most platforms
37
std::vector<bool> mActiveFeatures;
38
FeatureList
mFeatures;
39
};
40
41
}
42
43
#endif
44
45
resip::DialogUsageManager
Definition
DialogUsageManager.hxx:79
resip::DumFeatureChain
Definition
DumFeatureChain.hxx:13
resip::DumFeatureChain::process
ProcessingResult process(Message *msg)
Definition
DumFeatureChain.cxx:37
resip::DumFeatureChain::ProcessingResult
ProcessingResult
Definition
DumFeatureChain.hxx:25
resip::DumFeatureChain::ChainDoneAndEventTaken
@ ChainDoneAndEventTaken
Definition
DumFeatureChain.hxx:28
resip::DumFeatureChain::EventTaken
@ EventTaken
Definition
DumFeatureChain.hxx:26
resip::DumFeatureChain::ChainDone
@ ChainDone
Definition
DumFeatureChain.hxx:27
resip::DumFeatureChain::FeatureList
std::vector< std::shared_ptr< DumFeature > > FeatureList
Definition
DumFeatureChain.hxx:15
resip::DumFeatureChain::ProcessingResultMask
ProcessingResultMask
Definition
DumFeatureChain.hxx:18
resip::DumFeatureChain::ChainDoneBit
@ ChainDoneBit
Definition
DumFeatureChain.hxx:20
resip::DumFeatureChain::EventTakenBit
@ EventTakenBit
Definition
DumFeatureChain.hxx:19
resip::Message
The base-class used for message-passing.
Definition
Message.hxx:21
resip::TargetCommand::Target
Definition
TargetCommand.hxx:16
resip
dcm! – add UnusedChecking(_enum) below;
Definition
AbstractFifo.hxx:16
resip
dum
DumFeatureChain.hxx
Generated by
1.9.8