Workspace 7.0.2
Classes | Namespaces | Macros
workspacetcpmessagefactory.h File Reference
#include <QHash>
#include <QtGlobal>
#include "Workspace/Application/LanguageUtils/errorchecks.h"
#include "Workspace/api_workspace.h"
#include "tcpmessagefactory.h"
Include dependency graph for workspacetcpmessagefactory.h:
This graph shows which files directly or indirectly include this file:

Classes

class  WorkspaceTcpMessageFactory
 The base class of all Scheduler-originated network messages. More...
 

Namespaces

namespace  CSIRO
 Top level namespace for all Workspace code.
 
namespace  CSIRO::DataExecution
 Base workspace functionality not requiring a user interface.
 

Macros

#define REGISTER_TCP_MESSAGE(MsgType, Factory, Id)
 

Macro Definition Documentation

◆ REGISTER_TCP_MESSAGE

#define REGISTER_TCP_MESSAGE (   MsgType,
  Factory,
  Id 
)
Value:
MsgType* createMessage##MsgType() { return new MsgType(); } \
extern bool result##MsgType; \
bool result##MsgType = Factory::registerMessage<MsgType>(Id, createMessage##MsgType, #MsgType)