Swarm-NG
1.1
|
Template to allow developer to join two monitors Signal is true if either monitor returns true. More...
#include <combine.hpp>
Static Public Member Functions | |
template<class T > | |
static GENERIC int | thread_per_system (T compile_time_param) |
return the number of thread of the system, larger of the two monitors | |
template<class T > | |
static GENERIC int | shmem_per_system (T compile_time_param) |
return the shared memory amount, larger of the two monitors | |
Template to allow developer to join two monitors Signal is true if either monitor returns true.
The order of the monitors is important. They are executed in order and in case of stoppers it can affect the execution. If the first one flags the system as disabled and the second one flags it as inactive then there is a problem.
It can be used in an expression to join more than two monitors Example: combine_monitors< combine_monitors< Monitor1, Monitor2> , Monitor3 >
EXPERIMENTAL: This class is not thoroughly tested.
Definition at line 68 of file combine.hpp.