TestLogLevelsComp

NAME
SYNOPSIS
Detailed Description
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
Author

NAME

TestLogLevelsComp −

SYNOPSIS

#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]

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:

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]

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.