Lumiera  0.pre.03
»edityourfreedom«
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
proc::control::test Namespace Reference

Namespaces

 command1
 
 command2
 
 command3
 

Typedefs

typedef lib::ScopedPtrVect
< CmdClosure > 
ArgTuples
 
typedef HandlingPattern const & HaPatt
 
typedef lib::P< CommandImplPCmdImpl
 
typedef shared_ptr< CommandImplPCommandImpl
 

Classes

class  ArgumentTupleAccept_test
 
class  CommandArgument_test
 
class  CommandBasic_test
 
class  CommandBinding_test
 
class  CommandCloneBuilder_test
 
class  CommandEquality_test
 
class  CommandInstanceManager_test
 
class  CommandMessageBinding_test
 
class  CommandMutation_test
 Verify the behaviour of the type erased closure, which is used by Proc-Layer commands to implement the capturing and later re-invocation of a function. More...
 
class  CommandQueue_test
 
class  CommandRegistry_test
 
class  CommandUse1_test
 
class  CommandUse2_test
 
class  CommandUse3_test
 
class  DispatcherLooper_test
 
class  HandlingPatternBasics_test
 
class  HandlingPatternStandardImpl_test
 
class  MementoTie_test
 
class  SessionCommandFunction_test
 

Functions

 COMMAND_DEFINITION (test_Dummy_command1)
 
 COMMAND_DEFINITION (test_Dummy_command2)
 
 COMMAND_DEFINITION (test_Dummy_command3)
 
 LAUNCHER (CommandUse3_test,"function controller")
 Register this test class... More...
 
 LAUNCHER (HandlingPatternStandardImpl_test,"function controller")
 Register this test class... More...
 
 LAUNCHER (CommandBinding_test,"function controller")
 Register this test class... More...
 
 LAUNCHER (ArgumentTupleAccept_test,"unit controller")
 Register this test class... More...
 
 LAUNCHER (CommandBasic_test,"unit controller")
 Register this test class... More...
 
 LAUNCHER (CommandMessageBinding_test,"unit controller")
 Register this test class... More...
 
 LAUNCHER (CommandQueue_test,"unit controller")
 Register this test class... More...
 
 LAUNCHER (CommandCloneBuilder_test,"function controller")
 Register this test class... More...
 
 LAUNCHER (MementoTie_test,"unit controller")
 Register this test class... More...
 
 LAUNCHER (CommandMutation_test,"unit controller")
 Register this test class... More...
 
 LAUNCHER (CommandRegistry_test,"function controller")
 Register this test class... More...
 
 LAUNCHER (HandlingPatternBasics_test,"function controller")
 Register this test class... More...
 
 LAUNCHER (CommandUse2_test,"function controller")
 Register this test class... More...
 
 LAUNCHER (CommandEquality_test,"function controller")
 Register this test class... More...
 
 LAUNCHER (CommandUse1_test,"function controller")
 Register this test class... More...
 
 LAUNCHER (CommandArgument_test,"unit controller")
 Register this test class... More...
 
 LAUNCHER (SessionCommandFunction_test,"function controller")
 Register this test class... More...
 
 LAUNCHER (CommandInstanceManager_test,"unit controller")
 Register this test class... More...
 
 LAUNCHER (DispatcherLooper_test,"unit controller")
 Register this test class... More...
 
template<typename TY >
bool protocolled (TY val2check)
 diagnostics: checks if the given value has been written to the test protocol (string stream) of command2 Explanation: command2 accepts a function, invokes it and writes the result to the protocol stream. More...
 

Variables

CommandSetup test_Dummy_command1
 test dummy command to add the argument to a global variable More...
 
CommandSetup test_Dummy_command2
 test dummy command to invoke the given functor and append the result onto a global log string buffer More...
 
CommandSetup test_Dummy_command3
 test dummy command to increment a global variable; no arguments More...
 

Typedef Documentation

typedef lib::ScopedPtrVect<CmdClosure> ArgTuples

Definition at line 196 of file command-argument-test.cpp.

Definition at line 47 of file command-clone-builder-test.cpp.

typedef HandlingPattern const& HaPatt

Definition at line 105 of file handling-pattern-basics-test.cpp.

Function Documentation

proc::control::test::LAUNCHER ( ArgumentTupleAccept_test  ,
"unit controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( CommandArgument_test  ,
"unit controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( CommandBasic_test  ,
"unit controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( CommandBinding_test  ,
"function controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( CommandCloneBuilder_test  ,
"function controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( CommandEquality_test  ,
"function controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( CommandInstanceManager_test  ,
"unit controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( CommandMessageBinding_test  ,
"unit controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( CommandMutation_test  ,
"unit controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( CommandQueue_test  ,
"unit controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( CommandRegistry_test  ,
"function controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( CommandUse1_test  ,
"function controller"   
)

Register this test class...

bool proc::control::test::protocolled ( TY  val2check)
inline

diagnostics: checks if the given value has been written to the test protocol (string stream) of command2 Explanation: command2 accepts a function, invokes it and writes the result to the protocol stream.

Definition at line 75 of file command-use2-test.cpp.

References proc::control::test::command2::check_, util::contains(), and util::toString().

Referenced by CommandUse2_test::check_defaultHandlingPattern(), and CommandUse2_test::check_ThrowOnError().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

proc::control::test::LAUNCHER ( CommandUse2_test  ,
"function controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( CommandUse3_test  ,
"function controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( DispatcherLooper_test  ,
"unit controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( HandlingPatternBasics_test  ,
"function controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( HandlingPatternStandardImpl_test  ,
"function controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( MementoTie_test  ,
"unit controller"   
)

Register this test class...

proc::control::test::LAUNCHER ( SessionCommandFunction_test  ,
"function controller"   
)

Register this test class...

proc::control::test::COMMAND_DEFINITION ( test_Dummy_command1  )
Remarks
The following definition(s) will be evaluated automatically ON_GLOBAL_INIT They result in "prototype" definitions of these dummy commands to be registered under the names as used here in the macro invocation. Thus test_Dummy_command1 will invoke command1::operate(int) etc.
See also
CommandSetup_test

Definition at line 66 of file test-dummy-commands.cpp.

References proc::control::test::command1::capture(), proc::control::test::command1::operate(), and proc::control::test::command1::undoIt().

+ Here is the call graph for this function:

proc::control::test::COMMAND_DEFINITION ( test_Dummy_command2  )

Definition at line 73 of file test-dummy-commands.cpp.

References proc::control::test::command2::capture(), proc::control::test::command2::operate(), and proc::control::test::command2::undoIt().

+ Here is the call graph for this function:

proc::control::test::COMMAND_DEFINITION ( test_Dummy_command3  )

Definition at line 80 of file test-dummy-commands.cpp.

References proc::control::test::command3::capture(), proc::control::test::command3::operate(), and proc::control::test::command3::undoIt().

+ Here is the call graph for this function:

Variable Documentation

CommandSetup test_Dummy_command1

test dummy command to add the argument to a global variable

CommandSetup test_Dummy_command2

test dummy command to invoke the given functor and append the result onto a global log string buffer

CommandSetup test_Dummy_command3

test dummy command to increment a global variable; no arguments