1 #ifndef __CADYNAMICCASCADECONFIGURATOR__ 
    2 #define __CADYNAMICCASCADECONFIGURATOR__ 
   14   struct _proposer_t* next;
 
   17 typedef struct _proposer_t PROPOSERENTRY;
 
   18 typedef struct _proposer_t PROPOSERLIST;
 
   22   struct _proposal_t* next;
 
   23   PROPOSERLIST* proposers;
 
   28 typedef struct _proposal_t PROPOSALENTRY;
 
   29 typedef struct _proposal_t PROPOSALLIST;
 
   32 #define MIN_MAJORITY_QUOTE(x) (UINT32)((2*x)/3)+1 
   33 #define MAX_CONTENT_LENGTH 0x00FFFF 
   35 class CADynamicCascadeConfigurator : CAInfoServiceAware
 
   41   ~CADynamicCascadeConfigurator();
 
   46   PROPOSALLIST* m_proposals;
 
   47   SINT32 getMajorityVote(
UINT32 a_nrInfoServices, DOM_Node *&r_majorityElem, 
UINT8* r_strProposal);
 
   48   SINT32 addProposal(DOM_Element a_elem);
 
   49   PROPOSALENTRY *createProposal(
UINT8* a_strProposal, 
UINT32 a_lenProposal, 
UINT8 *a_strProposer, 
UINT32 a_lenProposer, DOM_Element *a_elem);
 
   50   SINT32 reconfigureMix(DOM_Node a_elemNewCascade, 
UINT8* a_strProposal);