XTA: API Reference for C++ language

xta::NativeXaResource Class Reference

#include <NativeXaResource.hpp>

Inheritance diagram for xta::NativeXaResource:
Collaboration diagram for xta::NativeXaResource:

Public Member Functions

xta_xa_resource_t * getCBaseXaResource ()
 
 NativeXaResource (std::string const &name, std::string const &switch_file, std::string const &open_info, std::string const &close_info)
 
 ~NativeXaResource ()
 
- Public Member Functions inherited from xta::XaResource
virtual ~XaResource ()
 

Private Attributes

xta_native_xa_resource_t * nxar
 

Detailed Description

Definition at line 31 of file NativeXaResource.hpp.

Constructor & Destructor Documentation

xta::NativeXaResource::NativeXaResource ( std::string const &  name,
std::string const &  switch_file,
std::string const &  open_info,
std::string const &  close_info 
)

Create a new Native XA Resource class

Parameters
[in]name: the name assigned to the Resource Manager just for debugging purposes
[in]switch_file: absolute path of the XA switch file that points to xa_ functions for the resource manager
[in]open_info: a string that may contain instance-specific information for the resource manager when xa_open must be called
[in]close_info: a string that may contain instance-specific information for the resource manager when xa_close must be called

Definition at line 41 of file NativeXaResource.cpp.

References nxar.

xta::NativeXaResource::~NativeXaResource ( )

Definition at line 53 of file NativeXaResource.cpp.

References nxar.

Member Function Documentation

xta_xa_resource_t* xta::NativeXaResource::getCBaseXaResource ( )
inlinevirtual

Return a pointer to the C base XA resource object

Implements xta::XaResource.

Definition at line 55 of file NativeXaResource.hpp.

References nxar.

Member Data Documentation

xta_native_xa_resource_t* xta::NativeXaResource::nxar
private

Pointer to the native C object

Definition at line 62 of file NativeXaResource.hpp.

Referenced by getCBaseXaResource(), NativeXaResource(), and ~NativeXaResource().


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

Copyright © 2009-2019, Christian Ferrari tiian@users.sourceforge.net http://www.tiian.org/