Mass++ Common Libraries v2.7.5
 All Classes Namespaces Files Functions Variables Enumerations Macros
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
kome::operation::AlignmentManager Class Reference

alignment object management class More...

#include <Alignment.h>

Public Member Functions

void addAlignment (Alignment *align)
 adds alignment object More...
 
void removeAlignment (Alignment *align)
 removes alignment object More...
 

Static Public Member Functions

static AlignmentManagergetInstance ()
 gets alignment manager object (This is the only object.) More...
 

Protected Member Functions

 AlignmentManager ()
 cosntructor
 
virtual ~AlignmentManager ()
 destructor
 

Protected Attributes

std::set< Alignment * > m_alignSet
 

Detailed Description

alignment object management class

Definition at line 233 of file Alignment.h.

Member Function Documentation

void kome::operation::AlignmentManager::addAlignment ( Alignment align)

adds alignment object

Parameters
[in]alignalignment object to be added

Definition at line 185 of file Alignment.cpp.

185  {
186  if( align != NULL ) {
187  m_alignSet.insert( align );
188  }
189 }
std::set< Alignment * > m_alignSet
Definition: Alignment.h:264
#define NULL
Definition: CoreMacros.h:18
static AlignmentManager & kome::operation::AlignmentManager::getInstance ( )
static

gets alignment manager object (This is the only object.)

Returns
alignemnt manger object

Definition at line 199 of file Alignment.cpp.

199  {
200  // create object (This is the only object.)
201  static AlignmentManager mgr;
202 
203  return mgr;
204 }
alignment object management class
Definition: Alignment.h:233
void kome::operation::AlignmentManager::removeAlignment ( Alignment align)

removes alignment object

Parameters
[in]alignalignment object to be removed

Definition at line 192 of file Alignment.cpp.

192  {
193  if( align != NULL ) {
194  m_alignSet.erase( align );
195  }
196 }
std::set< Alignment * > m_alignSet
Definition: Alignment.h:264
#define NULL
Definition: CoreMacros.h:18

Member Data Documentation

std::set< Alignment* > kome::operation::AlignmentManager::m_alignSet
protected

alignment object set

Definition at line 264 of file Alignment.h.


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