faudes::AttributeSimplenetInput Class Reference

Configuration of a network input mapping. More...

#include <iop_simplenet.h>

List of all members.

Public Member Functions

 AttributeSimplenetInput (void)
 Default constructor (no triggers).
virtual bool IsDefault (void) const
 Test for default value (always, since we have no data).
virtual void Clear (void)
 Clear to default.

Protected Member Functions

virtual void DoAssign (const AttributeSimplenetInput &rSrcAttr)
 Copy method.
virtual void DoRead (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0)
 Reads the attribute from TokenReader, see AttributeVoid for public wrappers.
virtual void DoWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const
 Writes the attribute to TokenWriter, see AttributeVoid for public wrappers.

Detailed Description

Configuration of a network input mapping.

There is nothing to configure here: any server that provides the repective event will be accepted. Future versions of libFAUDES may specify a set of servers here.

Definition at line 173 of file iop_simplenet.h.


Constructor & Destructor Documentation

faudes::AttributeSimplenetInput::AttributeSimplenetInput ( void   )  [inline]

Default constructor (no triggers).

Definition at line 180 of file iop_simplenet.h.


Member Function Documentation

virtual void faudes::AttributeSimplenetInput::Clear ( void   )  [inline, virtual]

Clear to default.

Reimplemented from faudes::AttributeVoid.

Definition at line 186 of file iop_simplenet.h.

virtual void faudes::AttributeSimplenetInput::DoAssign ( const AttributeSimplenetInput rSrcAttr  )  [inline, protected, virtual]

Copy method.

Parameters:
rSrcAttr Source to copy from
Returns:
Ref to this attribute

Definition at line 197 of file iop_simplenet.h.

void faudes::AttributeSimplenetInput::DoRead ( TokenReader rTr,
const std::string &  rLabel = "",
const Type pContext = 0 
) [protected, virtual]

Reads the attribute from TokenReader, see AttributeVoid for public wrappers.

If the current token indicates a input mapping, the method reads that section. Else it does nothing. Exceptions may only be thrown on invalid data within the section. The label argument is ignored, we the hardcoded section "Input" for input device attributes. The context argument is ignored.

Parameters:
rTr TokenReader to read from
rLabel Section to read
pContext Read context to provide contextual information
Exceptions:
Exception 
  • IO error (id 1)

Reimplemented from faudes::AttributeVoid.

Definition at line 166 of file iop_simplenet.cpp.

void faudes::AttributeSimplenetInput::DoWrite ( TokenWriter rTw,
const std::string &  rLabel = "",
const Type pContext = 0 
) const [protected, virtual]

Writes the attribute to TokenWriter, see AttributeVoid for public wrappers.

Writes the input mapping data.The label argument is ignored, we use the hardcoded section "Input". The context argument is ignored.

Parameters:
rTw TokenWriter to write to
rLabel Section to write
pContext Read context to provide contextual information
Exceptions:
Exception 
  • IO error (id 2)

Reimplemented from faudes::AttributeVoid.

Definition at line 160 of file iop_simplenet.cpp.

virtual bool faudes::AttributeSimplenetInput::IsDefault ( void   )  const [inline, virtual]

Test for default value (always, since we have no data).

Reimplemented from faudes::AttributeVoid.

Definition at line 183 of file iop_simplenet.h.


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

libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen