15 layoutName_prop(
"LayoutName",
"Layout name (e.g. 'simple', 'pattern')"),
16 layoutPattern_prop(
"LayoutPattern",
"Layout conversion pattern (for those layouts that use a pattern)"),
37 (!layoutName.empty()))
40 if (0 == layoutName.compare(
"basic"))
44 else if (0 == layoutName.compare(
"simple"))
48 else if (0 == layoutName.compare(
"pattern"))
60 <<
"' in configuration for category: " 128 again = (0 == n) || (count < n);
log4cpp::Appender * appender
Appender created by derived class.
OCL::logging::LoggingEvent event
virtual void doAppend(const LoggingEvent &event)=0
RTT::Property< std::string > layoutName_prop
Layout name (e.g. "simple", "basic", "pattern")
RTT::Property< std::string > layoutPattern_prop
Layout conversion pattern (for those layouts that use a pattern)
const_reference_t rvalue() const
Appender(std::string name)
RTT::InputPort< OCL::logging::LoggingEvent > log_port
virtual bool startHook()
ensure port is connected before we start
virtual void setConversionPattern(const std::string &conversionPattern)
base::InputPortInterface & addEventPort(const std::string &name, base::InputPortInterface &port, SlotFunction callback=SlotFunction())
virtual bool configureLayout()
DataFlowInterface * ports()
Property< T > & addProperty(const std::string &name, T &attr)
unsigned int countMaxPopped
virtual void processEvents(int n)
PropertyBag * properties()
ORO_LIST_COMPONENT_TYPE(OCL::logging::GenerationalFileAppender)
virtual void stopHook()
Drain the buffer.
log4cpp::LoggingEvent toLog4cpp()
virtual void setLayout(Layout *layout)=0
static Logger::LogFunction endlog()
virtual void drainBuffer()
virtual const std::string & getName() const