artdaq  v3_07_01
ShmRTestFixture Struct Reference

SharedMemoryReader Test Fixture. More...

Inheritance diagram for ShmRTestFixture:
shared_memory_reader_t::end_of_data shared_memory_reader_t::first_event shared_memory_reader_t::new_run shared_memory_reader_t::new_subrun shared_memory_reader_t::nonempty_event

Public Member Functions

 ShmRTestFixture ()
 ShmRTestFixture Constructor.
 
MPRGlobalTestFixturegf ()
 Get a MPRGlobalTestFixture, creating a static instance if necessary. More...
 
art::ProductRegistryHelper & helper ()
 Get an art::ProductRegistryHelper, creating a static instance if necessary. More...
 
art::SourceHelper & source_helper ()
 Get an art::SourceHelper object, creating a static instance if necessary. More...
 
uint32_t getKey ()
 Gets the key for the shared memory segment. More...
 
uint32_t getBroadcastKey ()
 Gets the key for the broadcast shared memory segment. More...
 
artdaq::detail::SharedMemoryReaderreader ()
 Get an artdaq::detail::SharedMemoryReader object, creating a static instance if necessary. More...
 
artdaq::SharedMemoryEventManagerwriter ()
 Get the instance of the SharedMemoryEventManager. More...
 

Detailed Description

SharedMemoryReader Test Fixture.

Definition at line 161 of file shared_memory_reader_t.cc.

Member Function Documentation

uint32_t ShmRTestFixture::getBroadcastKey ( )
inline

Gets the key for the broadcast shared memory segment.

Returns
Key of the broadcast shared memory segment

Definition at line 245 of file shared_memory_reader_t.cc.

uint32_t ShmRTestFixture::getKey ( )
inline

Gets the key for the shared memory segment.

Returns
Key of the shared memory segment

Definition at line 236 of file shared_memory_reader_t.cc.

MPRGlobalTestFixture& ShmRTestFixture::gf ( )
inline

Get a MPRGlobalTestFixture, creating a static instance if necessary.

Returns
MPRGlobalTestFixture object

Definition at line 189 of file shared_memory_reader_t.cc.

art::ProductRegistryHelper& ShmRTestFixture::helper ( )
inline

Get an art::ProductRegistryHelper, creating a static instance if necessary.

Returns
art::ProductRegistryHelper object

Definition at line 199 of file shared_memory_reader_t.cc.

artdaq::detail::SharedMemoryReader& ShmRTestFixture::reader ( )
inline

Get an artdaq::detail::SharedMemoryReader object, creating a static instance if necessary.

Returns
artdaq::detail::SharedMemoryReader object

Definition at line 255 of file shared_memory_reader_t.cc.

art::SourceHelper& ShmRTestFixture::source_helper ( )
inline

Get an art::SourceHelper object, creating a static instance if necessary.

Returns
art::SourceHelper object

Definition at line 209 of file shared_memory_reader_t.cc.

artdaq::SharedMemoryEventManager& ShmRTestFixture::writer ( )
inline

Get the instance of the SharedMemoryEventManager.

Returns
Static instance of the SharedMemoryEventManager

Definition at line 282 of file shared_memory_reader_t.cc.


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