Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

CounterConsumerImpl Class Reference

superclass, ACSComponent. More...

#include <CounterConsumerImpl.h>

Inheritance diagram for CounterConsumerImpl:

Inheritance graph
[legend]
Collaboration diagram for CounterConsumerImpl:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CounterConsumerImpl (const ACE_CString &name, maci::ContainerServices *containerServices)
virtual ~CounterConsumerImpl ()
virtual void getBlocks ()
virtual CORBA::Long waitTillDone ()

Static Private Member Functions

void counterDataHandler (COUNTER::statusBlockEvent s, void *p)

Private Attributes

int m_eventCount
bool contFlag
nc::SimpleConsumer< COUNTER::statusBlockEvent > * m_CounterConsumer_p

Detailed Description

superclass, ACSComponent.

All components should inherit from CharacteristicComponentImpl or it's superclass, ACSComponentImpl, to remain compatiable with ACS tools such as objexp (i.e., a GUI used to manipulate components). This class also derives from POA_COUNTER::CounterConsumer which is a class automatically generated by CORBA from COUNTER's IDL file.

Version:
"@(#) $Id: CounterConsumerImpl.h,v 1.3 2008/10/07 09:41:42 cparedes Exp $"


Constructor & Destructor Documentation

CounterConsumerImpl::CounterConsumerImpl const ACE_CString &  name,
maci::ContainerServices containerServices
 

Constructor

Parameters:
poa Poa which will activate this and also all other components. Developers need not be concerned with what a PortableServer does...just pass it to the superclass's constructor.
name component's name. All components have a name associated with them so other components and clients can access them.

virtual CounterConsumerImpl::~CounterConsumerImpl  )  [virtual]
 

Destructor


Member Function Documentation

void CounterConsumerImpl::counterDataHandler COUNTER::statusBlockEvent  s,
void *  p
[static, private]
 

virtual void CounterConsumerImpl::getBlocks  )  [virtual]
 

Implementation of IDL sendBlocks().

Exceptions:
ACSErrTypeCommon::CouldntPerformActionEx 

virtual CORBA::Long CounterConsumerImpl::waitTillDone  )  [virtual]
 


Member Data Documentation

bool CounterConsumerImpl::contFlag [private]
 

nc::SimpleConsumer<COUNTER::statusBlockEvent>* CounterConsumerImpl::m_CounterConsumer_p [private]
 

int CounterConsumerImpl::m_eventCount [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 02:36:14 2009 for ACS C++ API by doxygen 1.3.8