traceservices/tracefw/ulogger/src/uloggerserver/uloggerserver.h
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
equal deleted inserted replaced
23:26645d81f48d 24:cc28652e0254
    86 	void ReadBufferL(); //this is actually only called from inside the server, or by the test framework.
    86 	void ReadBufferL(); //this is actually only called from inside the server, or by the test framework.
    87 
    87 
    88 
    88 
    89 	//filters
    89 	//filters
    90 	TInt GetActiveFilters(RArray<TUint32>& aListBuffer,TInt aFilterType);
    90 	TInt GetActiveFilters(RArray<TUint32>& aListBuffer,TInt aFilterType);
    91 	TInt SetActiveFilterL(RArray<TUint32> aCategory, TInt aFilterType);
    91 	TInt SetActiveFilter(RArray<TUint32> aCategory, TInt aFilterType);
    92 	TInt RemoveActiveFilter(RArray<TUint32>& aValue, const TInt aFilterType);
    92 	TInt RemoveActiveFilter(RArray<TUint32>& aValue, const TInt aFilterType);
    93 	TInt SetSecondaryFiltering(const TDesC8& aEnabled);
    93 	TInt SetSecondaryFiltering(const TDesC8& aEnabled);
    94 	TInt GetSecondaryFiltering(TBool& aEnabled);
    94 	TInt GetSecondaryFiltering(TBool& aEnabled);
    95 
    95 
    96 	//plugins
    96 	//plugins
   100 	TInt SetActiveOutputPlugin(const TDesC8& aPluginname);
   100 	TInt SetActiveOutputPlugin(const TDesC8& aPluginname);
   101 	TInt GetInstalledOutputPlugins(RArray<TPtrC8>& aListBuffer);
   101 	TInt GetInstalledOutputPlugins(RArray<TPtrC8>& aListBuffer);
   102 	TInt DeActivateInputPlugin(const TDesC8& aPluginname);
   102 	TInt DeActivateInputPlugin(const TDesC8& aPluginname);
   103 	TInt GetActiveInputPlugin(RArray<TPtrC8>& aListBuffer);
   103 	TInt GetActiveInputPlugin(RArray<TPtrC8>& aListBuffer);
   104 	TInt SetActiveInputPlugin(const TDesC8& aPluginname);
   104 	TInt SetActiveInputPlugin(const TDesC8& aPluginname);
   105 	TInt GetInstalledInputPluginsL(RArray<TPtrC8>& aListBuffer);
   105 	TInt GetInstalledInputPlugins(RArray<TPtrC8>& aListBuffer);
   106 
   106 
   107 	//buffers
   107 	//buffers
   108 	TInt GetOptionsSettingsL(const TDesC8& aMedianame, RArray<TPtrC8>& aListBuffer);
   108 	TInt GetOptionsSettingsL(const TDesC8& aMedianame, RArray<TPtrC8>& aListBuffer);
   109 	TInt GetBufandDataNotifyValuesL(const TDesC8& aSetting,TInt& value);
   109 	TInt GetBufandDataNotifyValuesL(const TDesC8& aSetting,TInt& value);
   110 	TInt SetBufferMode(const TDesC8& aValue);
   110 	TInt SetBufferMode(const TDesC8& aValue);
   111 	TInt SetBufferSizeL(TInt aSize);
   111 	TInt SetBufferSize(TInt aSize);
   112 	TInt SetDataNotificationSizeL(TInt aSize);
   112 	TInt SetDataNotificationSize(TInt aSize);
   113 
   113 
   114 private:
   114 private:
   115 	//server related stuff
   115 	//server related stuff
   116 	CULoggerServer(TInt aPriority);
   116 	CULoggerServer(TInt aPriority);
   117 	void ConstructL();
   117 	void ConstructL();
   122 	void RequestCancel();
   122 	void RequestCancel();
   123 	//from CServer2
   123 	//from CServer2
   124 	CSession2* NewSessionL(const TVersion& aVersion,const RMessage2& aMessage) const;
   124 	CSession2* NewSessionL(const TVersion& aVersion,const RMessage2& aMessage) const;
   125 
   125 
   126 	//on boot things
   126 	//on boot things
   127 	TInt TraceSettingsOnBootL();
   127 	TInt TraceSettingsOnBoot();
   128 	TInt ResetBtracePrimaryFilters(RBTrace& aBTrace);
   128 	TInt ResetBtracePrimaryFilters(RBTrace& aBTrace);
   129 
   129 
   130 	//action related things
   130 	//action related things
   131 
   131 
   132 	//other configs
   132 	//other configs
   151 	void GetPluginAndSettingsL(TDes8& aPluginName, RPointerArray<TPluginConfiguration>* aSettings, TPluginFilter aPluginFilter);
   151 	void GetPluginAndSettingsL(TDes8& aPluginName, RPointerArray<TPluginConfiguration>* aSettings, TPluginFilter aPluginFilter);
   152 	void AsynchDataRequest();
   152 	void AsynchDataRequest();
   153 	
   153 	
   154 	//filter related stuff
   154 	//filter related stuff
   155 	ControlData* SetPrimaryFilters(RArray<TPtrC8> &aArguments);
   155 	ControlData* SetPrimaryFilters(RArray<TPtrC8> &aArguments);
   156 	TInt GetValuesL(const TDesC8& aSectionName, RArray<TPtrC8>& aListBuffer);
   156 	TInt GetValues(const TDesC8& aSectionName, RArray<TPtrC8>& aListBuffer);
   157 private:
   157 private:
   158 	//data
   158 	//data
   159 	TInt iRunAsService;
   159 	TInt iRunAsService;
   160 	TInt iSessionCounter;
   160 	TInt iSessionCounter;
   161 	
   161