1 #ifndef CommonTools_Utils_MethodInvoker_h 2 #define CommonTools_Utils_MethodInvoker_h 11 #include <boost/utility.hpp> 16 #include "tbb/concurrent_unordered_map.h" 21 tbb::tbb_hash<std::string> hasher;
34 std::vector<AnyMethodArgument>
ints_;
45 const std::vector<AnyMethodArgument>& ints = std::vector<AnyMethodArgument>());
89 std::vector<edm::ObjectWithDict>&
v)
const;
100 typedef tbb::concurrent_unordered_map<edm::TypeID, SingleInvokerPtr, edm::TypeIDHasher>
InvokerMap;
132 #endif // CommonTools_Utils_MethodInvoker_h
method::TypeCode retType_
bool isRefGet_
true if this invoker just pops out a ref and returns (ref.get(), false)
tbb::concurrent_unordered_map< edm::TypeID, SingleInvokerPtr, edm::TypeIDHasher > InvokerMap
bool storageNeedsDestructor_
edm::MemberWithDict member_
std::vector< AnyMethodArgument > ints_
size_t operator()(TypeID const &tid) const
Keeps different SingleInvokers for each dynamic type of the objects passed to invoke() ...
std::shared_ptr< SingleInvoker > SingleInvokerPtr
edm::MemberWithDict const member() const
edm::FunctionWithDict method_
edm::ObjectWithDict storage_
edm::TypeWithDict retTypeFinal_
edm::FunctionWithDict const method() const
std::vector< void * > args_
std::vector< AnyMethodArgument > argsBeforeFixups_
std::vector< MethodInvoker > invokers_
const char * name() const