Esempio n. 1
0
	WarnMsgInfo() {
		name_ = "Warn";
		id_ = WarnMsg_ID;
		size_ = WarnMsg_LENGTH;

		addToRegistry();
	}
Esempio n. 2
0
void Register(EventHandler* handler)
{
   assert(NULL != handler);

   if(!addToRegistry(handler)) {
      /* NOTE: In production code, this error should be delegated to the client instead. */
      error("No more registrations possible");
   }
}
Esempio n. 3
0
OpenSteer::PlugIn::PlugIn (void)
{
    // save this new instance in the registry
    addToRegistry ();
}
Esempio n. 4
0
 /* Implementation of the Reactor interface used for registrations.*/
 void Register(EventHandler* handler)
 {
    assert(NULL != handler);
    addToRegistry(handler);
 }