armarx::aron::codegenerator::cpp::generator Namespace Reference

Namespaces

namespace  detail
 

Classes

class  AnyObject
 
class  Bool
 
class  Dict
 
class  Double
 
struct  DTOObjectReplacement
 
class  Float
 
class  Image
 
class  Int
 
class  IntEnum
 
class  IntEnumClass
 
class  List
 
class  Long
 
class  Matrix
 
class  NDArray
 
class  Object
 
class  ObjectClass
 
class  Pair
 
class  PointCloud
 
class  Quaternion
 
class  String
 
class  Tuple
 

Typedefs

typedef std::shared_ptr< IntEnum > IntEnumSerializerPtr
 

Functions

std::vector< std::string > checkForAdditionalIncludes (const type::Object &t)
 
bool checkForAllowedReplacement (const type::Object &t)
 
std::string checkForClassNameReplacement (const type::Object &t)
 
std::string checkForInstantiationTypenameReplacement (const type::Object &t)
 

Variables

const std::map< std::string, DTOObjectReplacement > DTO_REPLACEMENTS
 
const std::map< type::matrix::ElementType, std::tuple< std::string, int, std::string > > ElementType2Cpp
 
const std::map< type::image::PixelType, std::tuple< std::string, int, std::string > > PixelType2Cpp
 
const std::map< type::pointcloud::VoxelType, std::tuple< std::string, int, std::string > > VoxelType2Cpp
 

Typedef Documentation

◆ IntEnumSerializerPtr

typedef std::shared_ptr<IntEnum> IntEnumSerializerPtr

Function Documentation

◆ checkForAdditionalIncludes()

std::vector< std::string > checkForAdditionalIncludes ( const type::Object & t)

◆ checkForAllowedReplacement()

bool checkForAllowedReplacement ( const type::Object & t)

◆ checkForClassNameReplacement()

std::string checkForClassNameReplacement ( const type::Object & t)

◆ checkForInstantiationTypenameReplacement()

std::string checkForInstantiationTypenameReplacement ( const type::Object & t)

Variable Documentation

◆ DTO_REPLACEMENTS

const std::map<std::string, DTOObjectReplacement> DTO_REPLACEMENTS
Initial value:
= {
{"armarx::arondto::DateTime",
{"armarx::arondto::DateTime",
"armarx::arondto::DateTime",
"armarx::core::time::DateTime",
"armarx::core::time::DateTime",
{"<RobotAPI/libraries/aron/common/rw/time.h>"},
{}}},
{"armarx::arondto::Duration",
{"armarx::arondto::Duration",
"armarx::arondto::Duration",
"armarx::core::time::Duration",
"armarx::core::time::Duration",
{"<RobotAPI/libraries/aron/common/rw/time.h>"},
{"armarx::arondto::Frequency", "armarx::arondto::DateTime"}}}
}

◆ ElementType2Cpp

const std::map< type::quaternion::ElementType, std::tuple< std::string, int, std::string > > ElementType2Cpp
Initial value:
= {
{type::matrix::UINT8,
sizeof(unsigned char),
"::armarx::aron::type::matrix::UINT8"}},
{type::matrix::UINT16,
sizeof(unsigned short),
"::armarx::aron::type::matrix::UINT16"}},
{type::matrix::INT8,
{TypeName<char>::Get(), sizeof(char), "::armarx::aron::type::matrix::INT8"}},
{type::matrix::INT16,
{TypeName<short>::Get(), sizeof(short), "::armarx::aron::type::matrix::INT16"}},
{type::matrix::INT32,
{TypeName<int>::Get(), sizeof(int), "::armarx::aron::type::matrix::INT32"}},
{type::matrix::INT64,
{TypeName<long>::Get(), sizeof(long), "::armarx::aron::type::matrix::INT64"}},
{type::matrix::FLOAT32,
{TypeName<float>::Get(), sizeof(float), "::armarx::aron::type::matrix::FLOAT32"}},
{type::matrix::FLOAT64,
{TypeName<double>::Get(), sizeof(double), "::armarx::aron::type::matrix::FLOAT64"}}}
#define float
Definition 16_Level.h:22
static const char * Get()
Definition TypeName.h:14

◆ PixelType2Cpp

const std::map<type::image::PixelType, std::tuple<std::string, int, std::string> > PixelType2Cpp
Initial value:
= {
{type::image::PixelType::RGB24,
{"CV_8UC3", 3, "::armarx::aron::type::image::PixelType::RGB24"}},
{type::image::PixelType::DEPTH32,
{"CV_32FC1", 4, "::armarx::aron::type::image::PixelType::DEPTH32"}},
}

◆ VoxelType2Cpp

const std::map<type::pointcloud::VoxelType, std::tuple<std::string, int, std::string> > VoxelType2Cpp
Initial value:
= {
{type::pointcloud::VoxelType::POINT_XYZ,
{"pcl::PointXYZ", 16, "::armarx::aron::type::pointcloud::VoxelType::POINT_XYZ"}},
{type::pointcloud::VoxelType::POINT_XYZI,
{"pcl::PointXYZI", 32, "::armarx::aron::type::pointcloud::VoxelType::POINT_XYZI"}},
{type::pointcloud::VoxelType::POINT_XYZL,
{"pcl::PointXYZL", 32, "::armarx::aron::type::pointcloud::VoxelType::POINT_XYZL"}},
{type::pointcloud::VoxelType::POINT_XYZRGB,
{"pcl::PointXYZRGB", 32, "::armarx::aron::type::pointcloud::VoxelType::POINT_XYZRGB"}},
{type::pointcloud::VoxelType::POINT_XYZRGBL,
{"pcl::PointXYZRGBL",
32,
"::armarx::aron::type::pointcloud::VoxelType::POINT_XYZRGBL"}},
{type::pointcloud::VoxelType::POINT_XYZRGBA,
{"pcl::PointXYZRGBA",
32,
"::armarx::aron::type::pointcloud::VoxelType::POINT_XYZRGBA"}},
{type::pointcloud::VoxelType::POINT_XYZHSV,
{"pcl::PointXYZHSV",
32,
"::armarx::aron::type::pointcloud::VoxelType::POINT_XYZHSV"}}}