LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Static Public Member Functions | Static Protected Attributes | List of all members
lsst::ctrl::events::EventLibrary Class Reference

Singleton use to make sure the events library is initialized. More...

#include <EventLibrary.h>

Static Public Member Functions

static void initializeLibrary ()
 initialize the ActiveMQ library, but only do it once. More...
 

Static Protected Attributes

static int libraryInitialized = 0
 

Detailed Description

Singleton use to make sure the events library is initialized.

Definition at line 55 of file EventLibrary.h.

Member Function Documentation

void lsst::ctrl::events::EventLibrary::initializeLibrary ( )
static

initialize the ActiveMQ library, but only do it once.

Definition at line 50 of file EventLibrary.cc.

50  {
51  if (libraryInitialized == 0) {
52  activemq::library::ActiveMQCPP::initializeLibrary();
54  }
55 }

Member Data Documentation

int lsst::ctrl::events::EventLibrary::libraryInitialized = 0
staticprotected

Definition at line 63 of file EventLibrary.h.


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