25 #ifndef _BCAP_SERVICE_H_ 26 #define _BCAP_SERVICE_H_ 29 #include <boost/interprocess/smart_ptr/unique_ptr.hpp> 32 #include "bcap_service/bcap.h" 33 #include "bcap_core/dn_common.h" 34 #include "bcap_core/dn_device.h" 46 typedef boost::interprocess::unique_ptr<VARIANT, variant_deleter>
VARIANT_Ptr;
47 typedef std::vector<VARIANT, VariantAllocator<VARIANT> >
VARIANT_Vec;
65 const std::string& get_Type()
const;
66 void put_Type(
const std::string& type);
71 unsigned int get_Retry()
const;
72 void put_Retry(
unsigned int value);
85 int m_port, m_timeout, m_retry,
m_wait;
std::vector< VARIANT, VariantAllocator< VARIANT > > VARIANT_Vec
void VariantClear(VARIANT *pvarg)
boost::shared_ptr< bcap_service::BCAPService > BCAPService_Ptr
std::vector< KeyHandle > KeyHandle_Vec
boost::interprocess::unique_ptr< VARIANT, variant_deleter > VARIANT_Ptr
std::pair< int32_t, uint32_t > KeyHandle
void operator()(VARIANT *p) const