RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
Public Member Functions | |
BidsJS (v8::Handle< v8::Object > This, const std::shared_ptr< Bids > &bids=std::shared_ptr< Bids >()) | |
Static Public Member Functions | |
static Handle< v8::Value > | New (const Arguments &args) |
static void | Initialize () |
static Handle< Value > | bid (const Arguments &args) |
static Handle< Value > | addSource (const Arguments &args) |
static Handle< Value > | at (uint32_t index, const v8::AccessorInfo &info) |
static Handle< Integer > | check (uint32_t index, const v8::AccessorInfo &info) |
static Handle< Array > | list (const v8::AccessorInfo &info) |
Definition at line 94 of file bids_js.cc.
static Handle<Value> Datacratic::JS::BidsJS::addSource | ( | const Arguments & | args | ) | [inline, static] |
Again, this should be in BidJS but the copies make this annoyingly hard.
Definition at line 153 of file bids_js.cc.
static Handle<Value> Datacratic::JS::BidsJS::bid | ( | const Arguments & | args | ) | [inline, static] |
Ideally this would be in the BidJS class but, because bids is an array of objects and not shared_ptr, the Bid objects get copied everytime they are accessed which means that any modifications will affect the copy and not the original. Annoying.
Definition at line 134 of file bids_js.cc.