[core]  [oils]  [libraries]  [C++ messages]  [coding guidelines] [up to overview ]

mkeyTest (in msg_demo)

Last updated:


Syntax

#include <msg/demo/mkeyTest.h>
mkeyTest (int id);


mkeyTest

A simple test message just used for tests and demonstrations. It is keyed with id id which means the only objects interested in that particular id will receive the message.


Example

Here is how you send a message:
try 
  { mkeyTest m(id);
    m.Send();
  }
catch(exception& ex)
  { cerr << "an error has occurred: " << ex.what() << endl;
    exit(1); 
  }


This file is part of Project Mnemonic.