fastcs.cs_methods
#
Members
A |
|
A Command callback that is bound and can be called without |
|
Generic |
|
Generic base class for all FastCS Controller methods. |
|
Generic base class for all |
|
Why don't know what this is for. |
|
A Put callback that is bound and can be called without |
|
A |
|
A Scan callback that is bound and can be called withous |
|
A wrapper of an unbound |
|
A Command callback that is unbound and must be called with a |
|
Unbound version of |
|
A Put callback that is unbound and must be called with a |
|
A wrapper of an unbound |
|
A Scan callback that is unbound and must be called with a |
- fastcs.cs_methods.MethodCallback#
Generic base class for all
Controller
methods
- class fastcs.cs_methods.Controller_T#
Generic
Controller
class that an unbound method must be called with asself
alias of TypeVar(‘Controller_T’, bound=
BaseController
)
- fastcs.cs_methods.UnboundCommandCallback#
A Command callback that is unbound and must be called with a
Controller
instancealias of
Callable
[[Controller_T
],Coroutine
[None
,None
,None
]]
- fastcs.cs_methods.UnboundScanCallback#
A Scan callback that is unbound and must be called with a
Controller
instancealias of
Callable
[[Controller_T
],Coroutine
[None
,None
,None
]]
- fastcs.cs_methods.UnboundPutCallback#
A Put callback that is unbound and must be called with a
Controller
instancealias of
Callable
[[Controller_T
,Any
],Coroutine
[None
,None
,None
]]
- fastcs.cs_methods.CommandCallback#
A Command callback that is bound and can be called without
self
- fastcs.cs_methods.ScanCallback#
A Scan callback that is bound and can be called withous
self
- fastcs.cs_methods.PutCallback#
A Put callback that is bound and can be called without
self
- class fastcs.cs_methods.Method(fn: Callable[[...], Coroutine[None, None, None]], *, group: str | None = None)[source]#
Generic base class for all FastCS Controller methods.
- class fastcs.cs_methods.Command(fn: Callable[[], Coroutine[None, None, None]], *, group: str | None = None)[source]#
A
Controller
Method
that performs a single action when called.This class contains a function that is bound to a specific
Controller
instance and is callable outside of the class context, without an explicitself
parameter. Calling an instance of this class will call the boundController
method.
- class fastcs.cs_methods.Scan(fn: Callable[[], Coroutine[None, None, None]], period: float)[source]#
A
Controller
Method
that will be called periodically in the background.This class contains a function that is bound to a specific
Controller
instance and is callable outside of the class context, without an explicitself
parameter. Calling an instance of this class will call the boundController
method.
- class fastcs.cs_methods.Put(fn: Callable[[Any], Coroutine[None, None, None]])[source]#
Why don’t know what this is for.
- class fastcs.cs_methods.UnboundCommand(fn: Callable[[Controller_T], Coroutine[None, None, None]], *, group: str | None = None)[source]#
A wrapper of an unbound
Controller
method to be bound into aCommand
.This generic class stores an unbound
Controller
method - effectively a function that takes an instance of a specificController
type (Controller_T
). Instances of this class can be added atController
definition, either manually or with use of thecommand
wrapper, to register the method to be included in the API of theController
. When theController
is instantiated, these instances will be bound to the instance, creating aCommand
instance.
- class fastcs.cs_methods.UnboundScan(fn: Callable[[Controller_T], Coroutine[None, None, None]], period: float)[source]#
A wrapper of an unbound
Controller
method to be bound into aScan
.This generic class stores an unbound
Controller
method - effectively a function that takes an instance of a specificController
type (Controller_T
). Instances of this class can be added atController
definition, either manually or with use of thescan
wrapper, to register the method to be included in the API of theController
. When theController
is instantiated, these instances will be bound to the instance, creating aScan
instance.