trader  v0.1a
A framework to build trading applications
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | List of all members
trader::Exchangeratelab Class Reference

An exchangeratelab. More...

#include <exchangeratelab.h>

Inheritance diagram for trader::Exchangeratelab:
Inheritance graph
[legend]
Collaboration diagram for trader::Exchangeratelab:
Collaboration graph
[legend]

Public Member Functions

 Exchangeratelab ()
 Initializes a new instance of the Exchangeratelab class. More...
 
 ~Exchangeratelab ()
 Finalizes an instance of the Exchangeratelab class. More...
 
Poco::Dynamic::Var invoke (const std::string &httpMethod, Poco::URI &uri)
 Executes the given operation on a different thread, and waits for the result. More...
 
- Public Member Functions inherited from trader::Api
virtual ~Api ()
 Finalizes an instance of the API class. More...
 
virtual void setParams (const std::string &)
 Sets the parameters. More...
 

Static Public Member Functions

static AutoPtr< Interface::ConnectiongetConnection (const std::string &connectionId)
 Gets a connection. More...
 

Public Attributes

ExchangeratelabApi::EndPoints api
 The API.
 

Protected Member Functions

 Exchangeratelab (const Exchangeratelab &)
 Initializes a new instance of the Exchangeratelab class. More...
 
Exchangeratelaboperator= (const Exchangeratelab &)
 Assignment operator. More...
 

Detailed Description

An exchangeratelab.

Constructor & Destructor Documentation

◆ Exchangeratelab() [1/2]

trader::Exchangeratelab::Exchangeratelab ( )

Initializes a new instance of the Exchangeratelab class.

◆ ~Exchangeratelab()

trader::Exchangeratelab::~Exchangeratelab ( )

Finalizes an instance of the Exchangeratelab class.

◆ Exchangeratelab() [2/2]

trader::Exchangeratelab::Exchangeratelab ( const Exchangeratelab )
protected

Initializes a new instance of the Exchangeratelab class.

Parameters
parameter1The first parameter.

Member Function Documentation

◆ getConnection()

AutoPtr< Interface::Connection > trader::Exchangeratelab::getConnection ( const std::string &  connectionId)
static

Gets a connection.

Parameters
connectionIdIdentifier for the connection.
Returns
The connection.

◆ invoke()

Dynamic::Var trader::Exchangeratelab::invoke ( const std::string &  httpMethod,
Poco::URI &  uri 
)
virtual

Executes the given operation on a different thread, and waits for the result.

Parameters
httpMethodThe HTTP method.
uri[in,out] URI of the document.
Returns
A Poco::Dynamic::Var.
Exceptions
ApplicationExceptionThrown when an Application error condition occurs.
Parameters
httpMethodThe HTTP method.
uri[in,out] URI of the document.
Returns
A Dynamic::Var.

Implements trader::Api.

◆ operator=()

Exchangeratelab& trader::Exchangeratelab::operator= ( const Exchangeratelab )
protected

Assignment operator.

Parameters
parameter1The first parameter.
Returns
A shallow copy of this object.

The documentation for this class was generated from the following files: