src/ChronoChroma/ChronoChroma.cpp
int8_t ChronoChroma::callback_proc(ManuvrMsg* event) {
  /* Setup the default return code. If the event was marked as mem_managed, we return a DROP code.
     Otherwise, we will return a REAP code. Downstream of this assignment, we might choose differently. */
  int8_t return_value = (0 == event->refCount()) ? EVENT_CALLBACK_RETURN_REAP : EVENT_CALLBACK_RETURN_DROP;

  /* Some class-specific set of conditionals below this line. */
  switch (event->eventCode()) {
    default:
      break;
  }

  return return_value;
}
/**
* If we find ourselves in this fxn, it means an event that this class built (the argument)
*   has been serviced and we are now getting the chance to see the results. The argument
*   to this fxn will never be NULL.
*
* Depending on class implementations, we might choose to handle the completed Event differently. We
*   might add values to event's Argument chain and return RECYCLE. We may also free() the event
*   ourselves and return DROP. By default, we will return REAP to instruct the Kernel
*   to either free() the event or return it to it's preallocate queue, as appropriate. If the event
*   was crafted to not be in the heap in its own allocation, we will return DROP instead.
*
* @param  event  The event for which service has been completed.
* @return A callback return code.
*/
If we find ourselves in this fxn, it means an event that this class built (the argument)
has been serviced and we are now getting the chance to see the results. The argument
to this fxn will never be NULL.

Depending on class implementations, we might choose to handle the completed Event differently. We
might add values to event's Argument chain and return RECYCLE. We may also free() the event
ourselves and return DROP. By default, we will return REAP to instruct the Kernel
to either free() the event or return it to it's preallocate queue, as appropriate. If the event
was crafted to not be in the heap in its own allocation, we will return DROP instead.
If we find ourselves in this fxn it means an event that this class built ( the argument ) has been serviced and we are now getting the chance to see the results . The argument to this fxn will never be NULL . Depending on class implementations we might choose to handle the completed Event differently . We might add values to event ' s Argument chain and return RECYCLE . We may also free () the event ourselves and return DROP . By default we will return REAP to instruct the Kernel to either free () the event or return it to it ' s preallocate queue as appropriate . If the event was crafted to not be in the heap in its own allocation we will return DROP instead .
int8_t ChronoChroma::callback_proc(ManuvrMsg* event) {
  int8_t return_value = (0 == event->refCount()) ? EVENT_CALLBACK_RETURN_REAP : EVENT_CALLBACK_RETURN_DROP;
  switch (event->eventCode()) {
    default:
      break;
  }
  return return_value;
}
int8_t ChronoChroma :: callback_proc ( ManuvrMsg * event ) { int8_t return_value = ( 0 == event -> refCount ( ) ) ? EVENT_CALLBACK_RETURN_REAP : EVENT_CALLBACK_RETURN_DROP ; switch ( event -> eventCode ( ) ) { default : break ; } return return_value ; }
If we find ourselves in this fxn, it means an event that this class built (the argument)
has been serviced and we are now getting the chance to see the results.
If we find ourselves in this fxn it means an event that this class built ( the argument ) has been serviced and we are now getting the chance to see the results .
/* Setup the default return code. If the event was marked as mem_managed, we return a DROP code.
     Otherwise, we will return a REAP code. Downstream of this assignment, we might choose differently. */ /* Some class-specific set of conditionals below this line. */