Interface IMastershipResource
This class defines the interface of a resource that is controlled through the concept of Mastership.
Namespace: ABB.Robotics.Controllers
Assembly: ABB.Robotics.Controllers.PC.dll
Syntax
public interface IMastershipResource
Properties
IsMaster
gets the current mastership state.
Declaration
bool IsMaster { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsRobotWare7
gets the current mastership state.
Declaration
bool IsRobotWare7 { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Ensure()
Call this method to ensure the mastership of the resource.
Declaration
void Ensure()
Release()
call this method to release the mastership of the resource.
Declaration
void Release()
Request()
Call this method to request the mastership of the resource.
Declaration
void Request()
Events
MastershipChanged
This event is raised when mastership is changed.
Declaration
event EventHandler<MastershipChangedEventArgs> MastershipChanged
Event Type
Type | Description |
---|---|
System.EventHandler<MastershipChangedEventArgs> |