Public Member Functions | Protected Member Functions | Protected Attributes
IdsaAppender Class Reference

IdsaAppender is an Appender that sends LoggingEvents to the IDS/A logger and reference monitor by Marc Welz. More...

#include <IdsaAppender.hh>

Inheritance diagram for IdsaAppender:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual void close ()
 Calls idsa_close()
 IdsaAppender (const std::string &name, const std::string &idsaName)
 Instantiate an IdsaAppender with given name and name.
virtual bool reopen ()
 Calls idsa_open() and idsa_close()
virtual bool requiresLayout () const
 The IdsaAppender does its own Layout.
virtual void setLayout (Layout *layout)
 Set the Layout for this appender.
virtual ~IdsaAppender ()

Protected Member Functions

virtual void _append (const LoggingEvent &event)
 Sends a LoggingEvent to idsa.
virtual void open ()
 Calls idsa_open().

Protected Attributes

IDSA_CONNECTION * _idsaConnection
const std::string _idsaName

Detailed Description

IdsaAppender is an Appender that sends LoggingEvents to the IDS/A logger and reference monitor by Marc Welz.

See http://jade.cs.uct.ac.za/idsa/ for more information on IDS/A.

Definition at line 25 of file IdsaAppender.hh.


Constructor & Destructor Documentation

IdsaAppender::IdsaAppender ( const std::string &  name,
const std::string &  idsaName 
)

Instantiate an IdsaAppender with given name and name.

Unlike the syslog API, idsa allows multiple connections.

Parameters:
nameThe name of the Appender
idsaNameThe service parameter of idsa
virtual IdsaAppender::~IdsaAppender ( ) [virtual]

Member Function Documentation

virtual void IdsaAppender::_append ( const LoggingEvent event) [protected, virtual]

Sends a LoggingEvent to idsa.

Parameters:
eventthe LoggingEvent to log.

Implements AppenderSkeleton.

virtual void IdsaAppender::close ( ) [virtual]

Calls idsa_close()

Implements AppenderSkeleton.

virtual void IdsaAppender::open ( ) [protected, virtual]

Calls idsa_open().

virtual bool IdsaAppender::reopen ( ) [virtual]

Calls idsa_open() and idsa_close()

Reimplemented from AppenderSkeleton.

virtual bool IdsaAppender::requiresLayout ( ) const [virtual]

The IdsaAppender does its own Layout.

Returns:
false

Implements AppenderSkeleton.

virtual void IdsaAppender::setLayout ( Layout layout) [virtual]

Set the Layout for this appender.

Parameters:
layoutThe layout to use.

Implements AppenderSkeleton.


Member Data Documentation

IDSA_CONNECTION* IdsaAppender::_idsaConnection [protected]

Definition at line 70 of file IdsaAppender.hh.

const std::string IdsaAppender::_idsaName [protected]

Definition at line 68 of file IdsaAppender.hh.


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


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 18:42:48