LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
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: