Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes
concert_service_link_graph.static_link_graph_handler.StaticLinkGraphHandler Class Reference

Classes. More...

List of all members.

Public Member Functions

def __init__
def spin

Private Member Functions

def _requester_feedback
def _ros_subscriber_shutdown
def _setup_resource_pool_requester
def _setup_ros_subscribers

Private Attributes

 _description
 _disabled
 _linkgraph
 _name
 _priority
 _requester
 _subscribers
 _uuid

Static Private Attributes

list __slots__

Detailed Description

Classes.

Definition at line 33 of file static_link_graph_handler.py.


Constructor & Destructor Documentation

def concert_service_link_graph.static_link_graph_handler.StaticLinkGraphHandler.__init__ (   self,
  name,
  description,
  priority,
  key,
  linkgraph 
)
  @param name
  @type str

  @param description
  @type string

  @param key
  @type uuid.UUID

  @param linkgraph
  @type concert_msgs.LinkGraph

Definition at line 46 of file static_link_graph_handler.py.


Member Function Documentation

  Callback used to act on feedback coming from the scheduler request handler.

  @param request_set : a snapshot of the state of all requests from this requester
  @type concert_scheduler_requests.transition.RequestSet

Definition at line 118 of file static_link_graph_handler.py.

  Typically called by the service manager when it wants to disable this service.
  Note: if the node is shutting down we don't want to run this code as it runs into all sorts
  of unreliable ros pubsub communication. Instead, we deallocate (stop apps and uninvite) via
  a shutdown hook in the conductor.

  @param unused_msg : it's just a signal to trigger this callback
  @type std_msgs.Empty

Definition at line 78 of file static_link_graph_handler.py.

  Setup the resource groups, then feed it into and Initialise the
  resource pool requester, It looks everything from thereon.

Definition at line 92 of file static_link_graph_handler.py.

Definition at line 73 of file static_link_graph_handler.py.

Definition at line 69 of file static_link_graph_handler.py.


Member Data Documentation

Initial value:
[
        '_name',
        '_description',
        '_priority',
        '_uuid',
        '_linkgraph',
        '_requester',
        'spin',
        '_subscribers',
        '_disabled'
    ]

Definition at line 34 of file static_link_graph_handler.py.

Definition at line 58 of file static_link_graph_handler.py.

Definition at line 58 of file static_link_graph_handler.py.

Definition at line 58 of file static_link_graph_handler.py.

Definition at line 58 of file static_link_graph_handler.py.

Definition at line 58 of file static_link_graph_handler.py.

Definition at line 95 of file static_link_graph_handler.py.

Definition at line 73 of file static_link_graph_handler.py.

Definition at line 58 of file static_link_graph_handler.py.


The documentation for this class was generated from the following file:


concert_service_link_graph
Author(s): Daniel Stonier, Jihoon Lee
autogenerated on Thu Jun 6 2019 18:17:48