![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Public Member Functions | |
SlotT (const Slot &slot) | |
SlotT (const boost::function< Fn > &fn, Operations ops=FunctionOps< Fn >::ops, JS::JSOperations jsops=JS::getOps(typeid(Fn))) | |
SlotT (const v8::Handle< v8::Function > &fn) | |
SlotT (const v8::Handle< v8::Value > &fn) | |
std::string | print () const |
template<typename... Args> | |
boost::function< Fn >::result_type | call (Args...args) const |
template<typename... Args> | |
boost::function< Fn >::result_type | operator() (Args...args) const |
boost::function< Fn > | toBoost (JS::JSOperations jsops=0) const |
operator boost::function< Fn > () const | |
std::function< Fn > | toStd (JS::JSOperations jsops=0) const |
operator std::function< Fn > () const |
Datacratic::SlotT< Fn >::SlotT | ( | const v8::Handle< v8::Function > & | fn | ) | [inline] |
Datacratic::SlotT< Fn >::SlotT | ( | const v8::Handle< v8::Value > & | fn | ) | [inline] |
boost::function<Fn>::result_type Datacratic::SlotT< Fn >::call | ( | Args... | args | ) | const [inline] |
Call from C++, knowing exactly what kinds of parameters there are.
Reimplemented from Datacratic::Slot.
Datacratic::SlotT< Fn >::operator boost::function< Fn > | ( | ) | const [inline] |
Implicit conversion to boost::function<x>
Reimplemented from Datacratic::Slot.
Datacratic::SlotT< Fn >::operator std::function< Fn > | ( | ) | const [inline] |
std::string Datacratic::SlotT< Fn >::print | ( | ) | const |
Print a string representation giving information about the slot.
Reimplemented from Datacratic::Slot.
boost::function<Fn> Datacratic::SlotT< Fn >::toBoost | ( | JS::JSOperations | jsops = 0 | ) | const [inline] |
std::function<Fn> Datacratic::SlotT< Fn >::toStd | ( | JS::JSOperations | jsops = 0 | ) | const [inline] |