Lely core libraries  1.9.2
chrono.hpp File Reference

This header file is part of the C++ CANopen application library; it contains the timeout conversion functions. More...

#include <lely/coapp/coapp.hpp>
#include <chrono>
#include <limits>
Include dependency graph for chrono.hpp:
This graph shows which files directly or indirectly include this file:

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.
 
 lely::canopen::detail
 Namespace for implementation details of the C++ CANopen application library.
 

Functions

inline ::std::chrono::milliseconds lely::canopen::detail::FromTimeout (int timeout)
 Converts an SDO timeout to a duration.
 
template<class Rep , class Period >
int lely::canopen::detail::ToTimeout (const ::std::chrono::duration< Rep, Period > &d)
 Converts a duration to an SDO timeout.
 

Detailed Description

This header file is part of the C++ CANopen application library; it contains the timeout conversion functions.

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 chrono.hpp.