Funzione make_choice
Costruisce un blocco della messaggistica choice da uno Scheduler o ScheduleGroup facoltativo con un numero di origini di input compreso tra due e dieci.
template<
typename _Type1,
typename _Type2
>
choice<std::tr1::tuple<_Type1, _Type2>> make_choice(
Scheduler& _PScheduler,
_Type1_Item1,
_Type2_Item2
);
template<
typename _Type1,
typename _Type2,
typename _Type3
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3>> make_choice(
Scheduler& _PScheduler,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4>> make_choice(
Scheduler& _PScheduler,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5>> make_choice(
Scheduler& _PScheduler,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6>> make_choice(
Scheduler& _PScheduler,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6,
typename _Type7
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6, _Type7>> make_choice(
Scheduler& _PScheduler,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6,
_Type7_Item7
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6,
typename _Type7,
typename _Type8
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6, _Type7, _Type8>> make_choice(
Scheduler& _PScheduler,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6,
_Type7_Item7,
_Type8_Item8
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6,
typename _Type7,
typename _Type8,
typename _Type9
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6, _Type7, _Type8, _Type9>> make_choice(
Scheduler& _PScheduler,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6,
_Type7_Item7,
_Type8_Item8,
_Type9_Item9
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6,
typename _Type7,
typename _Type8,
typename _Type9,
typename _Type10
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6, _Type7, _Type8, _Type9, _Type10>> make_choice(
Scheduler& _PScheduler,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6,
_Type7_Item7,
_Type8_Item8,
_Type9_Item9,
_Type10_Item10
);
template<
typename _Type1
>
choice<std::tr1::tuple<_Type1>> make_choice(
ScheduleGroup& _PScheduleGroup,
_Type1_Item1
);
template<
typename _Type1,
typename _Type2
>
choice<std::tr1::tuple<_Type1, _Type2>> make_choice(
ScheduleGroup& _PScheduleGroup,
_Type1_Item1,
_Type2_Item2
);
template<
typename _Type1,
typename _Type2,
typename _Type3
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3>> make_choice(
ScheduleGroup& _PScheduleGroup,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4>> make_choice(
ScheduleGroup& _PScheduleGroup,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5>> make_choice(
ScheduleGroup& _PScheduleGroup,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6>> make_choice(
ScheduleGroup& _PScheduleGroup,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6,
typename _Type7
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6, _Type7>> make_choice(
ScheduleGroup& _PScheduleGroup,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6,
_Type7_Item7
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6,
typename _Type7,
typename _Type8
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6, _Type7, _Type8>> make_choice(
ScheduleGroup& _PScheduleGroup,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6,
_Type7_Item7,
_Type8_Item8
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6,
typename _Type7,
typename _Type8,
typename _Type9
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6, _Type7, _Type8, _Type9>> make_choice(
ScheduleGroup& _PScheduleGroup,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6,
_Type7_Item7,
_Type8_Item8,
_Type9_Item9
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6,
typename _Type7,
typename _Type8,
typename _Type9,
typename _Type10
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6, _Type7, _Type8, _Type9, _Type10>> make_choice(
ScheduleGroup& _PScheduleGroup,
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6,
_Type7_Item7,
_Type8_Item8,
_Type9_Item9,
_Type10_Item10
);
template<
typename _Type1
>
choice<std::tr1::tuple<_Type1>> make_choice(
_Type1_Item1
);
template<
typename _Type1,
typename _Type2
>
choice<std::tr1::tuple<_Type1, _Type2>> make_choice(
_Type1_Item1,
_Type2_Item2
);
template<
typename _Type1,
typename _Type2,
typename _Type3
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3>> make_choice(
_Type1_Item1,
_Type2_Item2,
_Type3_Item3
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4>> make_choice(
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5>> make_choice(
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6>> make_choice(
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6,
typename _Type7
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6, _Type7>> make_choice(
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6,
_Type7_Item7
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6,
typename _Type7,
typename _Type8
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6, _Type7, _Type8>> make_choice(
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6,
_Type7_Item7,
_Type8_Item8
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6,
typename _Type7,
typename _Type8,
typename _Type9
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6, _Type7, _Type8, _Type9>> make_choice(
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6,
_Type7_Item7,
_Type8_Item8,
_Type9_Item9
);
template<
typename _Type1,
typename _Type2,
typename _Type3,
typename _Type4,
typename _Type5,
typename _Type6,
typename _Type7,
typename _Type8,
typename _Type9,
typename _Type10
>
choice<std::tr1::tuple<_Type1, _Type2, _Type3, _Type4, _Type5, _Type6, _Type7, _Type8, _Type9, _Type10>> make_choice(
_Type1_Item1,
_Type2_Item2,
_Type3_Item3,
_Type4_Item4,
_Type5_Item5,
_Type6_Item6,
_Type7_Item7,
_Type8_Item8,
_Type9_Item9,
_Type10_Item10
);
Parametri
_Type1
Tipo di blocco del messaggio della prima origine._Type2
Tipo di blocco del messaggio della seconda origine._Type3
Tipo di blocco del messaggio della terza origine._Type4
Tipo di blocco del messaggio della quarta origine._Type5
Tipo di blocco del messaggio della quinta origine._Type6
Tipo di blocco del messaggio della sesta origine._Type7
Tipo di blocco del messaggio della settima origine._Type8
Tipo di blocco del messaggio dell'ottava origine._Type9
Tipo di blocco del messaggio della nona origine._Type10
Tipo di blocco del messaggio della decima origine._PScheduler
Oggetto Scheduler in cui viene pianificata l'attività di propagazione per il blocco della messaggistica choice._Item1
Prima origine._Item2
Seconda origine._Item3
Terza origine._Item4
Quarta origine._Item5
Quinta origine._Item6
Sesta origine._Item7
Settima origine._Item8
Ottava origine._Item9
La nona origine._Item10
Decima origine._PScheduleGroup
Oggetto ScheduleGroup in cui viene pianificata l'attività di propagazione per il blocco della messaggistica choice. L'oggetto Scheduler utilizzato viene coinvolto dal gruppo di pianificazione.
Valore restituito
Il blocco del messaggio choice con un numero di origini di input compreso tra due e dieci.
Requisiti
Header: agents.h
Spazio dei nomi: Concurrency