#include <acstestcompTimingExplorerImpl.h>
List of all members.
Detailed Description
Implementation class in CPP for the TimingExplorer IDL interface.
Constructor & Destructor Documentation
Constructor
- Parameters:
-
| containerServices | ContainerServices which are needed for various component related methods. |
| name | component name |
virtual TimingExplorerImpl::~TimingExplorerImpl |
( |
|
) |
[inline, virtual] |
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 |
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
This is a counter for how many times multipleReplies() has been called In this way we can keep track of each invocation.
The documentation for this class was generated from the following file: