The Gaudi Framework  master (37c0b60a)
Gaudi::Examples::Collision Class Reference

#include </builds/gaudi/Gaudi/GaudiTestSuite/include/GaudiExamples/Collision.h>

Inheritance diagram for Gaudi::Examples::Collision:
Collaboration diagram for Gaudi::Examples::Collision:

Public Member Functions

 Collision ()=default
 Constructors. More...
 
 Collision (int num)
 
const CLIDclID () const override
 Retrieve reference to class definition structure. More...
 
void setCollision (int num)
 
int collision () const
 
StreamBufferserialize (StreamBuffer &s) const
 Serialize the object for writing. More...
 
StreamBufferserialize (StreamBuffer &s)
 Serialize the object for reading. More...
 
- Public Member Functions inherited from DataObject
 DataObject ()
 Standard Constructor. More...
 
 DataObject (const DataObject &rhs)
 Copy Constructor. More...
 
DataObjectoperator= (const DataObject &rhs)
 Assignment Operator. More...
 
 DataObject (DataObject &&rhs)
 Move Constructor. More...
 
DataObjectoperator= (DataObject &&rhs)
 Move Assignment Operator. More...
 
virtual ~DataObject ()
 Standard Destructor. More...
 
virtual unsigned long addRef ()
 Add reference to object. More...
 
virtual unsigned long release ()
 release reference to object More...
 
const std::stringname () const
 Retreive DataObject name. It is the name when registered in the store. More...
 
virtual StatusCode update ()
 Provide empty placeholder for internal object reconfiguration callback. More...
 
void setRegistry (IRegistry *pRegistry)
 Set pointer to Registry. More...
 
IRegistryregistry () const
 Get pointer to Registry. More...
 
LinkManagerlinkMgr ()
 Retrieve Link manager. More...
 
const LinkManagerlinkMgr () const
 
unsigned char version () const
 Retrieve version number of this object representation. More...
 
void setVersion (unsigned char vsn)
 Set version number of this object representation. More...
 
unsigned long refCount () const
 Return the refcount. More...
 
virtual std::ostreamfillStream (std::ostream &s) const
 Fill the output stream (ASCII) More...
 

Static Public Member Functions

static const CLIDclassID ()
 
- Static Public Member Functions inherited from DataObject
static const CLIDclassID ()
 Retrieve reference to class definition structure (static access) More...
 

Private Attributes

int m_collision { 0 }
 Collision number. More...
 

Detailed Description

Definition at line 28 of file Collision.h.

Constructor & Destructor Documentation

◆ Collision() [1/2]

Gaudi::Examples::Collision::Collision ( )
default

Constructors.

◆ Collision() [2/2]

Gaudi::Examples::Collision::Collision ( int  num)
inline

Definition at line 32 of file Collision.h.

32 : DataObject(), m_collision( num ) {}

Member Function Documentation

◆ classID()

static const CLID& Gaudi::Examples::Collision::classID ( )
inlinestatic

Definition at line 36 of file Collision.h.

36 { return CLID_Collision; }

◆ clID()

const CLID& Gaudi::Examples::Collision::clID ( ) const
inlineoverridevirtual

Retrieve reference to class definition structure.

Reimplemented from DataObject.

Definition at line 35 of file Collision.h.

35 { return classID(); }

◆ collision()

int Gaudi::Examples::Collision::collision ( ) const
inline

Definition at line 39 of file Collision.h.

39 { return m_collision; }

◆ serialize() [1/2]

StreamBuffer & Gaudi::Examples::Collision::serialize ( StreamBuffer s)
inline

Serialize the object for reading.

Definition at line 58 of file Collision.h.

58 { return s >> m_collision; }

◆ serialize() [2/2]

StreamBuffer & Gaudi::Examples::Collision::serialize ( StreamBuffer s) const
inline

Serialize the object for writing.

Definition at line 55 of file Collision.h.

55 { return s << m_collision; }

◆ setCollision()

void Gaudi::Examples::Collision::setCollision ( int  num)
inline

Definition at line 38 of file Collision.h.

38 { m_collision = num; }

Member Data Documentation

◆ m_collision

int Gaudi::Examples::Collision::m_collision { 0 }
private

Collision number.

Definition at line 50 of file Collision.h.


The documentation for this class was generated from the following file:
gaudirun.s
string s
Definition: gaudirun.py:346
Gaudi::Examples::Collision::classID
static const CLID & classID()
Definition: Collision.h:36
Gaudi::Examples::Collision::m_collision
int m_collision
Collision number.
Definition: Collision.h:50
DataObject::DataObject
DataObject()
Standard Constructor.
Definition: DataObject.cpp:23