2 #include "Room_Skeleton.hpp"
5 // External create, destroy, and init functions
6 extern "C" void* createRoom_Skeleton(void** params) {
7 // Arguments: Room *_mainObj, string _callbackAddress, int _port
8 return new Room_Skeleton((Room*) params[0], *((string*) params[1]), *((int*) params[2]));
12 extern "C" void destroyRoom_Skeleton(void* t) {
13 Room_Skeleton* rs = (Room_Skeleton*) t;
18 extern "C" void initRoom_Skeleton(void* t) {
19 // TODO: We actually need init() in LabRoom class
20 // But, this is declared here just for the sake of consistency for Sentinel
21 // In this case, we need the symbol "init" when loading object handlers with .so files
22 //Room_Skeleton* rs = (Room_Skeleton*) t;