Classes | Functions
rocon_gateway::public_interface Namespace Reference

Classes

class  PublicInterface
 Public Interface. More...

Functions

def publicRuleExists
 Functions.

Function Documentation

def rocon_gateway.public_interface.publicRuleExists (   public_rule,
  public_rules 
)

Functions.

  Checks that the public rule doesn't already exist in the list of public
  rules (which can represent the public interface or the rules themselves).
  We only need to compare the name/node as they uniquely identify the
  name/regex

  @param public_rule : the rule to search for
  @type Rule

  @param public_rules : list of Rule (public, watchlist or blacklist)
  @type list : list of Rule objects

  @return True if the public rule exists, False otherwise
  @rtype bool

Definition at line 28 of file public_interface.py.



rocon_gateway
Author(s): Daniel Stonier , Jihoon Lee , Piyush Khandelwal
autogenerated on Sat Jun 8 2019 18:48:44