/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Event/ZddEvent/ZddEvent-00-00-04/ZddEvent/ZddBoard.h

Go to the documentation of this file.
00001 #ifndef Event_ZDD_BOARD_H
00002 #define Event_ZDD_BOARD_H
00003 
00004 #include "ZddEvent/ZddChannel.h"
00005 
00006 //pre-declarations
00007 namespace Event {
00008     class ZddEvent;
00009 }
00010 
00011 //class defination
00012 class ZddBoard
00013 {
00014     public :
00015 
00016         typedef std::vector<ZddChannel*> Channels;
00017 
00018         ZddBoard(Event::ZddEvent* p_evt);
00019         virtual ~ZddBoard();
00020 
00021         //user interfaces
00022         int getBoardId() const { return m_boradId; }
00023         int getCounter() const { return m_counter; }
00024         int getTimeTag() const { return m_timeTag; }
00025 
00026         const Channels& channels() const { return m_chs; }
00027 
00028         //interfaces for setting data
00029         void setBoardId(int boardId) { m_boradId = boardId; }
00030         void setCounter(int counter) { m_counter = counter; }
00031         void setTimeTag(int timeTag) { m_timeTag = timeTag; }
00032 
00033         void addChannel(ZddChannel* ch);
00034 
00035     private :
00036 
00037         int  m_boradId;
00038         int  m_counter;
00039         int  m_timeTag;
00040 
00041         Event::ZddEvent*  m_evt;
00042         Channels   m_chs;
00043 };
00044 
00045 #endif

Generated on Tue Nov 29 23:11:44 2016 for BOSS_7.0.2 by  doxygen 1.4.7