Public Member Functions | Public Attributes | List of all members
novaddt::sm_cleaner Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-01-24/SuperNovaDDT/online/MessageBuffer.h"

Public Member Functions

 sm_cleaner (const char *Name)
 
 ~sm_cleaner ()
 
void clear ()
 

Public Attributes

const char * name
 

Detailed Description

Definition at line 17 of file MessageBuffer.h.

Constructor & Destructor Documentation

novaddt::sm_cleaner::sm_cleaner ( const char *  Name)
inline

Definition at line 21 of file MessageBuffer.h.

21  :name(Name){
22  //clear();
23  }
const char * name
Definition: MessageBuffer.h:29
novaddt::sm_cleaner::~sm_cleaner ( )
inline

Definition at line 24 of file MessageBuffer.h.

References clear().

24 {clear();}

Member Function Documentation

void novaddt::sm_cleaner::clear ( )
inline

Definition at line 25 of file MessageBuffer.h.

References om::cout, and allTimeWatchdog::endl.

Referenced by ~sm_cleaner().

25  {
26  if(boost::interprocess::shared_memory_object::remove(name))
27  std::cout<<"Shared memory \""<<name<<"\" cleared"<<std::endl;
28  }
const XML_Char * name
Definition: expat.h:151
OStream cout
Definition: OStream.cxx:6

Member Data Documentation

const char* novaddt::sm_cleaner::name

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