#include <rtt/types/TypekitPlugin.hpp>
#include <rtt/typekit/RealTimeTypekit.hpp>
#include "Types.hpp"
#include "Plugin.hpp"
#include ".orogen/typekit/OpaqueConvertions.hpp"
#include <rtt/os/main.h>
#include <rtt/types/Types.hpp>
#include <rtt/PropertyBag.hpp>
#include <rtt/Property.hpp>
#include <rtt/internal/DataSource.hpp>
#include <rtt/types/PropertyDecomposition.hpp>
#include <rtt/marsh/PropertyMarshaller.hpp>
#include <rtt/marsh/PropertyDemarshaller.hpp>
#include <iostream>
#include <fstream>
#include <typeinfo>
#include <stdexcept>
Go to the source code of this file.
Namespaces | |
namespace | std |
namespace | TestOpaque |
Defines | |
#define | OROCOS_TARGET gnulinux |
Functions | |
template<typename T , typename Getter > | |
bool | generic_type_handling_test (std::string const &name, T const &testValue, TypeInfo const &ti, Getter get_test_value) |
template<typename T > | |
T | get_ptr_content (boost::shared_ptr< T > const &left) |
template<typename T > | |
T | get_ro_ptr_content (RTT::extras::ReadOnlyPointer< T > const &left) |
template<typename T > | |
T | identity (T const &value) |
std::ostream & | TestOpaque::operator<< (std::ostream &io, Position_m const &data) |
std::ostream & | std::operator<< (std::ostream &io, std::vector< float > const &data) |
std::ostream & | std::operator<< (std::ostream &io, std::vector< int > const &data) |
int | ORO_main (int argc, char **argv) |
bool | test_composed_opaque () |
bool | test_plain_opaque () |
bool | test_ro_ptr () |
bool | test_shared_pointer () |
bool | test_shared_ptr_shortcut () |
#define OROCOS_TARGET gnulinux |
Definition at line 1 of file typekit_opaque/test.cpp.
bool generic_type_handling_test | ( | std::string const & | name, |
T const & | testValue, | ||
TypeInfo const & | ti, | ||
Getter | get_test_value | ||
) |
Definition at line 121 of file typekit_opaque/test.cpp.
T get_ptr_content | ( | boost::shared_ptr< T > const & | left | ) |
Definition at line 269 of file typekit_opaque/test.cpp.
T get_ro_ptr_content | ( | RTT::extras::ReadOnlyPointer< T > const & | left | ) |
Definition at line 273 of file typekit_opaque/test.cpp.
T identity | ( | T const & | value | ) |
Definition at line 54 of file typekit_opaque/test.cpp.
int ORO_main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 387 of file typekit_opaque/test.cpp.
bool test_composed_opaque | ( | ) |
Definition at line 232 of file typekit_opaque/test.cpp.
bool test_plain_opaque | ( | ) |
Definition at line 199 of file typekit_opaque/test.cpp.
bool test_ro_ptr | ( | ) |
Definition at line 349 of file typekit_opaque/test.cpp.
bool test_shared_pointer | ( | ) |
Definition at line 276 of file typekit_opaque/test.cpp.
bool test_shared_ptr_shortcut | ( | ) |
Definition at line 312 of file typekit_opaque/test.cpp.