template<class ServiceType, ThreadPriority Priority = PriorityNormal, Int32 StackSize = DefaultStackSize>
class ConceptRT::Service< ServiceType, Priority, StackSize >
Service helper class.
- Template Parameters
-
ServiceType | The interited class in order to identifiy the service category. |
Priority | The interited class in order to identifiy the service category. Default = PriorityNormal. |
StackSize | Size of the service controller thread service stack. Default = DefaultStackSize. |
Create a new catgory of service and instantiate its dedicated ServiceController.
Usage :
class MyService :
public Service<MyService, PriorityNormal>
{
public:
MyService()
{
}
virtual ~MyService()
{
}
protected:
{
...
}
};