TimingExplorerImpl

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

NAME

TimingExplorerImpl −

SYNOPSIS

#include <acstestcompTimingExplorerImpl.h>

Inherits acscomponent::ACSComponentImpl.

Public Member Functions

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

virtual ~TimingExplorerImpl ()

virtual void initialize (void)

virtual void waitToReply (CORBA::Long waitTimeSec)

virtual void multipleReplies (CORBA::Long repetitions, CORBA::Long waitTimeSec, ACS::CBvoid_ptr cb, const ACS::CBDescIn &desc)

Private Member Functions

TimingExplorerImpl (const TimingExplorerImpl &)

void operator= (const TimingExplorerImpl &)

Private Attributes

int multipleRepliesCounter_m

Detailed Description

Implementation class in CPP for the TimingExplorer IDL interface.

Constructor & Destructor Documentation

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

Parameters:

containerServices ContainerServices which are needed for various component related methods.
name
component name

virtual TimingExplorerImpl::~TimingExplorerImpl () [inline, virtual] Destructor

TimingExplorerImpl::TimingExplorerImpl (const TimingExplorerImpl &) [private] Copy constructor is not allowed following the ACS desgin rules.

Member Function Documentation

virtual void TimingExplorerImpl::initialize (void) [virtual] Lifecycle method called at component initialization state. What is peculiar of this implementation is that it checks if the name of the component is ’HangOnInit’. In this case it hangs forever.

Exceptions:

acsErrTypeLifeCycle::acsErrTypeLifeCycleExImpl This is used to make tests on initialisation problems.

Reimplemented from acscomponent::ACSComponentImpl.

virtual void TimingExplorerImpl::multipleReplies (CORBA::Long repetitions, CORBA::Long waitTimeSec, ACS::CBvoid_ptr cb, const ACS::CBDescIn & desc) [virtual] Sends a number over replies evenly distributed in time.

Parameters:

repetitions number of replies to send 0 means reply forever.
waitTimeSec
time to wait before sending a reply. Units are seconds. 0 means never reply.
cb
Callback object for the replies
desc
Input parameters sent by the caller

void TimingExplorerImpl::operator= (const TimingExplorerImpl &) [private] Assignment operator is not allowed due to ACS design rules.

virtual void TimingExplorerImpl::waitToReply (CORBA::Long waitTimeSec) [virtual] This method waits for the given number of seconds, then sends a reply

Parameters:

waitTimeSec time to wait in seconds before sending reply

Member Data Documentation

int TimingExplorerImpl::multipleRepliesCounter_m [private] This is a counter for how many times multipleReplies() has been called In this way we can keep track of each invocation.

Author

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