cisst-saw
Loading...
Searching...
No Matches
mtsManagerComponentBase.h File Reference

Declaration of Base Class for Manager Components. More...

Go to the source code of this file.

Classes

class  mtsManagerComponentBase
class  mtsManagerComponentBase::ComponentNames
class  mtsManagerComponentBase::InterfaceNames
class  mtsManagerComponentBase::CommandNames
class  mtsManagerComponentBase::EventNames

Functions

 CMN_DECLARE_SERVICES_INSTANTIATION (mtsManagerComponentBase)

Detailed Description

Declaration of Base Class for Manager Components.

The cisstMultiTask's command pattern is based on a pair of interfaces that are connected to each other. The following diagram shows how user and internal interfaces are defined and how such interfaces are connected to each other.

(INTFC = one provided interface + one required interface)

              LCM - MCS (of type mtsManagerComponent)
                     |
                   INTFC ("InterfaceComponent")

                     :
                     :

                   INTFC ("InterfaceInternal")
                     |
               User Component
          with internal interfaces

The cisstMultiTask has two different set of internal connections between components.

1) InterfaceInternal.Required - InterfaceComponent.Provided : Established whenever mtsManagerComponent::ComponentAdd() gets called

2) InterfaceComponent.Required - InterfaceInternal.Provided : When user component with internal interfaces connects to MCS (See mtsManagerComponent::AddNewClientComponent())

Function Documentation

◆ CMN_DECLARE_SERVICES_INSTANTIATION()

CMN_DECLARE_SERVICES_INSTANTIATION ( mtsManagerComponentBase )