|
Namespaces | |
codegenerator | |
component_config | |
conversion | |
converter | |
cpp | |
data | |
A convenience header to include all aron files (full include, not forward declared) | |
detail | |
eigen | |
error | |
framed | |
packagepath | |
similarity | |
simox | |
time | |
type | |
A convenience header to include all aron files (full include, not forward declared) | |
typereader | |
Classes | |
class | BOSubObjectFinder |
Finds aron objects with a given type name prefix in aron variants and returns them as BOs. More... | |
class | DataDisplayVisitor |
class | Path |
The Path class. More... | |
class | StringStreamMixin |
class | SubObjectFinder |
Finds aron objects with a given type name prefix in aron variants. More... | |
class | TypedDataDisplayVisitor |
struct | TypeName |
struct | TypeName< bool > |
struct | TypeName< double > |
struct | TypeName< float > |
struct | TypeName< int > |
struct | TypeName< long > |
struct | TypeName< short > |
struct | TypeName< std::string > |
struct | TypeName< unsigned char > |
struct | TypeName< unsigned int > |
struct | TypeName< unsigned short > |
Functions | |
template<class BoT , class DtoT > | |
BoT | fromAron (const DtoT &dto) |
template<class DtoT , class BoT > | |
void | fromAron (const DtoT &dto, bool dtoValid, BoT &bo, bool &boValid) |
template<class DtoT , class BoT > | |
void | fromAron (const DtoT &dto, bool dtoValid, std::optional< BoT > &bo) |
template<class DtoT , class BoT > | |
void | fromAron (const DtoT &dto, std::unique_ptr< BoT > &bo) |
template<class T > | |
void | fromAron (const T &dto, T &bo) |
fromAron (dto, *bo) | |
template<typename... _Args> | |
aron::data::BoolPtr | make_bool (_Args &&... args) |
template<typename... _Args> | |
aron::data::DictPtr | make_dict (_Args &&... args) |
template<typename... _Args> | |
aron::data::DoublePtr | make_double (_Args &&... args) |
template<typename... _Args> | |
aron::data::FloatPtr | make_float (_Args &&... args) |
template<typename... _Args> | |
aron::data::IntPtr | make_int (_Args &&... args) |
template<typename... _Args> | |
aron::data::ListPtr | make_list (_Args &&... args) |
template<typename... _Args> | |
aron::data::LongPtr | make_long (_Args &&... args) |
template<typename... _Args> | |
aron::data::NDArrayPtr | make_ndarray (_Args &&... args) |
template<typename... _Args> | |
aron::data::StringPtr | make_string (_Args &&... args) |
aron | read (aron_r, input) |
template<class ReaderT > | |
requires data::isReader< ReaderT > void | read (ReaderT &aron_r, typename ReaderT::InputType &input, armarx::core::time::DateTime &ret) |
template<class ReaderT > | |
requires data::isReader< ReaderT > void | read (ReaderT &aron_r, typename ReaderT::InputType &input, armarx::core::time::Duration &ret) |
template<class ReaderT > | |
requires data::isReader< ReaderT > void | read (ReaderT &aron_r, typename ReaderT::InputType &input, armarx::FramedOrientation &ret) |
template<class ReaderT > | |
requires data::isReader< ReaderT > void | read (ReaderT &aron_r, typename ReaderT::InputType &input, armarx::FramedPose &ret) |
template<class ReaderT > | |
requires data::isReader< ReaderT > void | read (ReaderT &aron_r, typename ReaderT::InputType &input, armarx::FramedPosition &ret) |
template<class ReaderT , class EigenT , int cols, int options> | |
requires data::isReader< ReaderT > void | read (ReaderT &aron_r, typename ReaderT::InputType &input, Eigen::Matrix< EigenT, Eigen::Dynamic, cols, options > &ret) |
template<class ReaderT , class EigenT , int options> | |
requires data::isReader< ReaderT > void | read (ReaderT &aron_r, typename ReaderT::InputType &input, Eigen::Matrix< EigenT, Eigen::Dynamic, Eigen::Dynamic, options > &ret) |
template<class ReaderT , class EigenT , int rows, int cols, int options> | |
requires data::isReader< ReaderT > void | read (ReaderT &aron_r, typename ReaderT::InputType &input, Eigen::Matrix< EigenT, rows, cols, options > &ret) |
template<class ReaderT , class EigenT , int rows, int options> | |
requires data::isReader< ReaderT > void | read (ReaderT &aron_r, typename ReaderT::InputType &input, Eigen::Matrix< EigenT, rows, Eigen::Dynamic, options > &ret) |
template<class ReaderT , class EigenT > | |
requires data::isReader< ReaderT > void | read (ReaderT &aron_r, typename ReaderT::InputType &input, Eigen::Quaternion< EigenT > &ret) |
template<class DtoKeyT , class DtoValueT , class BoKeyT , class BoValueT > | |
requires (!(detail::DtoAndBoAreSame< DtoKeyT, BoKeyT > and detail::DtoAndBoAreSame< DtoValueT, BoValueT >)) void toAron(std | |
template<class DtoT , class BoT > | |
requires (!aron::detail::DtoAndBoAreSame< DtoT, BoT >) void toAron(std | |
class BoT | requires (data::isReader< ReaderT > &&armarx::aron::cpp::isAronGeneratedClass< DtoT > &&!detail::DtoAndBoAreSame< DtoT, BoT >) inline void read(ReaderT &aron_r |
template<class ReaderT , class T > | |
requires (data::isReader< ReaderT > &&armarx::aron::cpp::isAronGeneratedClass< T >) inline void read(ReaderT &aron_r | |
template<class WriterT , class DtoT , class BoT > | |
requires (data::isWriter< WriterT > &&armarx::aron::cpp::isAronGeneratedClass< DtoT > &&!detail::DtoAndBoAreSame< DtoT, BoT >) inline void write(WriterT &aron_w | |
template<class WriterT , class T > | |
requires (data::isWriter< WriterT > &&armarx::aron::cpp::isAronGeneratedClass< T >) inline void write(WriterT &aron_w | |
template<class DtoT , class BoT > | |
requires (not detail::is_optional< BoT >::value) void toAron(std | |
template<class DtoT , class BoT > | |
requires (not detail::is_optional< DtoT >::value) void fromAron(DtoT &dto | |
template<class DtoT , class BoT > | |
DtoT | toAron (const BoT &bo) |
template<class DtoT , class BoT > | |
void | toAron (DtoT &dto, bool &dtoValid, const BoT &bo, bool boValid) |
template<class DtoT , class BoT > | |
void | toAron (DtoT &dto, bool &dtoValid, const std::optional< BoT > &bo) |
template<class DtoT , class BoT > | |
void | toAron (DtoT &dto, const std::unique_ptr< BoT > &bo) |
template<class T > | |
void | toAron (T &dto, const T &bo) |
Framework for converting ARON DTOs (Data Transfer Objects) to C++ BOs (Business Objects) and back. More... | |
template<class WriterT > | |
requires data::isWriter< WriterT > void | write (WriterT &aron_w, const armarx::core::time::DateTime &input, typename WriterT::ReturnType &ret, const armarx::aron::Path &aron_p=armarx::aron::Path()) |
template<class WriterT > | |
requires data::isWriter< WriterT > void | write (WriterT &aron_w, const armarx::core::time::Duration &input, typename WriterT::ReturnType &ret, const armarx::aron::Path &aron_p=armarx::aron::Path()) |
template<class WriterT > | |
requires data::isWriter< WriterT > void | write (WriterT &aron_w, const armarx::FramedOrientation &input, typename WriterT::ReturnType &ret, const armarx::aron::Path &aron_p=armarx::aron::Path()) |
template<class WriterT > | |
requires data::isWriter< WriterT > void | write (WriterT &aron_w, const armarx::FramedPose &input, typename WriterT::ReturnType &ret, const armarx::aron::Path &aron_p=armarx::aron::Path()) |
template<class WriterT > | |
requires data::isWriter< WriterT > void | write (WriterT &aron_w, const armarx::FramedPosition &input, typename WriterT::ReturnType &ret, const armarx::aron::Path &aron_p=armarx::aron::Path()) |
template<class WriterT , class EigenT , int rows, int cols, int options> | |
requires data::isWriter< WriterT > void | write (WriterT &aron_w, const Eigen::Matrix< EigenT, rows, cols, options > &input, typename WriterT::ReturnType &ret, const armarx::aron::Path &aron_p=armarx::aron::Path()) |
template<class WriterT , class EigenT > | |
requires data::isWriter< WriterT > void | write (WriterT &aron_w, const Eigen::Quaternion< EigenT > &input, typename WriterT::ReturnType &ret, const armarx::aron::Path &aron_p=armarx::aron::Path()) |
Variables | |
const T WriterT::ReturnType const armarx::aron::Path & | aron_p |
const std::optional< BoT > & | bo |
ReaderT::InputType & | input |
ReaderT::InputType T & | ret |
BoT armarx::aron::fromAron | ( | const DtoT & | dto | ) |
void armarx::aron::fromAron | ( | const DtoT & | dto, |
bool | dtoValid, | ||
BoT & | bo, | ||
bool & | boValid | ||
) |
void armarx::aron::fromAron | ( | const DtoT & | dto, |
bool | dtoValid, | ||
std::optional< BoT > & | bo | ||
) |
void armarx::aron::fromAron | ( | const DtoT & | dto, |
std::unique_ptr< BoT > & | bo | ||
) |
armarx::aron::fromAron | ( | dto | , |
* | bo | ||
) |
aron::data::BoolPtr armarx::aron::make_bool | ( | _Args &&... | args | ) |
aron::data::DictPtr armarx::aron::make_dict | ( | _Args &&... | args | ) |
aron::data::DoublePtr armarx::aron::make_double | ( | _Args &&... | args | ) |
aron::data::FloatPtr armarx::aron::make_float | ( | _Args &&... | args | ) |
aron::data::IntPtr armarx::aron::make_int | ( | _Args &&... | args | ) |
aron::data::ListPtr armarx::aron::make_list | ( | _Args &&... | args | ) |
aron::data::LongPtr armarx::aron::make_long | ( | _Args &&... | args | ) |
aron::data::NDArrayPtr armarx::aron::make_ndarray | ( | _Args &&... | args | ) |
aron::data::StringPtr armarx::aron::make_string | ( | _Args &&... | args | ) |
aron armarx::aron::read | ( | aron_r | , |
input | |||
) |
requires data::isReader<ReaderT> void armarx::aron::read | ( | ReaderT & | aron_r, |
typename ReaderT::InputType & | input, | ||
armarx::core::time::DateTime & | ret | ||
) |
requires data::isReader<ReaderT> void armarx::aron::read | ( | ReaderT & | aron_r, |
typename ReaderT::InputType & | input, | ||
armarx::core::time::Duration & | ret | ||
) |
requires data::isReader<ReaderT> void armarx::aron::read | ( | ReaderT & | aron_r, |
typename ReaderT::InputType & | input, | ||
armarx::FramedOrientation & | ret | ||
) |
requires data::isReader<ReaderT> void armarx::aron::read | ( | ReaderT & | aron_r, |
typename ReaderT::InputType & | input, | ||
armarx::FramedPose & | ret | ||
) |
requires data::isReader<ReaderT> void armarx::aron::read | ( | ReaderT & | aron_r, |
typename ReaderT::InputType & | input, | ||
armarx::FramedPosition & | ret | ||
) |
requires data::isReader<ReaderT> void armarx::aron::read | ( | ReaderT & | aron_r, |
typename ReaderT::InputType & | input, | ||
Eigen::Matrix< EigenT, Eigen::Dynamic, cols, options > & | ret | ||
) |
requires data::isReader<ReaderT> void armarx::aron::read | ( | ReaderT & | aron_r, |
typename ReaderT::InputType & | input, | ||
Eigen::Matrix< EigenT, Eigen::Dynamic, Eigen::Dynamic, options > & | ret | ||
) |
requires data::isReader<ReaderT> void armarx::aron::read | ( | ReaderT & | aron_r, |
typename ReaderT::InputType & | input, | ||
Eigen::Matrix< EigenT, rows, cols, options > & | ret | ||
) |
requires data::isReader<ReaderT> void armarx::aron::read | ( | ReaderT & | aron_r, |
typename ReaderT::InputType & | input, | ||
Eigen::Matrix< EigenT, rows, Eigen::Dynamic, options > & | ret | ||
) |
requires data::isReader<ReaderT> void armarx::aron::read | ( | ReaderT & | aron_r, |
typename ReaderT::InputType & | input, | ||
Eigen::Quaternion< EigenT > & | ret | ||
) |
requires | ( | ! | detail::DtoAndBoAreSame< DtoKeyT, BoKeyT > and detail::DtoAndBoAreSame< DtoValueT, BoValueT > | ) |
requires | ( | !aron::detail::DtoAndBoAreSame< DtoT, BoT > | ) |
class BoT armarx::aron::requires | ( | data::isReader< ReaderT > &&armarx::aron::cpp::isAronGeneratedClass< DtoT > &&!detail::DtoAndBoAreSame< DtoT, BoT > | ) | & |
armarx::aron::requires | ( | data::isReader< ReaderT > &&armarx::aron::cpp::isAronGeneratedClass< T > | ) | & |
armarx::aron::requires | ( | data::isWriter< WriterT > &&armarx::aron::cpp::isAronGeneratedClass< DtoT > &&!detail::DtoAndBoAreSame< DtoT, BoT > | ) | & |
armarx::aron::requires | ( | data::isWriter< WriterT > &&armarx::aron::cpp::isAronGeneratedClass< T > | ) | & |
armarx::aron::requires | ( | not detail::is_optional< BoT >::value | ) |
armarx::aron::requires | ( | not detail::is_optional< DtoT >::value | ) | & |
DtoT armarx::aron::toAron | ( | const BoT & | bo | ) |
void armarx::aron::toAron | ( | DtoT & | dto, |
bool & | dtoValid, | ||
const BoT & | bo, | ||
bool | boValid | ||
) |
void armarx::aron::toAron | ( | DtoT & | dto, |
bool & | dtoValid, | ||
const std::optional< BoT > & | bo | ||
) |
void armarx::aron::toAron | ( | DtoT & | dto, |
const std::unique_ptr< BoT > & | bo | ||
) |
Framework for converting ARON DTOs (Data Transfer Objects) to C++ BOs (Business Objects) and back.
To allow conversion between custom ARON and C++ types, declare two functions in the namespace of the BO:
Note that the DTO always comes first, and the target object is non-const.
In the implementation,
Definition at line 74 of file aron_conversions.h.
requires data::isWriter<WriterT> void armarx::aron::write | ( | WriterT & | aron_w, |
const armarx::core::time::DateTime & | input, | ||
typename WriterT::ReturnType & | ret, | ||
const armarx::aron::Path & | aron_p = armarx::aron::Path() |
||
) |
requires data::isWriter<WriterT> void armarx::aron::write | ( | WriterT & | aron_w, |
const armarx::core::time::Duration & | input, | ||
typename WriterT::ReturnType & | ret, | ||
const armarx::aron::Path & | aron_p = armarx::aron::Path() |
||
) |
requires data::isWriter<WriterT> void armarx::aron::write | ( | WriterT & | aron_w, |
const armarx::FramedOrientation & | input, | ||
typename WriterT::ReturnType & | ret, | ||
const armarx::aron::Path & | aron_p = armarx::aron::Path() |
||
) |
requires data::isWriter<WriterT> void armarx::aron::write | ( | WriterT & | aron_w, |
const armarx::FramedPose & | input, | ||
typename WriterT::ReturnType & | ret, | ||
const armarx::aron::Path & | aron_p = armarx::aron::Path() |
||
) |
requires data::isWriter<WriterT> void armarx::aron::write | ( | WriterT & | aron_w, |
const armarx::FramedPosition & | input, | ||
typename WriterT::ReturnType & | ret, | ||
const armarx::aron::Path & | aron_p = armarx::aron::Path() |
||
) |
requires data::isWriter<WriterT> void armarx::aron::write | ( | WriterT & | aron_w, |
const Eigen::Matrix< EigenT, rows, cols, options > & | input, | ||
typename WriterT::ReturnType & | ret, | ||
const armarx::aron::Path & | aron_p = armarx::aron::Path() |
||
) |
requires data::isWriter<WriterT> void armarx::aron::write | ( | WriterT & | aron_w, |
const Eigen::Quaternion< EigenT > & | input, | ||
typename WriterT::ReturnType & | ret, | ||
const armarx::aron::Path & | aron_p = armarx::aron::Path() |
||
) |
const T WriterT::ReturnType const armarx::aron::Path& aron_p |
const std::optional<BoT>& bo |
Definition at line 168 of file aron_conversions.h.