Library: UPnP/UPnPGen
Package: Generator
Header: Poco/UPnP/UPnPGen/ServiceCodeGen.h
The ServiceCodeGen generates a service class
Member Functions: eventName, generate
typedef Poco::AutoPtr < ServiceCodeGen > Ptr;
ServiceCodeGen(
Poco::CodeGeneration::CppGenerator & cppGen,
bool ospService
);
Creates the ServiceCodeGen.
~ServiceCodeGen();
Destroys the ServiceCodeGen.
static std::string eventName(
const StateVariable & var
);
Creates an eventname for a var that has eventing enabled
void generate(
const Service & service,
const std::string & className,
const Poco::UPnP::URN & serviceType
);