HCore PlanInit_CCore

Files CCore/inc/PlanInit.h CCore/src/PlanInit_CCore.cpp

This is the target plan initalization node. The node tag is "CCore".


#include <CCore/inc/PlanInit.h>

#include <CCore/inc/PacketPool.h>
#include <CCore/inc/TaskMemStack.h>
#include <CCore/inc/ObjHost.h>
#include <CCore/inc/Job.h>
#include <CCore/inc/PerTask.h>

namespace CCore {

/* GetPlanInitNode_...() */ 

namespace Private_PlanInit {

struct Empty
 {
  static const char * GetTag() { return "CCore"; }
 };
 
PlanInitObject<Empty,PlanInitReq<GetPlanInitNode_PacketPool>
                    ,PlanInitReq<GetPlanInitNode_TaskMemStack>
                    ,PlanInitReq<GetPlanInitNode_ObjHost>
                    ,PlanInitReq<GetPlanInitNode_JobHost>
                    ,PlanInitReq<GetPlanInitNode_PerTask>
                    > Object CCORE_INITPRI_1 ;

} // namespace Private_PlanInit
 
using namespace Private_PlanInit; 
 
PlanInitNode * GetPlanInitNode_CCore() { return &Object; }
 
} // namespace CCore

In this example the required dependencies are included. A target may have additional ones.