presence: Policy generation framework
Add the framework necessary to construct the presence methods policy
specific to the type of policy to be applied against all methods. This
uses the policy type to index into a map of types-to-functions where the
function will return the pointer associated to the entry based on the
policy type.
Tested:
Supported redundancy policies produce no errors
Unsupported redundancy policies throw exception
Change-Id: I2805deb96a29828564b76bd66eb52032fdcf72f7
Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
2 files changed