![]() |
fastcat 0.13.15
C++ EtherCAT Device Command & Control Library
|
#include "function.h"


Public Member Functions | |
| Function () | |
| bool | ConfigFromYaml (const YAML::Node &node) override |
| bool | Read () override |
Public Member Functions inherited from fastcat::DeviceBase | |
| virtual | ~DeviceBase () |
| virtual FaultType | Process () |
| virtual bool | Write (DeviceCmd &cmd) |
| virtual void | Fault () |
| virtual void | Reset () |
| virtual void | SetInitializationTime (double time_sec, double monotonic_time_sec) |
| void | RegisterCmdQueue (std::shared_ptr< ThreadSafeQueue< DeviceCmd > > cmd_queue) |
| std::string | GetName () |
| std::shared_ptr< DeviceState > | GetState () |
| void | SetTime (double time, double monotonic_time) |
| void | SetLoopPeriod (double loop_period) |
Protected Attributes | ||
| std::string | function_type_string_ | |
| enum FunctionType | function_type_ | |
| std::vector< double > | polynomial_coefficients_ | |
| union { | ||
| PolynomialParams polynomial_params_ | ||
| PowerParams power_params_ | ||
| ExponentialParams exponential_params_ | ||
| }; | ||
Protected Attributes inherited from fastcat::DeviceBase | ||
| std::string | name_ | |
| unique device name | ||
| double | last_monotonic_time_ = 0.0 | |
| double | loop_period_ = 0.0 | |
| only some devices need | ||
| double | initialization_time_sec_ = -1 | |
| only some devices need | ||
| double | monotonic_initialization_time_sec_ = -1 | |
| only some devices need | ||
| bool | device_fault_active_ = false | |
| device-level fault, manager also has fault status flag | ||
| std::shared_ptr< DeviceState > | state_ | |
| Fastcat state data. | ||
| std::shared_ptr< ThreadSafeQueue< DeviceCmd > > | cmd_queue_ | |
| for intra-device commands | ||
Additional Inherited Members | |
Public Attributes inherited from fastcat::DeviceBase | |
| std::vector< Signal > | signals_ |
| fastcat::Function::Function | ( | ) |
|
overridevirtual |
|
overridevirtual |
| union { ... } fastcat::Function |
| ExponentialParams fastcat::Function::exponential_params_ |
|
protected |
|
protected |
|
protected |
| PolynomialParams fastcat::Function::polynomial_params_ |
| PowerParams fastcat::Function::power_params_ |