DynExp
Highly flexible laboratory automation for dynamically changing experiments.
Loading...
Searching...
No Matches
NP_Conex_CC.h
Go to the documentation of this file.
1// This file is part of DynExp.
2
8#pragma once
9
10#include "stdafx.h"
11#include "DynExpCore.h"
13
14namespace DynExpInstr
15{
16 class NP_Conex_CC;
17
18 namespace NP_Conex_CC_Tasks
19 {
26
33
40
41 class ResetTask final : public DynExp::TaskBase
42 {
43 public:
44 ResetTask(CallbackType CallbackFunc = nullptr, std::chrono::system_clock::time_point DeferUntil = {}) noexcept
45 : TaskBase(std::move(CallbackFunc), DeferUntil) {}
46
47 private:
49 };
50
51 class SetReadyTask final : public DynExp::TaskBase
52 {
53 public:
54 SetReadyTask(CallbackType CallbackFunc = nullptr, std::chrono::system_clock::time_point DeferUntil = {}) noexcept
55 : TaskBase(std::move(CallbackFunc), DeferUntil) {}
56
57 private:
59 };
60
65 class SetHomeTask final : public DynExp::TaskBase
66 {
68 };
69
71 {
72 public:
73 SetHomeExecutionTask(CallbackType CallbackFunc, std::chrono::system_clock::time_point DeferUntil = {}) noexcept
74 : TaskBase(std::move(CallbackFunc), DeferUntil) {}
75
76 private:
78 };
79
95
97 {
98 public:
99 ReferenceExecutionTask(CallbackType CallbackFunc, std::chrono::system_clock::time_point DeferUntil = {}) noexcept
100 : TaskBase(std::move(CallbackFunc), DeferUntil) {}
101
102 private:
104 };
105
107 {
108 public:
109 SetVelocityTask(PositionerStageData::PositionType Velocity, CallbackType CallbackFunc = nullptr, std::chrono::system_clock::time_point DeferUntil = {}) noexcept
111
112 private:
114
116 };
117
122 class MoveToHomeTask final : public DynExp::TaskBase
123 {
124 public:
126
127 private:
129 };
130
132 {
133 public:
134 MoveToHomeExecutionTask(CallbackType CallbackFunc, std::chrono::system_clock::time_point DeferUntil = {}) noexcept
135 : TaskBase(std::move(CallbackFunc), DeferUntil) {}
136
137 private:
139 };
140
156
158 {
159 public:
162
163 private:
165
167
168 };
169
185
187 {
188 public:
191
192 private:
194
196
197 };
198
199 class StopMotionTask final : public DynExp::TaskBase
200 {
202 };
203 }
204
206 {
209
210 public:
211 using ChannelType = int16_t;
212
217 {
218 constexpr void Set(uint8_t ByteCode) noexcept { this->ByteCode = ByteCode; }
219
225 // NOT REFERENCED STATES
227 constexpr bool NotReferencedFromReset() const noexcept { return ByteCode == 0x0A; }
229 constexpr bool NotReferencedFromHoming() const noexcept { return ByteCode == 0x0B; }
231 constexpr bool NotReferencedFromConfiguration() const noexcept { return ByteCode == 0x0C; }
233 constexpr bool NotReferencedFromDisable() const noexcept { return ByteCode == 0x0D; }
235 constexpr bool NotReferencedFromReady() const noexcept { return ByteCode == 0x0E; }
237 constexpr bool NotReferencedFromMoving() const noexcept { return ByteCode == 0x0F; }
239 constexpr bool NotReferencedNoParams() const noexcept { return ByteCode == 0x10; }
240
241 // CONFIGURATION
243 constexpr bool Configuration() const noexcept { return ByteCode == 0x14; }
244
245 // HOMING
247 constexpr bool Homing() const noexcept { return ByteCode == 0x1E; }
248
249 // MOVING
251 constexpr bool Moving() const noexcept { return ByteCode == 0x28; }
252
253 // READY STATES
255 constexpr bool ReadyFromHoming() const noexcept { return ByteCode == 0x32; }
257 constexpr bool ReadyFromMoving() const noexcept { return ByteCode == 0x33; }
259 constexpr bool ReadyFromDisable() const noexcept { return ByteCode == 0x34; }
260
261 // READY T STATES
263 constexpr bool ReadyTFromReady() const noexcept { return ByteCode == 0x36; }
265 constexpr bool ReadyTFromTracking() const noexcept { return ByteCode == 0x37; }
267 constexpr bool ReadyTFromDisableT() const noexcept { return ByteCode == 0x38; }
268
269 // DISABLE STATES
271 constexpr bool DisableFromReady() const noexcept { return ByteCode == 0x3C; }
273 constexpr bool DisableFromMoving() const noexcept { return ByteCode == 0x3D; }
275 constexpr bool DisableFromTracking() const noexcept { return ByteCode == 0x3E; }
277 constexpr bool DisableFromReadyT() const noexcept { return ByteCode == 0x3F; }
278
279 // TRACKING STATES
281 constexpr bool TrackingFromReadyT() const noexcept { return ByteCode == 0x46; }
283 constexpr bool TrackingFromTracking() const noexcept { return ByteCode == 0x47; }
285
286 private:
287 uint8_t ByteCode = 0;
288 };
289
290 enum ErrorCodeType : uint16_t {
292 OtherError // the exact error needs to be read from the bit flag
293 };
294
296 virtual ~NP_Conex_CC_StageData() = default;
297
298 auto GetChannel() const noexcept { return Channel; }
299
300 auto GetConex_CCStatus() const noexcept { return Conex_CCStatus; }
301 auto GetErrorCode() const noexcept { return ErrorCode; }
302
304
305 private:
306 void ResetImpl(dispatch_tag<PositionerStageData>) override final;
308
309 virtual bool IsMovingChild() const noexcept override;
310 virtual bool HasArrivedChild() const noexcept override;
311 virtual bool HasFailedChild() const noexcept override;
312
314
318 };
319
321 {
322 public:
324 virtual ~NP_Conex_CC_Params() = default;
325
326 virtual const char* GetParamClassTag() const noexcept override { return "NP_Conex_CC_Params"; }
327
329 "HardwareAdapter", "Serial port", "Underlying hardware adapter of this instrument", DynExpUI::Icons::HardwareAdapter };
330 Param<ParamsConfigDialog::NumberType> Conex_CC_Address = { *this, "Conex_CC_Address", "Conex-CC address",
331 "Address (1-31) of the Conex controller to be used", true, 1, 1, 31 };
332
333 private:
336 };
337
339 {
340 public:
343
345 virtual ~NP_Conex_CC_Configurator() = default;
346
347 private:
348 virtual DynExp::ParamsBasePtrType MakeParams(DynExp::ItemIDType ID, const DynExp::DynExpCore& Core) const override { return DynExp::MakeParams<NP_Conex_CC_Configurator>(ID, Core); }
349 };
350
352 {
353 public:
357
358 static std::string AnswerToNumberString(std::string&& Answer, const char* StartCode);
359
360 constexpr static auto Name() noexcept { return "NP Conex-CC"; }
361
362 NP_Conex_CC(const std::thread::id OwnerThreadID, DynExp::ParamsBasePtrType&& Params);
363 virtual ~NP_Conex_CC() {}
364
365 virtual std::string GetName() const override { return Name(); }
366
367 virtual PositionerStageData::PositionType GetMinPosition() const noexcept override { return -180e6; }
368 virtual PositionerStageData::PositionType GetMaxPosition() const noexcept override { return 180e6; }
369 virtual PositionerStageData::PositionType GetResolution() const noexcept override { return 1; }
370 virtual PositionerStageData::PositionType GetMinVelocity() const noexcept override { return 0; }
371 virtual PositionerStageData::PositionType GetMaxVelocity() const noexcept override { return 1e17; }
372 virtual PositionerStageData::PositionType GetDefaultVelocity() const noexcept override { return 10e6; } // The maximum velocity is 1e11 * GetInputValuePositionTypeRatio().
373 double GetInputValuePositionTypeRatio() const noexcept { return 1e6; } // the controller expects a float as position with 6 digits of precision
374
375 virtual std::chrono::milliseconds GetTaskQueueDelay() const override { return std::chrono::milliseconds(1000); }
376
377 virtual void SetHome() const override { MakeAndEnqueueTask<NP_Conex_CC_Tasks::SetHomeTask>(); }
378 virtual void Reference(DirectionType Direction = DirectionType::Forward, DynExp::TaskBase::CallbackType CallbackFunc = nullptr) const override { MakeAndEnqueueTask<NP_Conex_CC_Tasks::ReferenceTask>(Direction, std::move(CallbackFunc)); }
379 virtual void SetVelocity(PositionerStageData::PositionType Velocity) const override { MakeAndEnqueueTask<NP_Conex_CC_Tasks::SetVelocityTask>(Velocity); }
380
381 virtual void MoveToHome(DynExp::TaskBase::CallbackType CallbackFunc = nullptr) const override { MakeAndEnqueueTask<NP_Conex_CC_Tasks::MoveToHomeTask>(std::move(CallbackFunc)); }
382 virtual void MoveAbsolute(PositionerStageData::PositionType Position, DynExp::TaskBase::CallbackType CallbackFunc = nullptr) const override { MakeAndEnqueueTask<NP_Conex_CC_Tasks::MoveAbsoluteTask>(Position, std::move(CallbackFunc)); }
383 virtual void MoveRelative(PositionerStageData::PositionType Position, DynExp::TaskBase::CallbackType CallbackFunc = nullptr) const override { MakeAndEnqueueTask<NP_Conex_CC_Tasks::MoveRelativeTask>(Position, std::move(CallbackFunc)); }
384 virtual void StopMotion() const override { MakeAndEnqueueTask<NP_Conex_CC_Tasks::StopMotionTask>(); }
385
386 private:
387 virtual void OnErrorChild() const override;
388
389 void ResetImpl(dispatch_tag<PositionerStage>) override final;
391
392 virtual std::unique_ptr<DynExp::InitTaskBase> MakeInitTask() const override { return DynExp::MakeTask<NP_Conex_CC_Tasks::InitTask>(); }
393 virtual std::unique_ptr<DynExp::ExitTaskBase> MakeExitTask() const override { return DynExp::MakeTask<NP_Conex_CC_Tasks::ExitTask>(); }
394 virtual std::unique_ptr<DynExp::UpdateTaskBase> MakeUpdateTask() const override { return DynExp::MakeTask<NP_Conex_CC_Tasks::UpdateTask>(); }
395 };
396}
Defines DynExp's core module as an interface between the UI and DynExp objects.
Implementation of a meta instrument to control single-axis positioner stages.
virtual DynExp::ParamsBasePtrType MakeParams(DynExp::ItemIDType ID, const DynExp::DynExpCore &Core) const override
Override to make derived classes call DynExp::MakeParams with the correct configurator type derived f...
virtual ~NP_Conex_CC_Configurator()=default
virtual void ConfigureParamsImpl(dispatch_tag< NP_Conex_CC_Params >)
virtual ~NP_Conex_CC_Params()=default
void ConfigureParamsImpl(dispatch_tag< PositionerStageParams >) override final
Called by DynExp::ParamsBase::ConfigureParams() as a starting point for the tag dispatch mechanism to...
virtual const char * GetParamClassTag() const noexcept override
This function is intended to be overridden once in each derived class returning the name of the respe...
NP_Conex_CC_Params(DynExp::ItemIDType ID, const DynExp::DynExpCore &Core)
virtual bool HasFailedChild() const noexcept override
Returns whether the stage is in an error state, i.e. moving has failed (result of HasFailedChild())
virtual bool IsMovingChild() const noexcept override
Returns whether the stage is currently moving (result of IsMovingChild())
virtual void ResetImpl(dispatch_tag< NP_Conex_CC_StageData >)
auto GetConex_CCStatus() const noexcept
auto GetErrorCode() const noexcept
virtual bool HasArrivedChild() const noexcept override
Returns whether the stage has arrived at its destiny position (result of HasArrivedChild())
auto GetChannel() const noexcept
DynExp::LinkedObjectWrapperContainer< DynExp::SerialCommunicationHardwareAdapter > HardwareAdapter
void ResetImpl(dispatch_tag< PositionerStageData >) override final
Refer to DynExp::InstrumentDataBase::Reset(). Using tag dispatch mechanism to ensure that ResetImpl()...
virtual ~NP_Conex_CC_StageData()=default
virtual void ExitFuncImpl(dispatch_tag< ExitTask >, DynExp::InstrumentInstance &Instance)
Definition NP_Conex_CC.h:31
void ExitFuncImpl(dispatch_tag< PositionerStageTasks::ExitTask >, DynExp::InstrumentInstance &Instance) override final
Deinitializes the respective instrument within the instrument inheritance hierarchy....
void InitFuncImpl(dispatch_tag< PositionerStageTasks::InitTask >, DynExp::InstrumentInstance &Instance) override final
Initializes the respective instrument within the instrument inheritance hierarchy....
virtual void InitFuncImpl(dispatch_tag< InitTask >, DynExp::InstrumentInstance &Instance)
Definition NP_Conex_CC.h:24
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
const PositionerStageData::PositionType Position
MoveAbsoluteExecutionTask(PositionerStageData::PositionType Position, CallbackType CallbackFunc, std::chrono::system_clock::time_point DeferUntil={}) noexcept
In this task, some commands cannot be send right after each other to the controller....
const PositionerStageData::PositionType Position
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
MoveAbsoluteTask(PositionerStageData::PositionType Position, CallbackType CallbackFunc) noexcept
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
const PositionerStageData::PositionType Position
MoveRelativeExecutionTask(PositionerStageData::PositionType Position, CallbackType CallbackFunc, std::chrono::system_clock::time_point DeferUntil={}) noexcept
In this task, some commands cannot be send right after each other to the controller....
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
MoveRelativeTask(PositionerStageData::PositionType Position, CallbackType CallbackFunc) noexcept
const PositionerStageData::PositionType Position
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
MoveToHomeExecutionTask(CallbackType CallbackFunc, std::chrono::system_clock::time_point DeferUntil={}) noexcept
In this task, some commands cannot be send right after each other to the controller....
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
MoveToHomeTask(CallbackType CallbackFunc) noexcept
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
ReferenceExecutionTask(CallbackType CallbackFunc, std::chrono::system_clock::time_point DeferUntil={}) noexcept
Definition NP_Conex_CC.h:99
In this task, some commands cannot be send right after each other to the controller....
Definition NP_Conex_CC.h:85
const PositionerStage::DirectionType Direction
Definition NP_Conex_CC.h:93
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
ReferenceTask(PositionerStage::DirectionType Direction, CallbackType CallbackFunc) noexcept
Definition NP_Conex_CC.h:87
ResetTask(CallbackType CallbackFunc=nullptr, std::chrono::system_clock::time_point DeferUntil={}) noexcept
Definition NP_Conex_CC.h:44
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
SetHomeExecutionTask(CallbackType CallbackFunc, std::chrono::system_clock::time_point DeferUntil={}) noexcept
Definition NP_Conex_CC.h:73
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
In this task, some commands cannot be send right after each other to the controller....
Definition NP_Conex_CC.h:66
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
SetReadyTask(CallbackType CallbackFunc=nullptr, std::chrono::system_clock::time_point DeferUntil={}) noexcept
Definition NP_Conex_CC.h:54
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
SetVelocityTask(PositionerStageData::PositionType Velocity, CallbackType CallbackFunc=nullptr, std::chrono::system_clock::time_point DeferUntil={}) noexcept
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
const PositionerStageData::PositionType Velocity
virtual DynExp::TaskResultType RunChild(DynExp::InstrumentInstance &Instance) override
Runs the task. Override RunChild() to define a derived task's action(s). Any exception leaving RunChi...
void UpdateFuncImpl(dispatch_tag< PositionerStageTasks::UpdateTask >, DynExp::InstrumentInstance &Instance) override final
Updates the respective instrument within the instrument inheritance hierarchy. Call UpdateFuncImpl() ...
virtual void UpdateFuncImpl(dispatch_tag< UpdateTask >, DynExp::InstrumentInstance &Instance)
Definition NP_Conex_CC.h:38
virtual void SetHome() const override
Stores the positioner's home position. Also refer to MoveToHome().
virtual void SetVelocity(PositionerStageData::PositionType Velocity) const override
Sets the positioner's velocity in its native units. Do divide units of PositionerStageData::Velocity ...
virtual void Reference(DirectionType Direction=DirectionType::Forward, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
References the positioner such that it finds its zero position or end stop.
virtual PositionerStageData::PositionType GetMinPosition() const noexcept override
Returns the minimal position the stage can move to in nm if the stage supports SI units,...
virtual std::unique_ptr< DynExp::InitTaskBase > MakeInitTask() const override
Factory function for an init task (InitTaskBase). Override to define the desired initialization task ...
double GetInputValuePositionTypeRatio() const noexcept
virtual PositionerStageData::PositionType GetMaxPosition() const noexcept override
Returns the maximal position the stage can move to in nm if the stage supports SI units,...
virtual void MoveRelative(PositionerStageData::PositionType Position, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
Moves the positioner to a position relative to its current position. The position offset Steps has to...
virtual void MoveAbsolute(PositionerStageData::PositionType Position, DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
Moves the positioner to an absolute position in its native units. Do divide units of PositionerStageD...
virtual PositionerStageData::PositionType GetResolution() const noexcept override
Returns the stage's position resolution (precision) in nm if the stage supports SI units,...
virtual PositionerStageData::PositionType GetMinVelocity() const noexcept override
Returns the minimal velocity the stage can move with in nm/s if the stage supports SI units,...
virtual void StopMotion() const override
Stops any motion or position stabilization of the positioner immediately.
virtual PositionerStageData::PositionType GetDefaultVelocity() const noexcept override
Returns the stage's default velocity in nm/s if the stage supports SI units, in steps/s otherwise.
virtual std::unique_ptr< DynExp::ExitTaskBase > MakeExitTask() const override
Factory function for an exit task (ExitTaskBase). Override to define the desired deinitialization tas...
static constexpr auto Name() noexcept
virtual void MoveToHome(DynExp::TaskBase::CallbackType CallbackFunc=nullptr) const override
Moves the positioner to its stored home position. Also refer to SetHome().
virtual std::unique_ptr< DynExp::UpdateTaskBase > MakeUpdateTask() const override
Factory function for an update task (UpdateTaskBase). Override to define the desired update task in d...
virtual void ResetImpl(dispatch_tag< NP_Conex_CC >)
virtual std::string GetName() const override
Returns the name of this Object type.
virtual std::chrono::milliseconds GetTaskQueueDelay() const override
Specifies in which time intervals the instrument's task queue runs to handle pending tasks.
virtual PositionerStageData::PositionType GetMaxVelocity() const noexcept override
Returns the maximal velocity the stage can move with in nm/s if the stage supports SI units,...
Configurator class for PositionerStage.
Definition Stage.h:142
Data class for PositionerStage.
Definition Stage.h:66
signed long long PositionType
Numeric type to store the stage positions.
Definition Stage.h:71
Parameter class for PositionerStage.
Definition Stage.h:119
Defines a task for deinitializing an instrument within an instrument inheritance hierarchy....
Definition Stage.h:39
Defines a task for initializing an instrument within an instrument inheritance hierarchy....
Definition Stage.h:26
Defines a task for updating an instrument within an instrument inheritance hierarchy....
Definition Stage.h:52
Implementation of a meta instrument to control single-axis positioner stages.
Definition Stage.h:155
DirectionType
Type to determine the direction of the positioner stage's movements.
Definition Stage.h:160
DynExp's core class acts as the interface between the user interface and DynExp's internal data like ...
Definition DynExpCore.h:127
Refer to DynExp::ParamsBase::dispatch_tag.
Refer to DynExp::ParamsBase::dispatch_tag.
Refer to ParamsBase::dispatch_tag.
Definition Instrument.h:146
Defines data for a thread belonging to a InstrumentBase instance. Refer to RunnableInstance.
Definition Instrument.h:813
This class holds a pointer (LinkedObjectWrapperPointer) to a LinkedObjectWrapper. Intances of this cl...
Definition Object.h:3168
Refer to ParamsBase::dispatch_tag.
Definition Object.h:2018
Tag for function dispatching mechanism within this class used when derived classes are not intended t...
Definition Object.h:349
Type owning a callback function which is invoked when a task has finished, failed,...
Definition Instrument.h:978
Base class for all tasks being processed by instruments. The class must not contain public virtual fu...
Definition Instrument.h:929
CallbackType CallbackFunc
This callback function is called after the task has finished (either successfully or not) with a poin...
const std::chrono::system_clock::time_point DeferUntil
The execution of this task is deferred until the specified point in time is reached if time_since_epo...
TaskBase(CallbackType CallbackFunc=nullptr, std::chrono::system_clock::time_point DeferUntil={}) noexcept
Constructs an instrument task.
Defines the return type of task functions.
Definition Instrument.h:865
Refer to DynExp::ParamsBase::dispatch_tag.
DynExp's instrument namespace contains the implementation of DynExp instruments which extend DynExp's...
constexpr auto HardwareAdapter
std::unique_ptr< ParamsBase > ParamsBasePtrType
Alias for a pointer to the parameter system base class ParamsBase.
Definition Object.h:1807
size_t ItemIDType
ID type of objects/items managed by DynExp.
Accumulates include statements to provide a precompiled header.
Interprets and queries the controller's internal state based on the TS command byte code.
constexpr bool NotReferencedFromMoving() const noexcept
Controller is NOT REFERENCED, entered from MOVING. (ByteCode == 0x0F)
constexpr bool NotReferencedFromConfiguration() const noexcept
Controller is NOT REFERENCED, entered from CONFIGURATION. (ByteCode == 0x0C)
constexpr bool NotReferencedFromHoming() const noexcept
Controller is NOT REFERENCED, entered from HOMING. (ByteCode == 0x0B)
constexpr bool DisableFromReadyT() const noexcept
Controller is DISABLED, entered from READY T. (ByteCode == 0x3F)
constexpr bool NotReferencedNoParams() const noexcept
Controller is NOT REFERENCED, with no parameters in memory. (ByteCode == 0x10)
constexpr bool TrackingFromReadyT() const noexcept
Controller is TRACKING, entered from READY T. (ByteCode == 0x46)
constexpr bool ReadyTFromReady() const noexcept
Controller is READY (Tracking), entered from READY. (ByteCode == 0x36)
constexpr bool NotReferencedFromReset() const noexcept
Controller is NOT REFERENCED, entered from RESET. (ByteCode == 0x0A)
constexpr bool TrackingFromTracking() const noexcept
Controller is TRACKING, entered from TRACKING. (ByteCode == 0x47)
constexpr bool DisableFromTracking() const noexcept
Controller is DISABLED, entered from TRACKING. (ByteCode == 0x3E)
constexpr bool ReadyTFromTracking() const noexcept
Controller is READY (Tracking), entered from TRACKING. (ByteCode == 0x37)
constexpr bool Homing() const noexcept
Controller is in HOMING state. (ByteCode == 0x1E)
constexpr bool DisableFromMoving() const noexcept
Controller is DISABLED, entered from MOVING. (ByteCode == 0x3D)
constexpr bool Moving() const noexcept
Controller is in MOVING state. (ByteCode == 0x28)
constexpr void Set(uint8_t ByteCode) noexcept
constexpr bool ReadyFromDisable() const noexcept
Controller is READY, entered from DISABLE. (ByteCode == 0x34)
constexpr bool Configuration() const noexcept
Controller is in CONFIGURATION state. (ByteCode == 0x14)
constexpr bool NotReferencedFromDisable() const noexcept
Controller is NOT REFERENCED, entered from DISABLE. (ByteCode == 0x0D)
constexpr bool DisableFromReady() const noexcept
Controller is DISABLED, entered from READY. (ByteCode == 0x3C)
constexpr bool NotReferencedFromReady() const noexcept
Controller is NOT REFERENCED, entered from READY. (ByteCode == 0x0E)
constexpr bool ReadyFromHoming() const noexcept
Controller is READY, entered from HOMING. (ByteCode == 0x32)
constexpr bool ReadyTFromDisableT() const noexcept
Controller is READY (Tracking), entered from DISABLE T. (ByteCode == 0x38)
constexpr bool ReadyFromMoving() const noexcept
Controller is READY, entered from MOVING. (ByteCode == 0x33)