DABC (Data Acquisition Backbone Core)  2.9.9
Public Member Functions | Protected Member Functions | Protected Attributes
verbs::OpenSM Class Reference

Interface class to opensm. More...

#include <verbs/OpenSM.h>

Public Member Functions

bool Close ()
 
bool Init ()
 
bool ManageMultiCastGroup (bool isadd, uint8_t *mgid, uint16_t *mlid)
 
 OpenSM ()
 
bool PrintAllMulticasts ()
 
bool QueryMyltucastGroup (uint8_t *mgid, uint16_t &mlid)
 
void SetResult (osmv_query_res_t *res)
 
virtual ~OpenSM ()
 

Protected Member Functions

bool BindPort ()
 
bool Query_SA (osmv_query_type_t query_type, uint64_t comp_mask, ib_member_rec_t *mc_req, ib_sa_mad_t *res)
 

Protected Attributes

osm_bind_handle_t f_bind_handle
 
ib_port_attr_t f_local_port
 
osm_log_t * f_log
 
osm_mad_pool_t f_mad_pool
 
osm_vendor_t * f_vendor
 
osmv_query_res_t fLastResult
 

Detailed Description

Interface class to opensm.

Definition at line 28 of file OpenSM.h.

Constructor & Destructor Documentation

◆ OpenSM()

verbs::OpenSM::OpenSM ( )

Definition at line 82 of file OpenSM.cxx.

◆ ~OpenSM()

verbs::OpenSM::~OpenSM ( )
virtual

Definition at line 91 of file OpenSM.cxx.

Member Function Documentation

◆ Init()

bool verbs::OpenSM::Init ( )

Definition at line 95 of file OpenSM.cxx.

◆ Close()

bool verbs::OpenSM::Close ( )

Definition at line 181 of file OpenSM.cxx.

◆ SetResult()

void verbs::OpenSM::SetResult ( osmv_query_res_t *  res)
inline

Definition at line 36 of file OpenSM.h.

◆ ManageMultiCastGroup()

bool verbs::OpenSM::ManageMultiCastGroup ( bool  isadd,
uint8_t *  mgid,
uint16_t *  mlid 
)

Definition at line 253 of file OpenSM.cxx.

◆ QueryMyltucastGroup()

bool verbs::OpenSM::QueryMyltucastGroup ( uint8_t *  mgid,
uint16_t &  mlid 
)

Definition at line 425 of file OpenSM.cxx.

◆ PrintAllMulticasts()

bool verbs::OpenSM::PrintAllMulticasts ( )

Definition at line 347 of file OpenSM.cxx.

◆ BindPort()

bool verbs::OpenSM::BindPort ( )
protected

Copy the port info for the selected port.

Definition at line 142 of file OpenSM.cxx.

◆ Query_SA()

bool verbs::OpenSM::Query_SA ( osmv_query_type_t  query_type,
uint64_t  comp_mask,
ib_member_rec_t *  mc_req,
ib_sa_mad_t *  res 
)
protected

Definition at line 193 of file OpenSM.cxx.

Field Documentation

◆ f_vendor

osm_vendor_t* verbs::OpenSM::f_vendor
protected

Definition at line 56 of file OpenSM.h.

◆ f_log

osm_log_t* verbs::OpenSM::f_log
protected

Definition at line 57 of file OpenSM.h.

◆ f_local_port

ib_port_attr_t verbs::OpenSM::f_local_port
protected

Definition at line 58 of file OpenSM.h.

◆ f_bind_handle

osm_bind_handle_t verbs::OpenSM::f_bind_handle
protected

Definition at line 59 of file OpenSM.h.

◆ f_mad_pool

osm_mad_pool_t verbs::OpenSM::f_mad_pool
protected

Definition at line 60 of file OpenSM.h.

◆ fLastResult

osmv_query_res_t verbs::OpenSM::fLastResult
protected

Definition at line 62 of file OpenSM.h.


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