#include <conversion.h>
Public Member Functions | |
Conversion (const MessagePtr &message) | |
virtual const double * | convertFromDouble (const FieldPtr &field, const double *begin, const double *end) |
virtual void | convertFromMatlab (const FieldPtr &field, ConstArray source) |
virtual Array | convertToMatlab (const FieldPtr &field) |
const MessagePtr & | expanded () |
virtual MessagePtr | fromMatlab (ConstArray source, std::size_t index=0) |
virtual void | fromMatlab (const MessagePtr &message, ConstArray source, std::size_t index=0) |
virtual Array | toDoubleMatrix () |
virtual Array | toDoubleMatrix (Array target, std::size_t n=0) |
virtual Array | toMatlab () |
virtual Array | toStruct () |
virtual Array | toStruct (Array target, std::size_t index=0) |
virtual | ~Conversion () |
Protected Member Functions | |
Array | emptyArray () const |
virtual void | fromDoubleMatrix (const MessagePtr &message, ConstArray source, std::size_t n=0) |
virtual void | fromDoubleMatrix (const MessagePtr &message, const double *begin, const double *end) |
virtual void | fromStruct (const MessagePtr &message, ConstArray source, std::size_t index=0) |
Protected Attributes | |
MessagePtr | expanded_ |
MessagePtr | message_ |
Definition at line 45 of file conversion.h.
rosmatlab::Conversion::Conversion | ( | const MessagePtr & | message | ) |
Definition at line 45 of file conversion.cpp.
rosmatlab::Conversion::~Conversion | ( | ) | [virtual] |
Definition at line 46 of file conversion.cpp.
const double * rosmatlab::Conversion::convertFromDouble | ( | const FieldPtr & | field, |
const double * | begin, | ||
const double * | end | ||
) | [virtual] |
Definition at line 267 of file conversion.cpp.
void rosmatlab::Conversion::convertFromMatlab | ( | const FieldPtr & | field, |
ConstArray | source | ||
) | [virtual] |
Definition at line 209 of file conversion.cpp.
Array rosmatlab::Conversion::convertToMatlab | ( | const FieldPtr & | field | ) | [virtual] |
Definition at line 175 of file conversion.cpp.
Array rosmatlab::Conversion::emptyArray | ( | ) | const [protected] |
Definition at line 303 of file conversion.cpp.
const MessagePtr & rosmatlab::Conversion::expanded | ( | ) |
Definition at line 307 of file conversion.cpp.
void rosmatlab::Conversion::fromDoubleMatrix | ( | const MessagePtr & | message, |
ConstArray | source, | ||
std::size_t | n = 0 |
||
) | [protected, virtual] |
Definition at line 137 of file conversion.cpp.
void rosmatlab::Conversion::fromDoubleMatrix | ( | const MessagePtr & | message, |
const double * | begin, | ||
const double * | end | ||
) | [protected, virtual] |
Definition at line 156 of file conversion.cpp.
MessagePtr rosmatlab::Conversion::fromMatlab | ( | ConstArray | source, |
std::size_t | index = 0 |
||
) | [virtual] |
Definition at line 115 of file conversion.cpp.
void rosmatlab::Conversion::fromMatlab | ( | const MessagePtr & | message, |
ConstArray | source, | ||
std::size_t | index = 0 |
||
) | [virtual] |
Definition at line 122 of file conversion.cpp.
void rosmatlab::Conversion::fromStruct | ( | const MessagePtr & | message, |
ConstArray | source, | ||
std::size_t | index = 0 |
||
) | [protected, virtual] |
Definition at line 164 of file conversion.cpp.
Array rosmatlab::Conversion::toDoubleMatrix | ( | ) | [virtual] |
Definition at line 48 of file conversion.cpp.
Array rosmatlab::Conversion::toDoubleMatrix | ( | Array | target, |
std::size_t | n = 0 |
||
) | [virtual] |
Definition at line 52 of file conversion.cpp.
virtual Array rosmatlab::Conversion::toMatlab | ( | ) | [inline, virtual] |
Definition at line 50 of file conversion.h.
Array rosmatlab::Conversion::toStruct | ( | ) | [virtual] |
Definition at line 72 of file conversion.cpp.
Array rosmatlab::Conversion::toStruct | ( | Array | target, |
std::size_t | index = 0 |
||
) | [virtual] |
Definition at line 76 of file conversion.cpp.
MessagePtr rosmatlab::Conversion::expanded_ [protected] |
Definition at line 75 of file conversion.h.
MessagePtr rosmatlab::Conversion::message_ [protected] |
Definition at line 74 of file conversion.h.