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

Namespaces

 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< IntEnumIntEnumSerializerPtr
 

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, DTOObjectReplacementDTO_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

Definition at line 34 of file IntEnum.h.

Function Documentation

◆ checkForAdditionalIncludes()

std::vector<std::string> armarx::aron::codegenerator::cpp::generator::checkForAdditionalIncludes ( const type::Object t)

Definition at line 98 of file Object.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkForAllowedReplacement()

bool armarx::aron::codegenerator::cpp::generator::checkForAllowedReplacement ( const type::Object t)

Definition at line 59 of file Object.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ checkForClassNameReplacement()

std::string armarx::aron::codegenerator::cpp::generator::checkForClassNameReplacement ( const type::Object t)

Definition at line 86 of file Object.cpp.

+ Here is the call graph for this function:

◆ checkForInstantiationTypenameReplacement()

std::string armarx::aron::codegenerator::cpp::generator::checkForInstantiationTypenameReplacement ( const type::Object t)

Definition at line 74 of file Object.cpp.

+ Here is the call graph for this function:

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"}}}
}

Definition at line 32 of file Object.cpp.

◆ ElementType2Cpp

const std::map< type::quaternion::ElementType, std::tuple< std::string, int, std::string > > ElementType2Cpp
Initial value:
= {
{type::matrix::UINT8,
{TypeName<unsigned char>::Get(), sizeof(unsigned char), "::armarx::aron::type::matrix::UINT8"}},
{type::matrix::UINT16,
{TypeName<unsigned short>::Get(), 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"}}}

Definition at line 34 of file Matrix.cpp.

◆ 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"}},
}

Definition at line 32 of file Image.cpp.

◆ 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"}}}

Definition at line 32 of file PointCloud.cpp.

Get
Eigen::Vector3f Get(const Eigen::Vector3f &p1, const Eigen::Vector3f &p2, float t)
Definition: MoveTCPToTarget.cpp:50
float
#define float
Definition: 16_Level.h:22