#include <acssampImpl.h>
Inheritance diagram for ACSSampImpl:
Public Member Functions | |
ACSSampImpl (const ACE_CString &name, maci::ContainerServices *containerServices) | |
virtual | ~ACSSampImpl () |
virtual acssamp::SampObj_ptr | initSampObj (const char *name, const char *property, ACS::TimeInterval frequency, ACS::TimeInterval reportRate) |
virtual void | addComponenttoList (CORBA::Object_ptr component_ref) |
virtual void | removeComponentfromList (CORBA::Object_ptr component_ref) |
Private Attributes | |
std::list< CORBA::Object_ptr > | component_list |
ACE_Recursive_Thread_Mutex | m_samplingListMutex |
|
Constructor
|
|
Destructor |
|
Internal method used to add all newly created sampling objects to an internal list (containing a reference to the active objects). If objects are not correctly destroyed, this list is used by the destructor of the factory (this class) to clean-up everything in a consistent way.
|
|
initSampObj Initialize and returns a reference to the newly created sampling object.
* |
|
Internal method used to remove a sampling object from the internal list of the active (instantiated) objects. This method is called automatically, whenever a previously created object is destroyed.
|
|
component_list is an internal list of the active sampling objects. |
|
|