Utopia  2
Framework for studying models of complex & adaptive systems.
Public Types | List of all members
Utopia::DataIO::DataManagerTraits< TaskType, DeciderType, TriggerType, ExecutionProcessType > Struct Template Reference

Type traits for the DataManager This allows to specify custom types for the DataManager. Usually, you only need to touch this if you do not want to use the defaults or if you want to need to explicitly specify a common base class because it cannot be deduced automatically. More...

#include <data_manager.hh>

Public Types

using Task = TaskType
 
using Decider = DeciderType
 
using Trigger = TriggerType
 
using ExecutionProcess = ExecutionProcessType
 

Detailed Description

template<class TaskType, class DeciderType, class TriggerType, class ExecutionProcessType>
struct Utopia::DataIO::DataManagerTraits< TaskType, DeciderType, TriggerType, ExecutionProcessType >

Type traits for the DataManager This allows to specify custom types for the DataManager. Usually, you only need to touch this if you do not want to use the defaults or if you want to need to explicitly specify a common base class because it cannot be deduced automatically.

Note
As typical for trait structs, this is not intended to be ever instanciated; it is only used to encapsulate types used by the DataManager.
Template Parameters
TaskTypeType of the tasks. If you intend to use instances of a derived class mixed with instances of a base class, give the base class type here.
DeciderTypeType of the deciders
TriggerTypeType of the triggers
ExecutionProcessTypeType of the execution process functor

Member Typedef Documentation

◆ Decider

template<class TaskType , class DeciderType , class TriggerType , class ExecutionProcessType >
using Utopia::DataIO::DataManagerTraits< TaskType, DeciderType, TriggerType, ExecutionProcessType >::Decider = DeciderType

◆ ExecutionProcess

template<class TaskType , class DeciderType , class TriggerType , class ExecutionProcessType >
using Utopia::DataIO::DataManagerTraits< TaskType, DeciderType, TriggerType, ExecutionProcessType >::ExecutionProcess = ExecutionProcessType

◆ Task

template<class TaskType , class DeciderType , class TriggerType , class ExecutionProcessType >
using Utopia::DataIO::DataManagerTraits< TaskType, DeciderType, TriggerType, ExecutionProcessType >::Task = TaskType

◆ Trigger

template<class TaskType , class DeciderType , class TriggerType , class ExecutionProcessType >
using Utopia::DataIO::DataManagerTraits< TaskType, DeciderType, TriggerType, ExecutionProcessType >::Trigger = TriggerType

The documentation for this struct was generated from the following file: