Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

Foo Class Reference

A sample Foo device. More...

#include <Foo.h>

Inheritance diagram for Foo:

Inheritance graph
[legend]
List of all members.

Public Methods

 Foo ()
 constructor A more detailed description of the constructur and its peculiarities. More...

 Foo (const Foo &)
 constructor with param A more detailed description of this constructor and why it differs from the previous one. More...

 ~Foo ()
 destructor, a simple one. More...

Foo& operator= (const Foo &)
 Overload assignment. More...

int getCount () const
 A get function. More...

void setCount (const int _newValue)
 A set function the peculiarity of this function. More...

const BargetBar (const Intermediate &c) const
 a public member function showing links to argument and type classes. More...


Protected Attributes

double doubleCount
 a protected member variable. More...


Private Attributes

int m_currentCount
 private members only show up if your doxygen configuration file is set up accordingly. More...


Detailed Description

A sample Foo device.

A Foo object doesn't do much here, but hold a count to get & set. It is used by FooInstantitor to blah, blah.

 
 // Construct a foo object 
    Foo myFoo; 
    myFoo.setCount(0); 
    int fooCount = myFoo.getCount(); 
 

See also:
Bar


Constructor & Destructor Documentation

Foo::Foo ( )
 

constructor A more detailed description of the constructur and its peculiarities.

Foo::Foo ( const Foo & )
 

constructor with param A more detailed description of this constructor and why it differs from the previous one.

Foo::~Foo ( )
 

destructor, a simple one.


Member Function Documentation

const Bar & Foo::getBar ( const Intermediate & c ) const
 

a public member function showing links to argument and type classes.

int Foo::getCount ( ) const
 

A get function.

Foo & Foo::operator= ( const Foo & )
 

Overload assignment.

void Foo::setCount ( const int _newValue )
 

A set function the peculiarity of this function.

Parameters:
new   value the counter should be reset to


Member Data Documentation

double Foo::doubleCount [protected]
 

a protected member variable.

int Foo::m_currentCount [private]
 

private members only show up if your doxygen configuration file is set up accordingly.


The documentation for this class was generated from the following file: ALMA Foo class Reference, 10 Aug 2001, generate with doxygen 1.2.8.1, for alma
ALMA Computing Group, ALMA homepage