Public Member Functions | Private Attributes

TestLogLevelsComp Class Reference

#include <contLogTestImpl.h>

Inheritance diagram for TestLogLevelsComp:
Inheritance graph
[legend]
Collaboration diagram for TestLogLevelsComp:
Collaboration graph
[legend]

List of all members.

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]

Detailed Description

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:
"@(#) $Id: contLogTestImpl.h,v 1.5 2008/10/07 09:18:09 cparedes Exp $"

Constructor & Destructor Documentation

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.
name component's name. All components have a name associated with them so other components and clients can access them.
virtual TestLogLevelsComp::~TestLogLevelsComp (  )  [virtual]

Destructor


Member Function Documentation

virtual ::contLogTest::LongSeq* TestLogLevelsComp::getLevels (  ) 

Implementation of IDL getLevels().

Exceptions:
ACSErrTypeCommon::CouldntPerformActionEx 

virtual void TestLogLevelsComp::logDummyMessages ( const ::contLogTest::LongSeq &  levels  )  [virtual]

Member Data Documentation

::contLogTest::LongSeq TestLogLevelsComp::levels[5] [private]

The documentation for this class was generated from the following file: