DART  6.7.3
Composite.hpp File Reference

Go to the source code of this file.

Namespaces

 dart
 
 dart::common
 

Macros

#define DART_COMMON_CHECK_ILLEGAL_ASPECT_ERASE(Func, T, ReturnType)
 
#define DART_BAKE_SPECIALIZED_ASPECT_IRREGULAR(TypeName, AspectName)
 
#define DART_BAKE_SPECIALIZED_ASPECT(AspectName)    DART_BAKE_SPECIALIZED_ASPECT_IRREGULAR(AspectName, AspectName);
 

Functions

template<class T >
void dart::common::createAspects (T *)
 Attach an arbitrary number of Aspects to the specified Composite type. More...
 
template<class T , class NextAspect , class... Aspects>
void dart::common::createAspects (T *comp)
 

Macro Definition Documentation

◆ DART_BAKE_SPECIALIZED_ASPECT

#define DART_BAKE_SPECIALIZED_ASPECT (   AspectName)     DART_BAKE_SPECIALIZED_ASPECT_IRREGULAR(AspectName, AspectName);

◆ DART_BAKE_SPECIALIZED_ASPECT_IRREGULAR

#define DART_BAKE_SPECIALIZED_ASPECT_IRREGULAR (   TypeName,
  AspectName 
)

◆ DART_COMMON_CHECK_ILLEGAL_ASPECT_ERASE

#define DART_COMMON_CHECK_ILLEGAL_ASPECT_ERASE (   Func,
  T,
  ReturnType 
)
Value:
if(requiresAspect< T >())\
{\
dterr << "[Composite::" #Func << "] Illegal request to remove required "\
<< "Aspect [" << typeid(T).name() << "]!\n";\
assert(false);\
return ReturnType ;\
}
std::string * name
Definition: SkelParser.cpp:1642