/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Types | Public Member Functions | Static Public Member Functions | Private Attributes
DayaBay::ElecFecBoard Class Reference

RPC Front-end card. More...

#include <ElecFecBoard.h>

Collaboration diagram for DayaBay::ElecFecBoard:
Collaboration graph
[legend]

List of all members.

Public Types

typedef std::map
< DayaBay::FecChannelId,
DayaBay::ElecFecChannel
ChannelMap
 Map of FEC channel data by channel ID.

Public Member Functions

 ElecFecBoard ()
 Default Constructor.
virtual ~ElecFecBoard ()
 Default Destructor.
virtual std::ostream & fillStream (std::ostream &s) const
 Fill the ASCII output stream.
void addChannel (const DayaBay::FecChannelId &channelId)
 Adds a channel to this board.
ElecFecChannelchannel (const DayaBay::FecChannelId &channelId)
 Returns the specified channel data from this board.
const ChannelMapchannels () const
 Retrieve const The set of channels in this board.
void setChannels (const ChannelMap &value)
 Update The set of channels in this board.
const DayaBay::FecChannelIdboardId () const
 Retrieve const Identification of the board.
void setBoardId (const DayaBay::FecChannelId &value)
 Update Identification of the board.

Static Public Member Functions

static void * operator new (size_t size)
 operator new
static void * operator new (size_t size, void *pObj)
 placement operator new it is needed by libstdc++ 3.2.3 (e.g.
static void operator delete (void *p)
 operator delete
static void operator delete (void *p, void *pObj)
 placement operator delete not sure if really needed, but it does not harm

Private Attributes

ChannelMap m_channels
 The set of channels in this board.
DayaBay::FecChannelId m_boardId
 Identification of the board.

Detailed Description

RPC Front-end card.

Author:
Viktor Pec created Thu Dec 5 18:07:49 2013

Definition at line 40 of file ElecFecBoard.h.


Member Typedef Documentation

Map of FEC channel data by channel ID.

Definition at line 45 of file ElecFecBoard.h.


Constructor & Destructor Documentation

DayaBay::ElecFecBoard::ElecFecBoard ( ) [inline]

Default Constructor.

Definition at line 48 of file ElecFecBoard.h.

                   : m_channels(),
                     m_boardId() {}
virtual DayaBay::ElecFecBoard::~ElecFecBoard ( ) [inline, virtual]

Default Destructor.

Definition at line 52 of file ElecFecBoard.h.

{}

Member Function Documentation

std::ostream & DayaBay::ElecFecBoard::fillStream ( std::ostream &  s) const [inline, virtual]

Fill the ASCII output stream.

Definition at line 134 of file ElecFecBoard.h.

{
  s << "{ " << "channels :      " << m_channels << std::endl
            << "boardId :       " << m_boardId << std::endl << " }";
  return s;
}
void DayaBay::ElecFecBoard::addChannel ( const DayaBay::FecChannelId channelId) [inline]

Adds a channel to this board.

Definition at line 162 of file ElecFecBoard.h.

{

            m_channels[channelId].setChannelId(channelId);
        
}
DayaBay::ElecFecChannel & DayaBay::ElecFecBoard::channel ( const DayaBay::FecChannelId channelId) [inline]

Returns the specified channel data from this board.

Definition at line 169 of file ElecFecBoard.h.

{
return m_channels[channelId];
}
const DayaBay::ElecFecBoard::ChannelMap & DayaBay::ElecFecBoard::channels ( ) const [inline]

Retrieve const The set of channels in this board.

Definition at line 142 of file ElecFecBoard.h.

{
  return m_channels;
}
void DayaBay::ElecFecBoard::setChannels ( const ChannelMap value) [inline]

Update The set of channels in this board.

Definition at line 147 of file ElecFecBoard.h.

{
  m_channels = value;
}
const DayaBay::FecChannelId & DayaBay::ElecFecBoard::boardId ( ) const [inline]

Retrieve const Identification of the board.

Definition at line 152 of file ElecFecBoard.h.

{
  return m_boardId;
}
void DayaBay::ElecFecBoard::setBoardId ( const DayaBay::FecChannelId value) [inline]

Update Identification of the board.

Definition at line 157 of file ElecFecBoard.h.

{
  m_boardId = value;
}
static void* DayaBay::ElecFecBoard::operator new ( size_t  size) [inline, static]

operator new

Definition at line 82 of file ElecFecBoard.h.

    {
      return ( sizeof(ElecFecBoard) == size ? 
               boost::singleton_pool<ElecFecBoard, sizeof(ElecFecBoard)>::malloc() :
               ::operator new(size) );
    }
static void* DayaBay::ElecFecBoard::operator new ( size_t  size,
void *  pObj 
) [inline, static]

placement operator new it is needed by libstdc++ 3.2.3 (e.g.

in std::vector) it is not needed in libstdc++ >= 3.4

Definition at line 92 of file ElecFecBoard.h.

    {
      return ::operator new (size,pObj);
    }
static void DayaBay::ElecFecBoard::operator delete ( void *  p) [inline, static]

operator delete

Definition at line 98 of file ElecFecBoard.h.

    {
      boost::singleton_pool<ElecFecBoard, sizeof(ElecFecBoard)>::is_from(p) ?
      boost::singleton_pool<ElecFecBoard, sizeof(ElecFecBoard)>::free(p) :
      ::operator delete(p);
    }
static void DayaBay::ElecFecBoard::operator delete ( void *  p,
void *  pObj 
) [inline, static]

placement operator delete not sure if really needed, but it does not harm

Definition at line 107 of file ElecFecBoard.h.

    {
      ::operator delete (p, pObj);
    }

Member Data Documentation

The set of channels in this board.

Definition at line 116 of file ElecFecBoard.h.

Identification of the board.

Definition at line 117 of file ElecFecBoard.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 10:05:49 for ElecEvent by doxygen 1.7.4