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
7namespace resip
8{
9
10class DumFeature;
11
13{
14 public:
15 typedef std::vector<std::shared_ptr<DumFeature>> FeatureList;
16
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
25 {
26 EventTaken = EventTakenBit, //don't delete event
27 ChainDone = ChainDoneBit, //event not consumed by chain
29 };
30
32
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
ProcessingResult process(Message *msg)
std::vector< std::shared_ptr< DumFeature > > FeatureList
The base-class used for message-passing.
Definition Message.hxx:21
dcm! – add UnusedChecking(_enum) below;