RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | Static Public Member Functions
Datacratic::JS::BidsJS Struct Reference
Inheritance diagram for Datacratic::JS::BidsJS:
Datacratic::JS::JSWrapped2< Bids, BidsJS, BidsName, rtbModule > Datacratic::JS::JSWrapped< Bids > Datacratic::JS::JSWrappedBase

List of all members.

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)

Detailed Description

Definition at line 94 of file bids_js.cc.


Member Function Documentation

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.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator