stream  0.10.0
stream analysis framework
Public Member Functions | Protected Attributes
base::SubEventEx< MsgClass > Class Template Reference

Subevent with vector of extended messages. More...

#include <base/SubEvent.h>

Inheritance diagram for base::SubEventEx< MsgClass >:
base::SubEvent

Public Member Functions

 SubEventEx (unsigned capacity=0)
 constructor
 
 ~SubEventEx ()
 destructor
 
void AddMsg (const MsgClass &_msg)
 Add new message to sub-event.
 
unsigned Size () const
 Returns number of messages.
 
unsigned Capacity () const
 Returns capacity of the message container.
 
void SetCapacity (unsigned sz)
 Change capacity of the container.
 
MsgClass & msg (unsigned indx)
 Returns message with specified index.
 
std::vector< MsgClass > * vect_ptr ()
 Returns pointer on vector with messages, used in the store.
 
virtual unsigned Multiplicity () const
 Returns subevent multiplicity

 
virtual void Clear ()
 Clear subevent - remove all messages.
 
virtual void Sort ()
 Do time sorting of messages.
 
- Public Member Functions inherited from base::SubEvent
 SubEvent ()
 default constructor
 
virtual ~SubEvent ()
 destructor
 

Protected Attributes

std::vector< MsgClass > fExtMessages
 vector of extended messages
 

Detailed Description

template<class MsgClass>
class base::SubEventEx< MsgClass >

Subevent with vector of extended messages.


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