Changeset 518 for vtcross/trunk/src/include/vtcross/policy_engine.h
- Timestamp:
- 11/13/09 15:37:02 (14 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
vtcross/trunk/src/include/vtcross/policy_engine.h
r465 r518 15 15 */ 16 16 17 /* This header exports the declaration for the Policy Engine component type.17 /*! This header exports the declaration for the Policy Engine component type. 18 18 */ 19 19 … … 25 25 26 26 27 /* Policy Engine class declaration. All public functions are inherited from 28 * parent classes. 27 /*! \brief Policy Engine class declaration. 28 * 29 * All public functions are inherited from parent classes Engine and Component. 30 * Please see those class documentation files for further information regarding 31 * public functions. 29 32 */ 30 33 class PolicyEngine : public Engine 31 34 { 32 35 public: 36 /*! \brief Default Policy Engine Constructor */ 33 37 PolicyEngine(); 38 39 /*! \brief Default Policy Engine Destructor */ 34 40 ~PolicyEngine(); 35 41 36 /* Overloaded constructor that creates a policy engine object and 42 /*! \brief Preferred Policy Engine Constructor. 43 * 44 * Overloaded constructor that creates a policy engine object and 37 45 * connects it to either the shell or an SML, depening on the SML bool. 38 46 */ … … 53 61 54 62 private: 55 /* Parse and load/reload policies into the policy engine. 56 */ 63 /*! \brief Parse and load/reload policies into the policy engine. */ 57 64 void LoadPolicies(); 58 65 void ReloadPolicies(); 59 66 60 /* Return a decision made by the policy engine regarding a certain set 67 /*! \brief Return a validation decision. 68 * 69 * Return a decision made by the policy engine regarding a certain set 61 70 * of transmission parameters. 62 71 */ … … 64 73 int32_t decision_array[]); 65 74 66 /* Validate a set of transmission parameters received from the radio. 75 /*! \brief Perform parameter validation. 76 * 77 * Validate a set of transmission parameters received from the radio. 67 78 */ 68 79 void ValidateParameters(); 69 80 70 /* The SML_present bool reflects whether or not the remote component 81 /*! \brief Keep track of what control component this PE is connected to. 82 * 83 * The SML_present bool reflects whether or not the remote component 71 84 * this object is connected to is an SML. If it isn't, then it must be 72 85 * a shell. The socketFD stores the socket file descriptor for this