EntityQueryProcessorBase.cpp
Go to the documentation of this file.
1
#include "
EntityQueryProcessorBase.h
"
2
3
#include <
ArmarXCore/core/exceptions/local/ExpressionException.h
>
4
5
6
namespace
armarx::armem::server::query_proc::base
7
{
8
void
detail::checkReferenceTimestampNonNegative
(
const
Time
& timestamp)
9
{
10
ARMARX_CHECK_NONNEGATIVE
(timestamp.
toMicroSecondsSinceEpoch
()) <<
"Reference timestamp must be non-negative."
;
11
}
12
}
EntityQueryProcessorBase.h
armarx::armem::server::query_proc::base
Definition:
BaseQueryProcessorBase.cpp:6
ARMARX_CHECK_NONNEGATIVE
#define ARMARX_CHECK_NONNEGATIVE(number)
Check whether number is nonnegative (>= 0). If it is not, throw an ExpressionException with the expre...
Definition:
ExpressionException.h:152
armarx::core::time::DateTime::toMicroSecondsSinceEpoch
std::int64_t toMicroSecondsSinceEpoch() const
Definition:
DateTime.cpp:95
ExpressionException.h
armarx::core::time::DateTime
Represents a point in time.
Definition:
DateTime.h:24
armarx::armem::server::query_proc::base::detail::checkReferenceTimestampNonNegative
void checkReferenceTimestampNonNegative(const Time ×tamp)
Definition:
EntityQueryProcessorBase.cpp:8
RobotAPI
libraries
armem
server
query_proc
base
EntityQueryProcessorBase.cpp
Generated on Sat Oct 12 2024 09:14:08 for armarx_documentation by
1.8.17