#ifndef aVCkmoPnFvf2TxOWrvfVb5qPbZM #define aVCkmoPnFvf2TxOWrvfVb5qPbZM #include #include #include "property_instance.hpp" #include "property_list.hpp" #include "quant_types.hpp" #include "template_helpers.hpp" // worker template forward decl template struct PLA_Sync_Impl { static void eval(Data &) {} }; template struct PLA_Sync_Impl { static void eval(Data &data) { data.data.sync(); } }; // PLA template struct PLA_Sync { // action consts typedef Void result_t; template struct local_state_t { typedef ContextProp prop; static const bool write = doWriteResult; }; result_t result; // action parameters template inline void pre(_PC &, _ContextData &, _LocalState &) {} template inline void post(_PC &, ContextData &data, LocalState &) { PLA_Sync_Impl::eval(data); } }; #endif // aVCkmoPnFvf2TxOWrvfVb5qPbZM