#include <vector>
#include <cstddef>
#include <argos3/core/utility/logging/argos_log.h>
Go to the source code of this file.
|
| namespace | argos |
| | The namespace containing all the ARGoS related code.
|
| |
|
| template<typename DERIVED , typename BASE > |
| size_t | argos::GetTag () |
| | Returns the value of the tag associated to DERIVED
|
| |
| template<typename CONTEXT , typename BASE , typename FUNCTION > |
| CVTable< CONTEXT, BASE, FUNCTION > & | argos::GetVTable () |
| | Function that returns a reference to the static vtable.
|
| |
◆ ENABLE_VTABLE
| #define ENABLE_VTABLE |
( |
| ) |
|
Value: virtual size_t GetTag() { \
return GetTagHelper(this); \
}
This macro enables the vtable for a specific class.
Definition at line 146 of file vtable.h.
◆ INIT_VTABLE_FOR
| #define INIT_VTABLE_FOR |
( |
| BASE | ) |
|
Value: struct SVTableInitializerFor ## BASE { \
SVTableInitializerFor ## BASE() { \
GetTag<BASE, BASE>(); \
} \
} sVTableInitializerFor ## BASE;
Definition at line 204 of file vtable.h.