Lely core libraries  1.9.2
sdo_error.cpp File Reference

This file is part of the C++ CANopen application library; it contains the implementation of the SDO error and exception functions. More...

#include "coapp.hpp"
#include <lely/co/sdo.h>
#include <lely/coapp/sdo_error.hpp>
#include <iomanip>
#include <sstream>
Include dependency graph for sdo_error.cpp:

Go to the source code of this file.

Namespaces

 lely
 Global namespace for the Lely Industries N.V. libraries.
 
 lely::canopen
 Namespace for the C++ CANopen application library.
 

Functions

const ::std::error_category & lely::canopen::SdoCategory () noexcept
 Returns a reference to the error category object for SDO abort codes.
 
::std::error_code lely::canopen::make_error_code (SdoErrc e) noexcept
 Creates an error code corresponding to an SDO abort code.
 
::std::error_condition lely::canopen::make_error_condition (SdoErrc e) noexcept
 Creates an error condition corresponding to an SDO abort code.
 

Detailed Description

This file is part of the C++ CANopen application library; it contains the implementation of the SDO error and exception functions.

See also
lely/coapp/sdo_error.hpp
Author
J. S. Seldenthuis jseld.nosp@m.enth.nosp@m.uis@l.nosp@m.ely..nosp@m.com

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file sdo_error.cpp.