ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Private Member Functions
TAlibAPI::TAResource Class Reference

#include <TAlibAPI.h>

Public Member Functions

virtual ~TAResource ()
 Destructor. More...
 

Static Public Member Functions

static std::shared_ptr
< TAResource
CreateResource ()
 Return a shared pointer on the current resource. More...
 

Private Member Functions

 TAResource ()
 Constructor made private, to force use of CreateResource() More...
 

Static Private Member Functions

Initialize and Shutdown the TA-lib library
static bool Init ()
 
static bool Shutdown ()
 

Detailed Description

Definition at line 118 of file TAlibAPI.h.

Constructor & Destructor Documentation

TAlibAPI::TAResource::TAResource ( )
private

Constructor made private, to force use of CreateResource()

Definition at line 79 of file TAlibAPI.cpp.

TAlibAPI::TAResource::~TAResource ( )
virtual

Destructor.

Definition at line 87 of file TAlibAPI.cpp.

Member Function Documentation

std::shared_ptr< TAlibAPI::TAResource > TAlibAPI::TAResource::CreateResource ( )
static

Return a shared pointer on the current resource.

If it is the first access to TAResource, initialize ta-lib.
If the last shared pointer is deleted, shutdown ta-lib

Definition at line 96 of file TAlibAPI.cpp.

bool TAlibAPI::TAResource::Init ( )
staticprivate

Definition at line 41 of file TAlibAPI.cpp.

bool TAlibAPI::TAResource::Shutdown ( )
staticprivate

Definition at line 60 of file TAlibAPI.cpp.


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