RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Types | Public Member Functions | Public Attributes
RTBKIT::Augmentor Struct Reference

#include <augmentor_base.h>

Inheritance diagram for RTBKIT::Augmentor:
Datacratic::ServiceBase Datacratic::MessageLoop Datacratic::EventRecorder Datacratic::Epoller Datacratic::AsyncEventSource RTBKIT::MultiThreadedAugmentor RTBKIT::AsyncAugmentor RTBKIT::SyncAugmentor RTBKIT::FrequencyCapAugmentor

List of all members.

Public Types

typedef boost::function< void(const
AugmentationRequest &)> 
OnRequest

Public Member Functions

 Augmentor (const std::string &augmentorName, const std::string &serviceName, std::shared_ptr< ServiceProxies > proxies)
 Augmentor (const std::string &augmentorName, const std::string &serviceName, ServiceBase &parent)
void init ()
void start ()
void shutdown ()
void configureAndWait ()
void respond (const AugmentationRequest &request, const AugmentationList &response)

Public Attributes

OnRequest onRequest

Detailed Description

Class that implements a bid request augmentor. Real augmentors should build on top of this class.

Definition at line 60 of file augmentor_base.h.


Member Typedef Documentation

typedef boost::function<void (const AugmentationRequest &)> RTBKIT::Augmentor::OnRequest

Type of the callback for an augmentation request.

Definition at line 82 of file augmentor_base.h.


Member Function Documentation

Send configuration information and await confirmation that it has been received.

Definition at line 135 of file augmentor_base.cc.

void RTBKIT::Augmentor::respond ( const AugmentationRequest request,
const AugmentationList response 
)

Function to be called to respond to an augmentation request.

Definition at line 149 of file augmentor_base.cc.


Member Data Documentation

Function to be called on an augmentation request.

Definition at line 85 of file augmentor_base.h.


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