RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
00001 /* bidding_agent_js.h -*- C++ -*- 00002 RĂ©mi Attab, 14 December 2011 00003 Copyright (c) 2011 Datacratic. All rights reserved. 00004 00005 Provides messaging services between the router and the client. 00006 */ 00007 00008 00009 #ifndef __rtb__bidding_agent_js_h__ 00010 #define __rtb__bidding_agent_js_h__ 00011 00012 #include "rtb_js.h" 00013 #include "rtbkit/plugins/bidding_agent/bidding_agent.h" 00014 #include "soa/js/js_wrapped.h" 00015 #include "jml/utils/smart_ptr_utils.h" 00016 00017 namespace Datacratic { 00018 namespace JS { 00019 00020 std::shared_ptr<RTBKIT::BiddingAgent> 00021 from_js(const JSValue & value, std::shared_ptr<RTBKIT::BiddingAgent> *); 00022 00023 RTBKIT::BiddingAgent * 00024 from_js(const JSValue & value, RTBKIT::BiddingAgent **); 00025 00026 } // namespace JS 00027 } // namespace Datacratic 00028 00029 #endif // __rtb__bidding_agent_js_h__ 00030