1 //=============================================================================
3 * @file Policy_Verifier.h
5 * This class verifies that the policy are correctly embedded
8 * @author Angelo Corsaro <corsaro@cs.wustl.edu>
10 //=============================================================================
13 #ifndef POLICY_VERIFIER_H_
14 #define POLICY_VERIFIER_H_
16 // -- App. Specific Include --
18 #include "RT_Properties.h"
21 #include "ace/Arg_Shifter.h"
22 #include "ace/Log_Msg.h"
25 #include "tao/Basic_Types.h"
26 #include "tao/ORB_Constants.h"
35 bool init (int argc
, ACE_TCHAR
*argv
[]);
40 // -- Helper methods --
41 void verify_reference (Counter_ptr counter
,
42 RT_Properties
*rt_properties
);
44 CORBA::Boolean
check_reference (CORBA::Object_ptr object
,
50 RT_Properties
*rt_object_properties_
;
51 RT_Properties
*rt_poa_properties_
;
52 unsigned int priority_bands_
;
53 Counter_var base_object_
;
54 Counter_var overridden_object_
;
56 ACE_TCHAR base_object_ref_
[256];
57 ACE_TCHAR overridden_object_ref_
[256];
60 #endif /* POLICY_VERIFIER_H_ */