Classes | Functions
rocon_gateway.public_interface Namespace Reference

Classes

class  PublicInterface
 Public Interface. More...
 

Functions

def publicRuleExists (public_rule, public_rules)
 Functions. More...
 

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 27 of file public_interface.py.



rocon_gateway
Author(s): Daniel Stonier , Jihoon Lee , Piyush Khandelwal
autogenerated on Mon Jun 10 2019 14:40:10