CounterConsumerImpl

NAME
SYNOPSIS
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
Author

NAME

CounterConsumerImpl −

superclass, ACSComponent.

SYNOPSIS

#include <CounterConsumerImpl.h>

Inherits acscomponent::ACSComponentImpl.

Public Member Functions

CounterConsumerImpl (const ACE_CString &name, maci::ContainerServices *containerServices)

virtual ~CounterConsumerImpl ()

virtual void getBlocks ()

virtual CORBA::Long waitTillDone ()

Static Private Member Functions

static 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.

This is the CORBA stub client header for ACSErrTypeCommon.idl where the definition of the CORBA exception is found. The empty CORBA servant interface, POA_COUNTER::CounterConsumer, is obtained from this header file and is automatically generated from COUNTER’s Interface Definition File (i.e., contNcTest_IF.idl) by CORBA. 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:

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

static 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]

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.