Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
operation_modes.cc File Reference
#include "node/operation_modes.h"
#include <nlohmann/json.hpp>
#include <string>
#include <utility>
#include "node/cia402.h"
#include "node/cia402_drive.h"
#include "node/somanet_drive.h"
#include "node/synapticon.h"
Include dependency graph for operation_modes.cc:

Namespaces

namespace  mm
 
namespace  mm::node
 

Functions

void mm::node::to_json (nlohmann::json &j, const OperationModes &modes)
 
std::expected< OperationModes, std::string > mm::node::deviceOperationModes (Device &device)
 Builds the operation-mode table for device.
 
std::expected< OperationModes, std::string > mm::node::operationModes (DeviceManager &deviceManager, uint16_t slavePosition)
 Borrow-and-delegate wrapper over deviceOperationModes, for a caller holding a bus position rather than a device (the HTTP layer).