Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 14, 2017, 4:04:14 PM (6 years ago)
Author:
kohlia
Message:

The ScriptableController should work now. A demo level called scriptableControllerTest exists as well.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/ScriptableController_HS17/src/orxonox/scriptablecontroller/is_callable.h

    r11519 r11673  
    44#include <type_traits>
    55
    6 // See https://stackoverflow.com/a/15396757/7421666
     6/**
     7 * @brief Implementation of IsCallable
     8 */
    79template<typename T>
    810struct IsCallableImpl
     
    2729};
    2830
    29 // Checks if a type is callable (has an 'operator()'). This will not work for
    30 // normal functions without modifications, but we don't need that case anyway.
     31/**
     32 * @brief Checks if a type is callable
     33 *
     34 * Callable means here, that it has has an 'operator()'. This will not work for
     35 * normal functions without modifications, but we don't need that case anyway.
     36 *
     37 * See https://stackoverflow.com/a/15396757/7421666
     38 */
    3139template<typename T>
    3240struct IsCallable
Note: See TracChangeset for help on using the changeset viewer.