TestLogLevelsComp − |
#include <contLogTestImpl.h> Inherits acscomponent::ACSComponentImpl. |
Public Member Functions |
TestLogLevelsComp (const ACE_CString &name, maci::ContainerServices *containerServices) |
virtual ~TestLogLevelsComp () |
virtual ::contLogTest::LongSeq * getLevels () |
virtual void logDummyMessages (const ::contLogTest::LongSeq &levels) |
Private Attributes |
::contLogTest::LongSeq levels [5] |
This example is unique because it is derived from CharacteristicComponent’s 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_contLogTest::TestLogLevelsComp, is obtained from this header file and is automatically generated from contLogTest’s Interface Definition File (i.e., contLogTest.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_contLogTest::TestLogLevelsComp which is a class automatically generated by CORBA from contLogTest’s IDL file. Version: |
TestLogLevelsComp::TestLogLevelsComp (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. |
virtual TestLogLevelsComp::~TestLogLevelsComp () [virtual] Destructor |
virtual ::contLogTest::LongSeq* TestLogLevelsComp::getLevels () Implementation of IDL getLevels(). |
Exceptions: |
ACSErrTypeCommon::CouldntPerformActionEx |
virtual void TestLogLevelsComp::logDummyMessages (const ::contLogTest::LongSeq & levels) [virtual] |
::contLogTest::LongSeq TestLogLevelsComp::levels[5] [private] |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |