EntityQueryProcessorBase.cpp
Go to the documentation of this file.
2 
4 
5 
7 {
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 &timestamp)
Definition: EntityQueryProcessorBase.cpp:8