TimingExplorerImpl − |
#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 |
Implementation class in CPP for the TimingExplorer IDL interface. |
TimingExplorerImpl::TimingExplorerImpl (const ACE_CString & name, maci::ContainerServices * containerServices) Constructor |
Parameters: |
containerServices ContainerServices which are
needed for various component related methods. |
virtual TimingExplorerImpl::~TimingExplorerImpl () [inline, virtual] Destructor |
TimingExplorerImpl::TimingExplorerImpl (const TimingExplorerImpl &) [private] Copy constructor is not allowed following the ACS desgin rules. |
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. |
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 |
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. |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |